aboutsummaryrefslogtreecommitdiff
path: root/archivers/ark/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'archivers/ark/Makefile')
-rw-r--r--archivers/ark/Makefile11
1 files changed, 10 insertions, 1 deletions
diff --git a/archivers/ark/Makefile b/archivers/ark/Makefile
index cd7620213037..c7ac1747145b 100644
--- a/archivers/ark/Makefile
+++ b/archivers/ark/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>