aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/netams
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-08-15 22:03:52 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-08-15 22:03:52 +0000
commit5d0df34996b1408cb0d9a867c3674ae6cd359d7d (patch)
treeb2b4f9a6a90663e35b8e607b91e64f5c53fae493 /net-mgmt/netams
parent1c72e050cc24228748e4831e0987298b32fc21f4 (diff)
downloadports-5d0df34996b1408cb0d9a867c3674ae6cd359d7d.tar.gz
ports-5d0df34996b1408cb0d9a867c3674ae6cd359d7d.zip
Un-hardcode gcc. It still fails to build, but at least it uses the
right compiler to fail with.
Notes
Notes: svn path=/head/; revision=365058
Diffstat (limited to 'net-mgmt/netams')
-rw-r--r--net-mgmt/netams/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/net-mgmt/netams/Makefile b/net-mgmt/netams/Makefile
index a677c8b90e08..c443c35e43c0 100644
--- a/net-mgmt/netams/Makefile
+++ b/net-mgmt/netams/Makefile
@@ -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