svn commit: r407653 - head/games/nsnake

John Marino marino at FreeBSD.org
Sun Jan 31 17:19:11 UTC 2016


Author: marino
Date: Sun Jan 31 17:19:09 2016
New Revision: 407653
URL: https://svnweb.freebsd.org/changeset/ports/407653

Log:
  games/nsnake: document ncurses rqmt (USES+=ncurses), respect LDFLAGS
  
  approved by:	infrastructure blanket

Modified:
  head/games/nsnake/Makefile

Modified: head/games/nsnake/Makefile
==============================================================================
--- head/games/nsnake/Makefile	Sun Jan 31 17:11:47 2016	(r407652)
+++ head/games/nsnake/Makefile	Sun Jan 31 17:19:09 2016	(r407653)
@@ -12,13 +12,14 @@ COMMENT=	Snake game written in C and ncu
 
 LICENSE=	MIT
 
-USES=		tar:tgz
+USES=		ncurses tar:tgz
 
 OPTIONS_DEFINE=	DOCS
 OPTIONS_SUB=	yes
 
 do-build:
-	(cd ${WRKSRC} && ${CC} ${CFLAGS} -o ${PORTNAME} ${PORTNAME}.c -lcurses)
+	(cd ${WRKSRC} && ${CC} ${CFLAGS} -o ${PORTNAME} ${PORTNAME}.c \
+		${LDFLAGS} -lncurses)
 
 do-install:
 	(cd ${WRKSRC} \


More information about the svn-ports-head mailing list