Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Jan 2014 14:44:31 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r339141 - branches/2014Q1/net-mgmt/snmp++
Message-ID:  <201401081444.s08EiVD9018725@svn.freebsd.org>

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



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