diff options
author | cpiazza <cpiazza@FreeBSD.org> | 2000-01-08 17:26:51 +0800 |
---|---|---|
committer | cpiazza <cpiazza@FreeBSD.org> | 2000-01-08 17:26:51 +0800 |
commit | ae0c249ad70526c364ca4c80e6a6837d51f28b48 (patch) | |
tree | b890ad9a49311e057895bfe5dadfb553ce51a687 /net | |
parent | cf72311c3125ab6e0a58f28db80f1e3c1f132b63 (diff) | |
download | freebsd-ports-gnome-ae0c249ad70526c364ca4c80e6a6837d51f28b48.tar.gz freebsd-ports-gnome-ae0c249ad70526c364ca4c80e6a6837d51f28b48.tar.zst freebsd-ports-gnome-ae0c249ad70526c364ca4c80e6a6837d51f28b48.zip |
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')
-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> |