aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2004-02-29 07:18:07 +0800
committerarved <arved@FreeBSD.org>2004-02-29 07:18:07 +0800
commite40b839220e42139760425644c4ba518b1fc6944 (patch)
tree4acc6e970ae6b1ec1dddff0fe6d0fbaf257229cd /net-mgmt
parent638376d28f109bd18ab706367cc89a31ccfa72a4 (diff)
downloadfreebsd-ports-gnome-e40b839220e42139760425644c4ba518b1fc6944.tar.gz
freebsd-ports-gnome-e40b839220e42139760425644c4ba518b1fc6944.tar.zst
freebsd-ports-gnome-e40b839220e42139760425644c4ba518b1fc6944.zip
Fix build on CURRENT
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/arts++/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/net-mgmt/arts++/Makefile b/net-mgmt/arts++/Makefile
index f43fee05ff09..f2a3ef58dd72 100644
--- a/net-mgmt/arts++/Makefile
+++ b/net-mgmt/arts++/Makefile
@@ -20,6 +20,7 @@ GNU_CONFIGURE= yes
USE_GMAKE= yes
CONFIGURE_ARGS+=--enable-shared
INSTALLS_SHLIB= yes
+USE_REINPLACE= yes
MANL= artsportagg.l artsports.l artsprotos.l artsnets.l artsdump.l \
artsases.l artstoc.l artsagg.l artsprotoagg.l artsnetagg.l \
@@ -28,8 +29,11 @@ MANL= artsportagg.l artsports.l artsprotos.l artsnets.l artsdump.l \
.include <bsd.port.pre.mk>
-.if ${OSVERSION} >= 502000
-BROKEN= "Does not compile"
-.endif
+
+post-patch:
+ cd ${WRKSRC}/classes/src; \
+ ${REINPLACE_CMD} -e "s,<strstream.h>,<strstream>," \
+ ArtsBgp4AsPathSegment.cc ArtsIfIndexSelectionSet.lex \
+ ArtsObjectTypeSelectionSet.lex ArtsTimeIntervalSelectionSet.lex
.include <bsd.port.post.mk>