From owner-svn-ports-all@freebsd.org Sun Jan 31 09:25:35 2016 Return-Path: Delivered-To: svn-ports-all@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 26ABDA74B07; Sun, 31 Jan 2016 09:25:35 +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 DC27E3E3; Sun, 31 Jan 2016 09:25:34 +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 u0V9PX4I089340; Sun, 31 Jan 2016 09:25:33 GMT (envelope-from marino@FreeBSD.org) Received: (from marino@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u0V9PXeZ089338; Sun, 31 Jan 2016 09:25:33 GMT (envelope-from marino@FreeBSD.org) Message-Id: <201601310925.u0V9PXeZ089338@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 09:25:33 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r407597 - in head/games/nethack34: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 31 Jan 2016 09:25:35 -0000 Author: marino Date: Sun Jan 31 09:25:33 2016 New Revision: 407597 URL: https://svnweb.freebsd.org/changeset/ports/407597 Log: x11/xterm: document ncurses requirement (USES+=ncurses), plus ... In addition to adding USES+= ncurses: * specify libncurses instead of ancient libtermcap (which is symlinked to libncurses anyway on FreeBSD base) * Bring in USES+= alias from dports while here approved by: infrastructure blanket Modified: head/games/nethack34/Makefile head/games/nethack34/files/patch-sys-unix-Makefile.src Modified: head/games/nethack34/Makefile ============================================================================== --- head/games/nethack34/Makefile Sun Jan 31 09:13:19 2016 (r407596) +++ head/games/nethack34/Makefile Sun Jan 31 09:25:33 2016 (r407597) @@ -18,7 +18,7 @@ LICENSE_PERMS= dist-mirror dist-sell pkg WRKSRC= ${WRKDIR}/${TRUEPORTNAME}-${PORTVERSION} -USES= gmake tar:tgz +USES= alias gmake ncurses tar:tgz MAKE_ENV= GRAPHICS="${GRAPHICS}" PLIST_SUB= HACKNAME="${HACKNAME}" \ HACKEXT="${HACKEXT}" Modified: head/games/nethack34/files/patch-sys-unix-Makefile.src ============================================================================== --- head/games/nethack34/files/patch-sys-unix-Makefile.src Sun Jan 31 09:13:19 2016 (r407596) +++ head/games/nethack34/files/patch-sys-unix-Makefile.src Sun Jan 31 09:25:33 2016 (r407597) @@ -1,6 +1,6 @@ ---- sys/unix/Makefile.src.orig 2003-12-07 15:39:13.000000000 -0800 -+++ sys/unix/Makefile.src 2015-12-27 14:18:55.720804000 -0800 -@@ -146,19 +146,29 @@ +--- sys/unix/Makefile.src.orig 2003-12-07 23:39:13 UTC ++++ sys/unix/Makefile.src +@@ -146,19 +146,29 @@ SYSOBJ = ioctl.o unixmain.o unixtty.o un # directories. The ones given below is the usual spot for linux systems. # The paths are for glibconfig.h and gnomesupport.h respectively. # @@ -34,7 +34,7 @@ #LINK=g++ # For cross-compiling, eg. with gcc on Linux (see also CC further up): #CXX=arm-linux-g++ -@@ -215,7 +225,26 @@ +@@ -215,7 +225,26 @@ WINBEOBJ = # # WINSRC = $(WINTTYSRC) @@ -61,7 +61,12 @@ # on some systems the termcap library is in -ltermcap or -lcurses # on 386 Xenix, the -ltermlib tputs() seems not to work; use -lcurses instead -@@ -235,19 +264,19 @@ +@@ -231,23 +260,23 @@ WINOBJ = $(WINTTYOBJ) + # WINTTYLIB = -lcurses + # WINTTYLIB = -lcurses16 + # WINTTYLIB = -lncurses +-WINTTYLIB = -ltermlib ++WINTTYLIB = -lncurses # # libraries for X11 # If USE_XPM is defined in config.h, you will also need -lXpm here. @@ -84,7 +89,7 @@ # # libraries for Gem port WINGEMLIB = -le_gem -lgem -@@ -256,6 +285,15 @@ +@@ -256,6 +285,15 @@ WINGEMLIB = -le_gem -lgem WINBELIB = -lbe WINLIB = $(WINTTYLIB) @@ -100,7 +105,7 @@ # any other strange libraries your system needs (for Sysunix only -- the more # specialized targets should already be right) -@@ -285,7 +323,7 @@ +@@ -285,7 +323,7 @@ WINLIB = $(WINTTYLIB) LIBS = # make NetHack @@ -109,7 +114,7 @@ # GAME = nethack.prg # if you defined RANDOM in unixconf.h/tosconf.h since your system did not come -@@ -461,13 +499,13 @@ +@@ -461,13 +499,13 @@ objects.o: # Qt windowport meta-object-compiler output qt_kde0.moc: ../include/qt_kde0.h