aboutsummaryrefslogtreecommitdiffstats
path: root/math/kcalc
diff options
context:
space:
mode:
authorlofi <lofi@FreeBSD.org>2004-08-01 07:06:10 +0800
committerlofi <lofi@FreeBSD.org>2004-08-01 07:06:10 +0800
commit2635070001534a98fb3e6f5be4a1c458a1512c1d (patch)
tree036c527c80cdd5e07876e6ce9af6bdcbdde50fb4 /math/kcalc
parent0e0883e94fd427a77ca7e0e4e21642a2d32377c2 (diff)
downloadfreebsd-ports-gnome-2635070001534a98fb3e6f5be4a1c458a1512c1d.tar.gz
freebsd-ports-gnome-2635070001534a98fb3e6f5be4a1c458a1512c1d.tar.zst
freebsd-ports-gnome-2635070001534a98fb3e6f5be4a1c458a1512c1d.zip
Correct a configure-misdetection which went unnoticed until now, but causes
breakage with gcc 3.4.
Diffstat (limited to 'math/kcalc')
-rw-r--r--math/kcalc/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/math/kcalc/Makefile b/math/kcalc/Makefile
index cf65cf6d3400..f56bc6dbd9e4 100644
--- a/math/kcalc/Makefile
+++ b/math/kcalc/Makefile
@@ -48,5 +48,9 @@ DO_NOT_COMPILE+=klaptopdaemon
PLIST_APPEND+= plist.klaptop
.endif
+post-configure:
+ @${REINPLACE_CMD} -e 's|#define HAVE_L_FUNCS 1||g' \
+ ${WRKSRC}/config.h
+
.include "${.CURDIR}/../../x11/kde3/Makefile.kde"
.include <bsd.port.mk>