diff options
author | marino <marino@FreeBSD.org> | 2016-02-01 01:44:06 +0800 |
---|---|---|
committer | marino <marino@FreeBSD.org> | 2016-02-01 01:44:06 +0800 |
commit | 7d73c177d0b3db83d2ea0ea6d7f90963d24e36e9 (patch) | |
tree | 2ce335944645437af2be8b940a7bdd2e8fdd7de7 /games | |
parent | e97b3e1ab0ae62cf1baa04084595ae7e87a84fa0 (diff) | |
download | freebsd-ports-gnome-7d73c177d0b3db83d2ea0ea6d7f90963d24e36e9.tar.gz freebsd-ports-gnome-7d73c177d0b3db83d2ea0ea6d7f90963d24e36e9.tar.zst freebsd-ports-gnome-7d73c177d0b3db83d2ea0ea6d7f90963d24e36e9.zip |
games/starlanes: USES+=ncurses, respect LDFLAGS and MAKE_ENV
Also link to libncurse rather than libcurses
Diffstat (limited to 'games')
-rw-r--r-- | games/starlanes/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/games/starlanes/Makefile b/games/starlanes/Makefile index 86cfc9b47743..83d683386387 100644 --- a/games/starlanes/Makefile +++ b/games/starlanes/Makefile @@ -9,6 +9,7 @@ MASTER_SITES= SUNSITE/games/strategy MAINTAINER= ports@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) |