diff options
author | marino <marino@FreeBSD.org> | 2016-01-31 17:39:31 +0000 |
---|---|---|
committer | marino <marino@FreeBSD.org> | 2016-01-31 17:39:31 +0000 |
commit | e97b3e1ab0ae62cf1baa04084595ae7e87a84fa0 (patch) | |
tree | b7e16e331586f59f4e8e90fdcdd4942833f3d07e | |
parent | 2e7966c262e7bfb46b1e076201dc1f31ca41c415 (diff) | |
download | FreeBSD-ports-e97b3e1ab0ae62cf1baa04084595ae7e87a84fa0.zip FreeBSD-ports-e97b3e1ab0ae62cf1baa04084595ae7e87a84fa0.tar.gz |
games/pmars: USES+= ncurses, respect LDFLAGS
Also link with libncurses rather than libcurses.
-rw-r--r-- | games/pmars/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/games/pmars/Makefile b/games/pmars/Makefile index 3a585d4..8f05921 100644 --- a/games/pmars/Makefile +++ b/games/pmars/Makefile @@ -24,6 +24,7 @@ ICWS94_DESC= Enable ICWS'94 support PERMUTATE_DESC= Enable the -P switch SERVER_DESC= Build the command-line interface SMALLMEM_DESC= Use 16-bit addresses (smaller) +CURSES_USES= ncurses OPTIONS_SUB= yes @@ -40,7 +41,7 @@ SMALLMEM_MAKE_ARGS= CFLAGS+="-DSMALLMEM" .if ${PORT_OPTIONS:MCURSES} TARGETS+= curses CURSES_ARGS+= CFLAGS+="-DGRAPHX" \ - LIB+="-lcurses" + LIB+="${LDFLAGS} -lncurses" .endif .if ${PORT_OPTIONS:MSERVER} |