1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

- 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)
This commit is contained in:
Rong-En Fan 2008-03-19 13:07:04 +00:00
parent a1159f7afc
commit 3f4c4e3503
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=209367

View File

@ -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