summaryrefslogtreecommitdiff
path: root/net-mgmt
diff options
context:
space:
mode:
authorJun Kuriyama <kuriyama@FreeBSD.org>2004-07-27 04:13:27 +0000
committerJun Kuriyama <kuriyama@FreeBSD.org>2004-07-27 04:13:27 +0000
commite7986575ce33429731450f54779458bf2a9142f8 (patch)
tree9faf049c2abe58dae119f515489a651e2d72906f /net-mgmt
parentAdd knob WITH_EXTRA_PATCHES which brings in: (diff)
Unbreak on current.
Notes
Notes: svn path=/head/; revision=114840
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/cflowd/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/net-mgmt/cflowd/Makefile b/net-mgmt/cflowd/Makefile
index 45caf8ed849d..ba42f0cd2bb7 100644
--- a/net-mgmt/cflowd/Makefile
+++ b/net-mgmt/cflowd/Makefile
@@ -26,6 +26,7 @@ BUILD_DEPENDS= ${LOCALBASE}/lib/libArts.a:${PORTSDIR}/net-mgmt/arts++
GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_BISON= yes
+USE_REINPLACE= yes
CONFIGURE_ARGS+=--enable-shared --with-artspp=${PREFIX}
@@ -34,9 +35,8 @@ MANL= cfdases.l cfdifmatrix.l cfdnets.l cfdnexthops.l \
.include <bsd.port.pre.mk>
-.if ${OSVERSION} >= 502102
-BROKEN= "Does not compile on >= 5.x"
-.endif
+post-patch:
+ cd ${WRKSRC}; ${FIND} . -type f | ${XARGS} ${GREP} -l '<strstream.h>' | ${XARGS} ${REINPLACE_CMD} -e 's/<strstream.h>/<strstream>/'
.if !defined(CFLOWD_FLOWSCAN_PATCH)
pre-everything::