1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

Un-hardcode gcc. It still fails to build, but at least it uses the

right compiler to fail with.
This commit is contained in:
Adam Weinberger 2014-08-15 22:03:52 +00:00
parent 1c72e050cc
commit 5d0df34996
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=365058

View File

@ -104,6 +104,9 @@ pre-patch:
@${REINPLACE_CMD} -e 's|locate_file "libglib-2\.0\.so".*|v1="" \&\& v2="" \&\& v3=""|' \
-e 's|locate_file "openssl/md5\.h".*|v1=""|' ${WRKSRC}/configure.sh
@${REINPLACE_CMD} -e 's|gcc|${CC}|; s|g++|${CXX}|; /^INCLUDE/s|/usr/local|${LOCALBASE}|' \
${WRKSRC}/src/Makefile ${WRKSRC}/lib/Makefile
do-install:
@${MKDIR} ${STAGEDIR}${DATADIR}/tools/oracle
${INSTALL_DATA} ${WRKSRC}/addon/netams.conf ${STAGEDIR}${PREFIX}/etc/netams.conf.sample