svn commit: r350083 - head/net/libtnl

Baptiste Daroussin bapt at FreeBSD.org
Fri Apr 4 10:06:41 UTC 2014


Author: bapt
Date: Fri Apr  4 10:06:40 2014
New Revision: 350083
URL: http://svnweb.freebsd.org/changeset/ports/350083
QAT: https://qat.redports.org/buildarchive/r350083/

Log:
  Support stage
  Enforce usage of gcc as this is bad c++ code that only g++ accept when it should not
  see http://clang.debian.net/status.php?version=3.0&key=USE_OF_UNDECLARED_IDENTIFIER
  for details
  
  MFH:		2014Q2

Modified:
  head/net/libtnl/Makefile

Modified: head/net/libtnl/Makefile
==============================================================================
--- head/net/libtnl/Makefile	Fri Apr  4 09:59:58 2014	(r350082)
+++ head/net/libtnl/Makefile	Fri Apr  4 10:06:40 2014	(r350083)
@@ -8,13 +8,13 @@ MASTER_SITES=	SF/opentnl/TNL%20Source/${
 DISTNAME=	tnl-${PORTVERSION}-source
 
 MAINTAINER=	ports at FreeBSD.org
-COMMENT=	A robust, secure, easy to use cross-platform C++ networking API
+COMMENT=	Robust, secure, easy to use cross-platform C++ networking API
 
+USES=		uidfix
+USE_GCC=	any
 WRKSRC=		${WRKDIR}/tnl/tnl
 USE_LDCONFIG=	yes
 MAKEFILE=	${FILESDIR}/Makefile.bsd
-MAKE_ARGS=	-j`${SYSCTL} -n hw.ncpu`
-NO_STAGE=	yes
 # Other arches can be added easily, provided there is hardware to test:
 ONLY_FOR_ARCHS=	i386 amd64
 .if defined(NO_PROFILE) || defined(NOPROFILE)
@@ -29,7 +29,7 @@ PLIST_SUB+=	PROFILE=''
 #
 #EXTRACT_AFTER_ARGS=|${TAR} -xpf - --exclude tnl/libtomcrypt
 
-pre-su-install:
-	${MKDIR} ${PREFIX}/include/tnl
+pre-install:
+	@${MKDIR} ${STAGEDIR}${PREFIX}/include/tnl
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list