Date: Thu, 10 Apr 2014 18:52:04 +0000 (UTC) From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r350826 - branches/2014Q2/net/xorp Message-ID: <201404101852.s3AIq41i081618@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Thu Apr 10 18:52:03 2014 New Revision: 350826 URL: http://svnweb.freebsd.org/changeset/ports/350826 QAT: https://qat.redports.org/buildarchive/r350826/ Log: MFH: r349971 - Fix build with clang Approved by: portmgr Modified: branches/2014Q2/net/xorp/Makefile Directory Properties: branches/2014Q2/ (props changed) Modified: branches/2014Q2/net/xorp/Makefile ============================================================================== --- branches/2014Q2/net/xorp/Makefile Thu Apr 10 18:38:13 2014 (r350825) +++ branches/2014Q2/net/xorp/Makefile Thu Apr 10 18:52:03 2014 (r350826) @@ -19,8 +19,7 @@ CONFLICTS_INSTALL= xorp-devel-* EXTRACT_AFTER_ARGS= --no-same-owner --no-same-permissions -s /^xorp/${DISTNAME}/ GROUPS= xorp -USES= ncurses scons shebangfix -USE_BZIP2= yes +USES= tar:bzip2 ncurses scons shebangfix compiler:env USE_OPENSSL= yes USE_PYTHON_BUILD= 2 USE_RC_SUBR= xorp @@ -41,7 +40,7 @@ TCP_RPC_DESC= Use TCP as RPC transport ( MAKE_ARGS= prefix=${PREFIX} enable_boost=1 -.include <bsd.port.options.mk> +.include <bsd.port.pre.mk> .if ${PORT_OPTIONS:MOPTIMIZE} MAKE_ARGS+= optimize=highest @@ -77,8 +76,11 @@ MAKE_ARGS+= transport=local post-patch: ${REINPLACE_CMD} 's,%%LOCALBASE%%,${LOCALBASE},' ${WRKSRC}/SConstruct +.if ${COMPILER_TYPE} == "clang" + ${REINPLACE_CMD} 's,-Werror,& -Wno-unused-function,' ${WRKSRC}/SConstruct +.endif post-install: ${CP} -p ${WRKSRC}/${XORP_SAMPLECONF} ${STAGEDIR}${PREFIX}/etc/xorp.conf.sample -.include <bsd.port.mk> +.include <bsd.port.post.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404101852.s3AIq41i081618>