aboutsummaryrefslogtreecommitdiffstats
path: root/net-im
diff options
context:
space:
mode:
authorcpiazza <cpiazza@FreeBSD.org>2000-01-09 06:00:24 +0800
committercpiazza <cpiazza@FreeBSD.org>2000-01-09 06:00:24 +0800
commite0793b951f4ff6fcf9fc126c29a3704a3a749778 (patch)
tree46e5b43bc6d91bc88595c439e98c7e5620f870b9 /net-im
parent688d5e59b07fda8211bdac03017f8bf47b882c54 (diff)
downloadfreebsd-ports-gnome-e0793b951f4ff6fcf9fc126c29a3704a3a749778.tar.gz
freebsd-ports-gnome-e0793b951f4ff6fcf9fc126c29a3704a3a749778.tar.zst
freebsd-ports-gnome-e0793b951f4ff6fcf9fc126c29a3704a3a749778.zip
Fix for -current now. c++ -nostdinc ... -I/usr/include breaks if netinet/in.h
is included for some reason.
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