svn commit: r339141 - branches/2014Q1/net-mgmt/snmp++
Baptiste Daroussin
bapt at FreeBSD.org
Wed Jan 8 14:44:31 UTC 2014
Author: bapt
Date: Wed Jan 8 14:44:31 2014
New Revision: 339141
URL: http://svnweb.freebsd.org/changeset/ports/339141
Log:
MFH: r339140
Do not assume the compiler is g++
While here stage
Modified:
branches/2014Q1/net-mgmt/snmp++/Makefile
Directory Properties:
branches/2014Q1/ (props changed)
Modified: branches/2014Q1/net-mgmt/snmp++/Makefile
==============================================================================
--- branches/2014Q1/net-mgmt/snmp++/Makefile Wed Jan 8 14:39:51 2014 (r339140)
+++ branches/2014Q1/net-mgmt/snmp++/Makefile Wed Jan 8 14:44:31 2014 (r339141)
@@ -13,14 +13,15 @@ COMMENT= SNMP C++ library with V3 suppor
MAKEFILE= Makefile.FreeBSD
WRKSRC= ${WRKDIR}/${PORTNAME}/src
-USE_GMAKE= yes
+USES= gmake
USE_LDCONFIG= yes
+MAKE_ARGS= CC="${CXX}"
-NO_STAGE= yes
post-extract:
${CP} ${FILESDIR}/Makefile.FreeBSD ${WRKSRC}
post-install:
- ${LN} -sf ${PREFIX}/lib/libsnmp++.so.2.0.0 ${PREFIX}/lib/libsnmp++.so
+ ${LN} -sf ${PREFIX}/lib/libsnmp++.so.2.0.0 ${STAGEDIR}${PREFIX}/lib/libsnmp++.so
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libsnmp++.so.2.0.0
.include <bsd.port.mk>
More information about the svn-ports-all
mailing list