aboutsummaryrefslogtreecommitdiffstats
path: root/converters/convmv
diff options
context:
space:
mode:
authorrafan <rafan@FreeBSD.org>2006-10-31 09:16:55 +0800
committerrafan <rafan@FreeBSD.org>2006-10-31 09:16:55 +0800
commit5bc3393c2560d6f3dffc39830db522e9c1ccc91f (patch)
treede764dc7c0d314a3508a72293d59ee16b9299a1f /converters/convmv
parentb888820175aa7ec00070716cb484e0beb541598d (diff)
downloadfreebsd-ports-gnome-5bc3393c2560d6f3dffc39830db522e9c1ccc91f.tar.gz
freebsd-ports-gnome-5bc3393c2560d6f3dffc39830db522e9c1ccc91f.tar.zst
freebsd-ports-gnome-5bc3393c2560d6f3dffc39830db522e9c1ccc91f.zip
- Fix dependency for Perl < 5.7.1
PR: ports/104671, ports/104672 Submitted by: Jin-Shan Tseng, Gea-Suan Lin Approved by: Kuang-che Wu (maintainer)
Diffstat (limited to 'converters/convmv')
-rw-r--r--converters/convmv/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/converters/convmv/Makefile b/converters/convmv/Makefile
index 50c7668c6ef4..656949560531 100644
--- a/converters/convmv/Makefile
+++ b/converters/convmv/Makefile
@@ -7,6 +7,7 @@
PORTNAME= convmv
PORTVERSION= 1.10
+PORTREVISION= 1
CATEGORIES= converters perl5
MASTER_SITES= http://j3e.de/linux/convmv/
@@ -18,4 +19,10 @@ PLIST_FILES= bin/convmv
MAN1= convmv.1
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500701
+RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Encode.pm:${PORTSDIR}/converters/p5-Encode
+.endif
+
+.include <bsd.port.post.mk>