svn commit: r339140 - head/net-mgmt/snmp++

Baptiste Daroussin bapt at FreeBSD.org
Wed Jan 8 14:39:51 UTC 2014


Author: bapt
Date: Wed Jan  8 14:39:51 2014
New Revision: 339140
URL: http://svnweb.freebsd.org/changeset/ports/339140

Log:
  Do not assume the compiler is g++
  While here stage
  
  MFH:	2014Q1

Modified:
  head/net-mgmt/snmp++/Makefile

Modified: head/net-mgmt/snmp++/Makefile
==============================================================================
--- head/net-mgmt/snmp++/Makefile	Wed Jan  8 14:38:43 2014	(r339139)
+++ head/net-mgmt/snmp++/Makefile	Wed Jan  8 14:39:51 2014	(r339140)
@@ -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