aboutsummaryrefslogtreecommitdiff
path: root/misc/kdeutils4/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'misc/kdeutils4/Makefile')
-rw-r--r--misc/kdeutils4/Makefile11
1 files changed, 10 insertions, 1 deletions
diff --git a/misc/kdeutils4/Makefile b/misc/kdeutils4/Makefile
index cd7620213037..c7ac1747145b 100644
--- a/misc/kdeutils4/Makefile
+++ b/misc/kdeutils4/Makefile
@@ -37,4 +37,13 @@ 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>
+
+.if ${OSVERSION} > 501102
+RUN_DEPENDS+= gtar:${PORTSDIR}/archivers/gtar
+
+post-patch:
+ ${REINPLACE_CMD} -e 's|>tar<|>gtar<|g' ${WRKSRC}/ark/ark.kcfg
+.endif
+
+.include <bsd.port.post.mk>