diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2011-04-11 08:34:17 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2011-04-11 08:34:17 +0000 |
commit | 8d27ddb9bd993385ce5d7a9b17e2fe231ec8c69f (patch) | |
tree | 82565381028ebd8b5a674bafdecce3a45c5c2e6d /net-im/tmsnc | |
parent | - Update to 5.24.0 (diff) |
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 'net-im/tmsnc')
-rw-r--r-- | net-im/tmsnc/Makefile | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/net-im/tmsnc/Makefile b/net-im/tmsnc/Makefile index ac068ebc5f50..41b3920e936b 100644 --- a/net-im/tmsnc/Makefile +++ b/net-im/tmsnc/Makefile @@ -14,17 +14,10 @@ MAINTAINER= snowfly@yuntech.edu.tw COMMENT= A textbased (console) MSN client GNU_CONFIGURE= yes +USE_NCURSES= yes PLIST_FILES= bin/tmsnc MAN1= tmsnc.1 -.include <bsd.port.pre.mk> - -.if ${OSVERSION} < 602107 || (${OSVERSION} > 700000 && ${OSVERSION} < 700033) -# this port needs ncurses 5.4+ -BUILD_DEPENDS+= ${LOCALBASE}/include/ncurses/ncurses.h:${PORTSDIR}/devel/ncurses -RUN_DEPENDS+= ${LOCALBASE}/include/ncurses/ncurses.h:${PORTSDIR}/devel/ncurses -.endif - -.include <bsd.port.post.mk> +.include <bsd.port.mk> |