From owner-svn-ports-head@freebsd.org Sun Jan 31 17:39:32 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A1387A74E93; Sun, 31 Jan 2016 17:39:32 +0000 (UTC) (envelope-from marino@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 74BD5B5C; Sun, 31 Jan 2016 17:39:32 +0000 (UTC) (envelope-from marino@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u0VHdVEj037056; Sun, 31 Jan 2016 17:39:31 GMT (envelope-from marino@FreeBSD.org) Received: (from marino@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u0VHdVWq037055; Sun, 31 Jan 2016 17:39:31 GMT (envelope-from marino@FreeBSD.org) Message-Id: <201601311739.u0VHdVWq037055@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: marino set sender to marino@FreeBSD.org using -f From: John Marino Date: Sun, 31 Jan 2016 17:39:31 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r407655 - head/games/pmars X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 31 Jan 2016 17:39:32 -0000 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}