summaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
authorChris Piazza <cpiazza@FreeBSD.org>2000-01-08 22:00:24 +0000
committerChris Piazza <cpiazza@FreeBSD.org>2000-01-08 22:00:24 +0000
commit1ad8fe17da9152a492bb559ccb7f3f07685e6fc6 (patch)
treed7a0f9981e6385bfbbe46d91215eec590b936ac9 /net-im
parentUpdate port to 1.1 (diff)
Fix for -current now. c++ -nostdinc ... -I/usr/include breaks if netinet/in.h
is included for some reason.
Notes
Notes: svn path=/head/; revision=24571
Diffstat (limited to 'net-im')
-rw-r--r--net-im/centericq/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/net-im/centericq/Makefile b/net-im/centericq/Makefile
index a265807ac062..91de95d7894e 100644
--- a/net-im/centericq/Makefile
+++ b/net-im/centericq/Makefile
@@ -15,11 +15,12 @@ MAINTAINER= cpiazza@FreeBSD.org
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 400010
LIB_DEPENDS= ncurses.4:${PORTSDIR}/devel/ncurses
+CFLAGS+= -nostdinc -I${LOCALBASE}/include/ncurses -I${LOCALBASE}/include\
+ -I/usr/include
.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