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:
parent
b864657b39
commit
1ad8fe17da
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=24571
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user