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