aboutsummaryrefslogtreecommitdiffstats
path: root/net-im
diff options
context:
space:
mode:
authorsat <sat@FreeBSD.org>2007-04-07 22:22:58 +0800
committersat <sat@FreeBSD.org>2007-04-07 22:22:58 +0800
commit3f0c8beedcc68677cc9738b16ab4eaf8197b7ebe (patch)
tree84a9af01a87a610b08be15fb7953920473134516 /net-im
parent48d56b434973135ecdafebb42f0183a39a0899f5 (diff)
downloadfreebsd-ports-gnome-3f0c8beedcc68677cc9738b16ab4eaf8197b7ebe.tar.gz
freebsd-ports-gnome-3f0c8beedcc68677cc9738b16ab4eaf8197b7ebe.tar.zst
freebsd-ports-gnome-3f0c8beedcc68677cc9738b16ab4eaf8197b7ebe.zip
- Don't depend on ncurses from ports when it's available in the
base system Submitted by: rafan
Diffstat (limited to 'net-im')
-rw-r--r--net-im/mcabber/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/net-im/mcabber/Makefile b/net-im/mcabber/Makefile
index 84f85c40be4e..5727fb373821 100644
--- a/net-im/mcabber/Makefile
+++ b/net-im/mcabber/Makefile
@@ -8,13 +8,12 @@
PORTNAME= mcabber
PORTVERSION= 0.9.1
CATEGORIES= net-im
-MASTER_SITES= http://www.lilotux.net/~mikael/mcabber/files/ CSME
+MASTER_SITES= http://www.lilotux.net/~mikael/mcabber/files/ CENKES
MAINTAINER= infofarmer@FreeBSD.org
COMMENT= Small Jabber console client
-LIB_DEPENDS= ncursesw.5:${PORTSDIR}/devel/ncurses \
- gpgme.17:${PORTSDIR}/security/gpgme
+LIB_DEPENDS= gpgme.17:${PORTSDIR}/security/gpgme
USE_BZIP2= yes
GNU_CONFIGURE= yes
@@ -36,6 +35,10 @@ MAN1= mcabber.1
BROKEN= Unicoded ncurses require 5.3
.endif
+.if ${OSVERSION} < 602107 || (${OSVERSION} > 700000 && ${OSVERSION} < 700033)
+LIB_DEPENDS+= ncursesw.5:${PORTSDIR}/devel/ncurses
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's#$$"$${datadir}"#"$${datadir}"#' ${WRKSRC}/configure