summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorcpiazza <cpiazza@FreeBSD.org>2000-01-08 22:00:24 +0000
committercpiazza <cpiazza@FreeBSD.org>2000-01-08 22:00:24 +0000
commite0793b951f4ff6fcf9fc126c29a3704a3a749778 (patch)
tree46e5b43bc6d91bc88595c439e98c7e5620f870b9 /net
parent688d5e59b07fda8211bdac03017f8bf47b882c54 (diff)
downloadFreeBSD-ports-e0793b951f4ff6fcf9fc126c29a3704a3a749778.zip
FreeBSD-ports-e0793b951f4ff6fcf9fc126c29a3704a3a749778.tar.gz
Fix for -current now. c++ -nostdinc ... -I/usr/include breaks if netinet/in.h
is included for some reason.
Diffstat (limited to 'net')
-rw-r--r--net/centericq/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/centericq/Makefile b/net/centericq/Makefile
index a265807..91de95d 100644
--- a/net/centericq/Makefile
+++ b/net/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
OpenPOWER on IntegriCloud