svn commit: r407656 - head/games/starlanes
John Marino
marino at FreeBSD.org
Sun Jan 31 17:44:07 UTC 2016
Author: marino
Date: Sun Jan 31 17:44:06 2016
New Revision: 407656
URL: https://svnweb.freebsd.org/changeset/ports/407656
Log:
games/starlanes: USES+=ncurses, respect LDFLAGS and MAKE_ENV
Also link to libncurse rather than libcurses
Modified:
head/games/starlanes/Makefile
Modified: head/games/starlanes/Makefile
==============================================================================
--- head/games/starlanes/Makefile Sun Jan 31 17:39:31 2016 (r407655)
+++ head/games/starlanes/Makefile Sun Jan 31 17:44:06 2016 (r407656)
@@ -9,6 +9,7 @@ MASTER_SITES= SUNSITE/games/strategy
MAINTAINER= ports at FreeBSD.org
COMMENT= Classic space-age stock trading game
+USES= ncurses
PLIST_FILES= bin/starlanes man/man6/starlanes.6.gz
post-patch:
@@ -17,8 +18,8 @@ post-patch:
s|(restrict|(m_restrict|' ${WRKSRC}/starlanes.c
do-build:
- (cd ${WRKSRC} \
- && ${CC} ${CFLAGS} -o starlanes starlanes.c -lcurses)
+ (cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \
+ ${CC} ${CFLAGS} -o starlanes starlanes.c ${LDFLAGS} -lncurses)
do-install:
(cd ${WRKSRC} && ${INSTALL_PROGRAM} starlanes ${STAGEDIR}${PREFIX}/bin)
More information about the svn-ports-all
mailing list