diff options
author | Cy Schubert <cy@FreeBSD.org> | 2005-04-13 04:37:00 +0000 |
---|---|---|
committer | Cy Schubert <cy@FreeBSD.org> | 2005-04-13 04:37:00 +0000 |
commit | c330a86f562bdf546fd95fe0c712ab03ccba0771 (patch) | |
tree | 75051f261a4f5ba5219ce1ef53ef23d71795ffd2 /security/tripwire | |
parent | 0b870963cab2a26683f2c850566ad63df6bb0125 (diff) | |
download | ports-c330a86f562bdf546fd95fe0c712ab03ccba0771.tar.gz ports-c330a86f562bdf546fd95fe0c712ab03ccba0771.zip |
Notes
Diffstat (limited to 'security/tripwire')
-rw-r--r-- | security/tripwire/Makefile | 23 |
1 files changed, 20 insertions, 3 deletions
diff --git a/security/tripwire/Makefile b/security/tripwire/Makefile index 431e3dd808e8..bac08b21ee20 100644 --- a/security/tripwire/Makefile +++ b/security/tripwire/Makefile @@ -26,6 +26,9 @@ ALL_TARGET= release MAKE_ARGS= SYSPRE=${ARCH}-unknown-freebsd IS_INTERACTIVE= yes +USE_GCC= 2.95 +USE_REINPLACE= YES + # Tripwire config files are stored in TWCFG TWCFG?= /usr/local/etc/tripwire # Tripwire policy files are stored in TWPOLICY. @@ -49,9 +52,9 @@ TRIPWIRE_CLOBBER?= NO .include <bsd.port.pre.mk> -.if ${OSVERSION} >= 500000 -BROKEN= "Fails to build under 5.X" -.endif +#.if ${OSVERSION} >= 500000 +#BROKEN= "Fails to build under 5.X" +#.endif PLIST_SUB+= TWCFG=${TWCFG} TWDB=${TWDB} @@ -62,6 +65,20 @@ pre-configure: @ ${MV} ${WRKSRC}/man/man4/twconfig.4 ${WRKSRC}/man/man5/twconfig.5 @ ${MV} ${WRKSRC}/man/man4/twpolicy.4 ${WRKSRC}/man/man5/twpolicy.5 + +post-extract: + @ ${REINPLACE_CMD} -e "s|CC \= gcc|CC \= gcc295|g" ${WRKSRC}/src/STLport-4.0/src/gcc.mak + @ ${REINPLACE_CMD} -e "s|CXX \= c\+\+|CXX \= g\+\+295|g" ${WRKSRC}/src/STLport-4.0/src/gcc.mak + @ ${REINPLACE_CMD} -e "s|ln \-s \/usr\/include\/g\+\+ include|ln \-s ${PREFIX}\/lib\/gcc\-lib\/${ARCH}\-portbld\-freebsd${OSREL}\/2.95.3\/include include|g" ${WRKSRC}/src/STLport-4.0/STLport.mak + @ ${REINPLACE_CMD} -e "s|CC \= cc|CC \= gcc295|g" ${WRKSRC}/src/make_include/i386-unknown-freebsd.inc + @ ${REINPLACE_CMD} -e "s|CXX \= c\+\+|CXX \= g\+\+295|g" ${WRKSRC}/src/make_include/i386-unknown-freebsd.inc + @ ${REINPLACE_CMD} -e "s|LINKFLAGS_R \= \-pthread|LINKFLAGS_R \+\= \-lpthread|g" ${WRKSRC}/src/make_include/i386-unknown-freebsd.inc + @ ${REINPLACE_CMD} -e "s|LINKFLAGS_D \= \-pthread|LINKFLAGS_D \+\= \-lpthread|g" ${WRKSRC}/src/make_include/i386-unknown-freebsd.inc + @ ${REINPLACE_CMD} -e "s|CC \= g\+\+|CC \= g\+\+295|g" ${WRKSRC}/src/cryptlib/i386-unknown-freebsd.mak + @ ${REINPLACE_CMD} -e "s|malloc.h|stdlib.h|g" ${WRKSRC}/src/core/msystem.cpp + @ ${REINPLACE_CMD} -e "s|malloc.h|stdlib.h|g" ${WRKSRC}/src/twparser/yylex.cpp + @ ${REINPLACE_CMD} -e "s|malloc.h|stdlib.h|g" ${WRKSRC}/src/tripwire/tripwiremain.cpp + install-software: @ ${ECHO_CMD} TWPOLICY=${TWPOLICY} >> ${WRKSRC}/install/install.cfg @ ${ECHO_CMD} TWSITEKEYDIR=${TWSITEKEYDIR} >> ${WRKSRC}/install/install.cfg |