1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

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
This commit is contained in:
Baptiste Daroussin 2014-04-04 10:06:40 +00:00
parent ce82d50c48
commit 1e132ef8ae
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=350083

View File

@ -8,13 +8,13 @@ MASTER_SITES= SF/opentnl/TNL%20Source/${PORTVERSION}
DISTNAME= tnl-${PORTVERSION}-source
MAINTAINER= ports@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>