summaryrefslogtreecommitdiffstats
path: root/net/centericq
diff options
context:
space:
mode:
authorcpiazza <cpiazza@FreeBSD.org>2000-01-08 09:26:51 +0000
committercpiazza <cpiazza@FreeBSD.org>2000-01-08 09:26:51 +0000
commitae0c249ad70526c364ca4c80e6a6837d51f28b48 (patch)
treeb890ad9a49311e057895bfe5dadfb553ce51a687 /net/centericq
parentcf72311c3125ab6e0a58f28db80f1e3c1f132b63 (diff)
downloadFreeBSD-ports-ae0c249ad70526c364ca4c80e6a6837d51f28b48.zip
FreeBSD-ports-ae0c249ad70526c364ca4c80e6a6837d51f28b48.tar.gz
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>
Diffstat (limited to 'net/centericq')
-rw-r--r--net/centericq/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/net/centericq/Makefile b/net/centericq/Makefile
index 5ba1365..a265807 100644
--- a/net/centericq/Makefile
+++ b/net/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>
OpenPOWER on IntegriCloud