From 5d0df34996b1408cb0d9a867c3674ae6cd359d7d Mon Sep 17 00:00:00 2001 From: Adam Weinberger Date: Fri, 15 Aug 2014 22:03:52 +0000 Subject: [PATCH] Un-hardcode gcc. It still fails to build, but at least it uses the right compiler to fail with. --- net-mgmt/netams/Makefile | 3 +++ 1 file changed, 3 insertions(+) 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