1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00

Fix for -current now. c++ -nostdinc ... -I/usr/include breaks if netinet/in.h

is included for some reason.
This commit is contained in:
Chris Piazza 2000-01-08 22:00:24 +00:00
parent b864657b39
commit 1ad8fe17da
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=24571
2 changed files with 4 additions and 2 deletions

View File

@ -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

View File

@ -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