svn commit: r407655 - head/games/pmars
John Marino
marino at FreeBSD.org
Sun Jan 31 17:39:32 UTC 2016
Author: marino
Date: Sun Jan 31 17:39:31 2016
New Revision: 407655
URL: https://svnweb.freebsd.org/changeset/ports/407655
Log:
games/pmars: USES+= ncurses, respect LDFLAGS
Also link with libncurses rather than libcurses.
Modified:
head/games/pmars/Makefile
Modified: head/games/pmars/Makefile
==============================================================================
--- head/games/pmars/Makefile Sun Jan 31 17:30:25 2016 (r407654)
+++ head/games/pmars/Makefile Sun Jan 31 17:39:31 2016 (r407655)
@@ -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}
More information about the svn-ports-head
mailing list