From e40b839220e42139760425644c4ba518b1fc6944 Mon Sep 17 00:00:00 2001 From: arved Date: Sat, 28 Feb 2004 23:18:07 +0000 Subject: Fix build on CURRENT --- net-mgmt/arts++/Makefile | 10 +++++++--- 1 file 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 -.if ${OSVERSION} >= 502000 -BROKEN= "Does not compile" -.endif + +post-patch: + cd ${WRKSRC}/classes/src; \ + ${REINPLACE_CMD} -e "s,,," \ + ArtsBgp4AsPathSegment.cc ArtsIfIndexSelectionSet.lex \ + ArtsObjectTypeSelectionSet.lex ArtsTimeIntervalSelectionSet.lex .include -- cgit