aboutsummaryrefslogtreecommitdiff
path: root/games/mangband
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2011-04-11 08:34:17 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2011-04-11 08:34:17 +0000
commit8d27ddb9bd993385ce5d7a9b17e2fe231ec8c69f (patch)
tree82565381028ebd8b5a674bafdecce3a45c5c2e6d /games/mangband
parent0a59b351f616abe849539bc2afbc8eba4abe8004 (diff)
downloadports-8d27ddb9bd993385ce5d7a9b17e2fe231ec8c69f.tar.gz
ports-8d27ddb9bd993385ce5d7a9b17e2fe231ec8c69f.zip
Add a new macro to deal with conflict between ncurses from base and ncurses from ports.
If a ports is linked against ncurses from base or from the ports, it should then add: USE_NCURSES=yes it is also possible to specify the hard dependency on the ports ncurses or one the base one adding the following macros: WITH_NCURSES_PORT=yes or WITH_NCURSES_BASE=yes PR: ports/155269 Submitted by: me Reviwed by: pav@ Approved by: portmgr (pav@) Exp-run by: portmgr (pav@)
Notes
Notes: svn path=/head/; revision=272515
Diffstat (limited to 'games/mangband')
-rw-r--r--games/mangband/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/games/mangband/Makefile b/games/mangband/Makefile
index 5cf0d1269c3c..e43ac7ea8e78 100644
--- a/games/mangband/Makefile
+++ b/games/mangband/Makefile
@@ -17,6 +17,7 @@ ALL_TARGET= mangclient mangband
WRKSRC= ${WRKDIR}/${DISTNAME}/src
GNU_CONFIGURE= yes
USE_GMAKE= yes
+USE_NCURSES= yes
MAKE_ARGS= "DATADIR=${DATADIR}"
@@ -27,7 +28,6 @@ OPTIONS= GCU "Display module GCU" On \
.include <bsd.port.pre.mk>
.if defined(WITH_GCU)
-#LIB_DEPENDS+= ncurses:${PORTSDIR}/devel/ncurses
CONFIGURE_ARGS+= --with-gcu
.else
CONFIGURE_ARGS+= --without-gcu