Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Jan 2014 14:39:51 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r339140 - head/net-mgmt/snmp++
Message-ID:  <201401081439.s08EdpkY015445@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401081439.s08EdpkY015445>