diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2014-04-03 04:17:14 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2014-04-03 04:17:14 +0000 |
commit | dbb548171157e578fe40069bf4f1ef4c42a22d37 (patch) | |
tree | 6f9948766c3ca0794202885c7576b0a6bd73e206 /net | |
parent | 5d6e0bf8b443bab617f68d4c3b2c1d1a4c72ee60 (diff) | |
download | ports-dbb548171157e578fe40069bf4f1ef4c42a22d37.tar.gz ports-dbb548171157e578fe40069bf4f1ef4c42a22d37.zip |
Notes
Diffstat (limited to 'net')
-rw-r--r-- | net/xorp/Makefile | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/net/xorp/Makefile b/net/xorp/Makefile index d9b7ae48c97e..c4d27ad33afc 100644 --- a/net/xorp/Makefile +++ b/net/xorp/Makefile @@ -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 (defaults to AF_LOCAL) 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> |