Date: Sun, 31 Jan 2016 17:39:31 +0000 (UTC) From: John Marino <marino@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r407655 - head/games/pmars Message-ID: <201601311739.u0VHdVWq037055@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201601311739.u0VHdVWq037055>