aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/netams
diff options
context:
space:
mode:
authorRong-En Fan <rafan@FreeBSD.org>2008-03-19 13:07:04 +0000
committerRong-En Fan <rafan@FreeBSD.org>2008-03-19 13:07:04 +0000
commit3f4c4e3503f89919cf54ce9b4efcf44a4c379653 (patch)
treeca6ff86abb55a1c8b6d2b2dbc25d4229dc3616c5 /net-mgmt/netams
parenta1159f7afcba6e94027f4ec37948eb122e1e45c8 (diff)
downloadports-3f4c4e3503f89919cf54ce9b4efcf44a4c379653.tar.gz
ports-3f4c4e3503f89919cf54ce9b4efcf44a4c379653.zip
Notes
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