svn commit: r408107 - head/games/npush

John Marino marino at FreeBSD.org
Thu Feb 4 21:52:09 UTC 2016


Author: marino
Date: Thu Feb  4 21:52:07 2016
New Revision: 408107
URL: https://svnweb.freebsd.org/changeset/ports/408107

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

Modified:
  head/games/npush/Makefile

Modified: head/games/npush/Makefile
==============================================================================
--- head/games/npush/Makefile	Thu Feb  4 21:51:07 2016	(r408106)
+++ head/games/npush/Makefile	Thu Feb  4 21:52:07 2016	(r408107)
@@ -10,6 +10,7 @@ EXTRACT_SUFX=	.tgz
 MAINTAINER=	amdmi3 at FreeBSD.org
 COMMENT=	Curses-based logic game similar to Sokoban and Boulder Dash
 
+USES=		ncurses
 PORTDOCS=	*
 PORTDATA=	*
 
@@ -20,7 +21,8 @@ post-patch:
 		${WRKSRC}/npush.cpp
 
 do-build:
-	cd ${WRKSRC} && ${CXX} ${CXXFLAGS} -o npush npush.cpp -lncurses
+	cd ${WRKSRC} && \
+		${CXX} ${CXXFLAGS} -o npush npush.cpp ${LDFLAGS} -lncurses
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/npush ${STAGEDIR}${PREFIX}/bin


More information about the svn-ports-all mailing list