games/pmars: USES+= ncurses, respect LDFLAGS
Also link with libncurses rather than libcurses.
This commit is contained in:
parent
c9832f80da
commit
4979584876
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=407655
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user