svn commit: r363623 - head/net-mgmt/netams
Adam Weinberger
adamw at FreeBSD.org
Thu Jul 31 15:45:31 UTC 2014
Author: adamw
Date: Thu Jul 31 15:45:30 2014
New Revision: 363623
URL: http://svnweb.freebsd.org/changeset/ports/363623
QAT: https://qat.redports.org/buildarchive/r363623/
Log:
Fix build without gcc.
Modified:
head/net-mgmt/netams/Makefile
Modified: head/net-mgmt/netams/Makefile
==============================================================================
--- head/net-mgmt/netams/Makefile Thu Jul 31 15:24:56 2014 (r363622)
+++ head/net-mgmt/netams/Makefile Thu Jul 31 15:45:30 2014 (r363623)
@@ -104,6 +104,10 @@ 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
+post-patch:
+ @${REINPLACE_CMD} -e '/^CC/s|g++|${CC}|; /^CPP/s|g++|${CXX}|; /^CFLAGS/s/=/+=/' \
+ ${WRKSRC}/src/Makefile
+
do-install:
@${MKDIR} ${STAGEDIR}${DATADIR}/tools/oracle
${INSTALL_DATA} ${WRKSRC}/addon/netams.conf ${STAGEDIR}${PREFIX}/etc/netams.conf.sample
More information about the svn-ports-all
mailing list