aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2013-05-27 20:28:17 +0800
committerbapt <bapt@FreeBSD.org>2013-05-27 20:28:17 +0800
commite4279dc3fdb5bbbda34dd0827084cda82169eb5d (patch)
tree707a5de478c017147eed59715a913a5d7748f6ac /net-mgmt
parentaf00584eb30406fb1a2f7c272be3d73fc01664ea (diff)
downloadfreebsd-ports-graphics-e4279dc3fdb5bbbda34dd0827084cda82169eb5d.tar.gz
freebsd-ports-graphics-e4279dc3fdb5bbbda34dd0827084cda82169eb5d.tar.zst
freebsd-ports-graphics-e4279dc3fdb5bbbda34dd0827084cda82169eb5d.zip
Fix build with clang
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/arts++/Makefile11
1 files changed, 5 insertions, 6 deletions
diff --git a/net-mgmt/arts++/Makefile b/net-mgmt/arts++/Makefile
index 176f7500b80..4324c987ead 100644
--- a/net-mgmt/arts++/Makefile
+++ b/net-mgmt/arts++/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: arts++
-# Date created: Di 7 Nov 2000 19:48:50 CET
-# Whom: Andreas Klemm <andreas@klemm.gtn.com>
-#
+# Created by: Andreas Klemm <andreas@klemm.gtn.com>
# $FreeBSD$
-#
PORTNAME= arts++
PORTVERSION= 1.1.a13
@@ -24,14 +20,17 @@ MANL= artsportagg.l artsports.l artsprotos.l artsnets.l artsdump.l \
artsasagg.l artsportms.l artsportmagg.l artsintfms.l \
artsintfmagg.l artsnexthops.l artsnexthopagg.l artstos.l
+.include <bsd.port.options.mk>
+
post-patch:
@${REINPLACE_CMD} -e 's|echo aout|echo elf|' ${WRKSRC}/ltconfig
+ @${REINPLACE_CMD} -e 's/make_pair/std::make_pair/' ${WRKSRC}/classes/include/Ipv4PrefixPatricia.hh.in
post-configure:
@${REINPLACE_CMD} -E -e "s,( gcc\*),\1 | g++\*,g" ${WRKSRC}/libtool
post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}/html
.for f in ChangeLog INSTALL WishList
@${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}