Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Oct 2016 18:42: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: r424481 - in head/games/nethack36: . files
Message-ID:  <201610221842.u9MIgVbR064041@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201610221842.u9MIgVbR064041>