diff options
author | Chris Piazza <cpiazza@FreeBSD.org> | 2000-01-08 09:26:51 +0000 |
---|---|---|
committer | Chris Piazza <cpiazza@FreeBSD.org> | 2000-01-08 09:26:51 +0000 |
commit | 505461711d80eacd45c3d0c087ebbfdb96d448f7 (patch) | |
tree | cedfec458b647956088c73eb670070a28293ebce /net/centericq | |
parent | Add 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/centericq')
-rw-r--r-- | net/centericq/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/net/centericq/Makefile b/net/centericq/Makefile index 5ba13655a99a..a265807ac062 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> |