summaryrefslogtreecommitdiff
path: root/misc/kdeedu4/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'misc/kdeedu4/Makefile')
-rw-r--r--misc/kdeedu4/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/misc/kdeedu4/Makefile b/misc/kdeedu4/Makefile
index fec4a998c936..251614ef2b6e 100644
--- a/misc/kdeedu4/Makefile
+++ b/misc/kdeedu4/Makefile
@@ -21,10 +21,16 @@ PREFIX= ${KDE_PREFIX}
USE_BZIP2= yes
USE_XPM= yes
USE_GMAKE= yes
+USE_REINPLACE= yes
GNU_CONFIGURE= yes
INSTALLS_SHLIB= yes
LDCONFIG_DIRS+= %%PREFIX%%/lib %%PREFIX%%/lib/kde3
.include "${.CURDIR}/../../x11/kde3/Makefile.kde"
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+pre-configure::
+ ${REINPLACE_CMD} -e 's@-pedantic @@g' ${WRKSRC}/configure
+
+.include <bsd.port.post.mk>