summaryrefslogtreecommitdiff
path: root/x11-clocks/kdetoys3/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11-clocks/kdetoys3/Makefile')
-rw-r--r--x11-clocks/kdetoys3/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/x11-clocks/kdetoys3/Makefile b/x11-clocks/kdetoys3/Makefile
index 51ba98cf3a5d..e27de992c42d 100644
--- a/x11-clocks/kdetoys3/Makefile
+++ b/x11-clocks/kdetoys3/Makefile
@@ -21,6 +21,7 @@ USE_KDELIBS_VER=3
PREFIX= ${KDE_PREFIX}
USE_BZIP2= yes
+USE_REINPLACE= yes
GNU_CONFIGURE= yes
USE_GMAKE= yes
@@ -28,4 +29,9 @@ INSTALLS_SHLIB= yes
LDCONFIG_DIRS+= %%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>