svn commit: r408071 - head/games/alienwave

John Marino marino at FreeBSD.org
Thu Feb 4 18:39:30 UTC 2016


Author: marino
Date: Thu Feb  4 18:39:28 2016
New Revision: 408071
URL: https://svnweb.freebsd.org/changeset/ports/408071

Log:
  games/alienware: document ncurses rqmt (USES+=ncurses), respect LDFLAGS
  
  Previously somebody patched this to linked with libcurses over libncurses,
  so reverse that.

Modified:
  head/games/alienwave/Makefile

Modified: head/games/alienwave/Makefile
==============================================================================
--- head/games/alienwave/Makefile	Thu Feb  4 18:38:29 2016	(r408070)
+++ head/games/alienwave/Makefile	Thu Feb  4 18:39:28 2016	(r408071)
@@ -20,10 +20,10 @@ LEVEL_EASY_DESC=	Killing Xzarna: easy
 LEVEL_MEDIUM_DESC=	Killing Xzarna: medium
 LEVEL_HARD_DESC=	Killing Xzarna: hard
 
+USES=		ncurses
+MAKE_ARGS=	LIB="${LDFLAGS} -lncurses"
 WRKSRC=		${WRKDIR}/${PORTNAME}
-
 ALL_TARGET=	${PORTNAME}
-
 PORTDOCS=	README STORY TO_DO
 PLIST_FILES=	bin/alienwave
 
@@ -35,7 +35,6 @@ post-patch:
 	@${REINPLACE_CMD} -e \
 		'/^CC /s|^|#| ; \
 		 /^CFLAGS /s|^|#| ; \
-		 s|-lncurses|-lcurses| ; \
 		 /strip /s|^|#|' ${WRKSRC}/Makefile
 
 do-install:


More information about the svn-ports-all mailing list