svn commit: r424481 - in head/games/nethack36: . files

John Marino marino at FreeBSD.org
Sat Oct 22 18:42:33 UTC 2016


Author: marino
Date: Sat Oct 22 18:42:31 2016
New Revision: 424481
URL: https://svnweb.freebsd.org/changeset/ports/424481

Log:
  games/nethack36(-nox): Document ncurses requirement
  
  Also link directly to libncurses rather than its symlink.  While here,
  allow build on DF with USES=alias.
  
  Approved by:	ncurses blanket

Modified:
  head/games/nethack36/Makefile
  head/games/nethack36/files/patch-sys-unix-Makefile.src

Modified: head/games/nethack36/Makefile
==============================================================================
--- head/games/nethack36/Makefile	Sat Oct 22 17:45:09 2016	(r424480)
+++ head/games/nethack36/Makefile	Sat Oct 22 18:42:31 2016	(r424481)
@@ -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/nethack36/files/patch-sys-unix-Makefile.src
==============================================================================
--- head/games/nethack36/files/patch-sys-unix-Makefile.src	Sat Oct 22 17:45:09 2016	(r424480)
+++ head/games/nethack36/files/patch-sys-unix-Makefile.src	Sat Oct 22 18:42:31 2016	(r424481)
@@ -61,7 +61,7 @@
  # WINTTYLIB = -lcurses16
  # WINTTYLIB = -lncurses
 -#WINTTYLIB = -ltermlib
-+WINTTYLIB = -ltermlib
++WINTTYLIB = -lncurses -L${LOCALBASE}/lib
  #
  # libraries for X11
  # If USE_XPM is defined in config.h, you will also need -lXpm here.


More information about the svn-ports-head mailing list