components/convmv/Makefile
changeset 5638 b88b6c00208e
parent 5550 ffe5f5eac3f7
child 5682 94c0ca64c022
--- a/components/convmv/Makefile	Mon Mar 21 13:11:55 2016 -0700
+++ b/components/convmv/Makefile	Mon Mar 21 13:57:26 2016 -0700
@@ -43,9 +43,6 @@
 
 PATCH_LEVEL=0
 
-# Version of Perl to use in the convmv script.
-PERL_VERSION =	5.20
-
 COMPONENT_TEST_TRANSFORMS += \
 	'-e "s/ in [0-9][0-9]*\.*[0-9]* seconds.//" ' \
 	'-e "/^unimplemented function: utime.*$$/d" '
@@ -57,7 +54,7 @@
 # Adjust the '#!/usr/bin/perl' at the beginning of the convmv script to use
 # '#!/usr/perl5/$(PERL_VERSION)/bin/perl'
 COMPONENT_POST_INSTALL_ACTION += \
-	$(GSED) -i -e 's?/usr/bin/perl?/usr/perl5/$(PERL_VERSION)/bin/perl?' \
+	$(GSED) -i -e 's?/usr/bin/perl?$(PERL)?' \
 		$(PROTOUSRBINDIR)/convmv;
 
 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
@@ -70,4 +67,4 @@
 
 system-test:    $(SYSTEM_TEST_64)
 
-REQUIRED_PACKAGES += runtime/perl-520
+REQUIRED_PACKAGES += $(PERL_PKG)