aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/netams
diff options
context:
space:
mode:
authorrafan <rafan@FreeBSD.org>2008-03-19 21:07:04 +0800
committerrafan <rafan@FreeBSD.org>2008-03-19 21:07:04 +0800
commit74d143c17d2e3596ae7f4c5cea24bafb07d69b93 (patch)
tree764805f7998c3c048cf8f82c0ab9d15529a04788 /net-mgmt/netams
parente17327c2bb2d79964220d704c2ee57aa1cdb7e7f (diff)
downloadfreebsd-ports-gnome-74d143c17d2e3596ae7f4c5cea24bafb07d69b93.tar.gz
freebsd-ports-gnome-74d143c17d2e3596ae7f4c5cea24bafb07d69b93.tar.zst
freebsd-ports-gnome-74d143c17d2e3596ae7f4c5cea24bafb07d69b93.zip
- Respect CC and CXX
PR: ports/121697 Submitted by: Andrew Kolchoogin <andrew at rinet.ru> Approved by: Yuriy N. Shkandybin <jura at netams.com> (maintainer)
Diffstat (limited to 'net-mgmt/netams')
-rw-r--r--net-mgmt/netams/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/net-mgmt/netams/Makefile b/net-mgmt/netams/Makefile
index 8f206cbe6088..d9460b88e0eb 100644
--- a/net-mgmt/netams/Makefile
+++ b/net-mgmt/netams/Makefile
@@ -60,6 +60,11 @@ post-patch:
@${REINPLACE_CMD} -e 's|#DEFINE += -DUSE_HASH|DEFINE += -DUSE_HASH|' \
${WRKSRC}/configure.sh
.endif
+ @${REINPLACE_CMD} -e 's|^CC.*|CC=${CXX}|; s|^CPP.*|CPP=${CXX}|' \
+ ${WRKSRC}/src/Makefile
+ @${REINPLACE_CMD} -e 's|^CC.*|CC=${CC}|; s|^CPP.*|CPP=${CXX}|' \
+ ${WRKSRC}/lib/Makefile \
+ ${WRKSRC}/lib/libipulog/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/netams ${PREFIX}/libexec/netams