aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpetef <petef@FreeBSD.org>2002-06-08 13:20:27 +0800
committerpetef <petef@FreeBSD.org>2002-06-08 13:20:27 +0800
commite8e9b964f2622c2681cfe0038911bfb19fbbc6b5 (patch)
tree4fc68825e922d99f3f873e08ee8daf6c5cd2e5d8
parent93b7d7af474a133e15ebbb4525038d11f33e07c6 (diff)
downloadfreebsd-ports-gnome-e8e9b964f2622c2681cfe0038911bfb19fbbc6b5.tar.gz
freebsd-ports-gnome-e8e9b964f2622c2681cfe0038911bfb19fbbc6b5.tar.zst
freebsd-ports-gnome-e8e9b964f2622c2681cfe0038911bfb19fbbc6b5.zip
Fix build on -current with gcc 3.1.
Submitted by: bento
-rw-r--r--devel/log4cpp/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/devel/log4cpp/Makefile b/devel/log4cpp/Makefile
index 9f7c957417f6..000ca42a0784 100644
--- a/devel/log4cpp/Makefile
+++ b/devel/log4cpp/Makefile
@@ -18,4 +18,8 @@ GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
INSTALLS_SHLIB= yes
+post-patch:
+ @${PERL} -pi -e 's, endl, std::endl,g' ${WRKSRC}/tests/Clock.cpp \
+ ${WRKSRC}/tests/testbench.cpp
+
.include <bsd.port.mk>