diff options
author | rafan <rafan@FreeBSD.org> | 2008-03-19 21:07:04 +0800 |
---|---|---|
committer | rafan <rafan@FreeBSD.org> | 2008-03-19 21:07:04 +0800 |
commit | 74d143c17d2e3596ae7f4c5cea24bafb07d69b93 (patch) | |
tree | 764805f7998c3c048cf8f82c0ab9d15529a04788 /net-mgmt/netams | |
parent | e17327c2bb2d79964220d704c2ee57aa1cdb7e7f (diff) | |
download | freebsd-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/Makefile | 5 |
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 |