summaryrefslogtreecommitdiff
path: root/graphics/kdegraphics3/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/kdegraphics3/Makefile')
-rw-r--r--graphics/kdegraphics3/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/graphics/kdegraphics3/Makefile b/graphics/kdegraphics3/Makefile
index eecb35b6a6a1..bb75f8b08cd3 100644
--- a/graphics/kdegraphics3/Makefile
+++ b/graphics/kdegraphics3/Makefile
@@ -23,6 +23,7 @@ KDE_BUILD_PLIST=yes
USE_BZIP2= yes
GNU_CONFIGURE= yes
USE_GMAKE= yes
+USE_REINPLACE= yes
INSTALLS_SHLIB= yes
LDCONFIG_DIRS+= %%PREFIX%%/lib %%PREFIX%%/lib/kde3
@@ -67,6 +68,7 @@ WITH_SANE?= yes
.if defined(WITH_SANE)
LIB_DEPENDS+= sane.1:${PORTSDIR}/graphics/sane-backends
PLIST_APPEND+= plist.sane
+RUN_DEPENDS= ${LOCALBASE}/bin/gocr:${PORTSDIR}/graphics/gocr
.else
pre-everything::
@${ECHO_MSG}
@@ -77,4 +79,7 @@ pre-everything::
@${ECHO_MSG}
.endif # defined(WITH_SANE)
+pre-configure::
+ ${REINPLACE_CMD} -e 's@-pedantic @@g' ${WRKSRC}/configure
+
.include <bsd.port.post.mk>