summaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
authorChris Piazza <cpiazza@FreeBSD.org>2000-01-08 09:26:51 +0000
committerChris Piazza <cpiazza@FreeBSD.org>2000-01-08 09:26:51 +0000
commit505461711d80eacd45c3d0c087ebbfdb96d448f7 (patch)
treecedfec458b647956088c73eb670070a28293ebce /net-im
parentAdd Fragrouter 1.6. (diff)
Make this compile on 3.x (with the old ncurses by default...).
Warning: don't look at this. Tested by: Brent Kearney <brent@kearneys.ca>
Notes
Notes: svn path=/head/; revision=24545
Diffstat (limited to 'net-im')
-rw-r--r--net-im/centericq/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/net-im/centericq/Makefile b/net-im/centericq/Makefile
index 5ba13655a99a..a265807ac062 100644
--- a/net-im/centericq/Makefile
+++ b/net-im/centericq/Makefile
@@ -12,8 +12,14 @@ MASTER_SITES= http://konst.org.ua/download/
MAINTAINER= cpiazza@FreeBSD.org
+.include <bsd.port.pre.mk>
+.if ${OSVERSION} < 400010
+LIB_DEPENDS= ncurses.4:${PORTSDIR}/devel/ncurses
+.endif
+
WRKSRC= ${WRKDIR}/center
USE_GMAKE= yes
+CFLAGS+= -nostdinc -I${LOCALBASE}/include/ncurses -I${LOCALBASE}/include -I/usr/include
post-patch:
@${PERL} -pi -e 's:__PREFIX__:${PREFIX}:' ${WRKSRC}/centerICQ.cc
@@ -26,4 +32,4 @@ do-install:
@${MKDIR} ${PREFIX}/share/center
${INSTALL_DATA} ${WRKSRC}/sound/* ${PREFIX}/share/center
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>