diff options
-rw-r--r-- | net-mgmt/netams/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/net-mgmt/netams/Makefile b/net-mgmt/netams/Makefile index a677c8b90e08..2234d9373c8c 100644 --- a/net-mgmt/netams/Makefile +++ b/net-mgmt/netams/Makefile @@ -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 |