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