[154104] trunk/dports/sysutils/rpm/Portfile

mojca at macports.org mojca at macports.org
Thu Oct 20 05:25:44 CEST 2016


Revision: 154104
          https://trac.macports.org/changeset/154104
Author:   mojca at macports.org
Date:     2016-10-19 20:25:44 -0700 (Wed, 19 Oct 2016)
Log Message:
-----------
rpm: switch to perl5.24 (#52081)

Modified Paths:
--------------
    trunk/dports/sysutils/rpm/Portfile

Modified: trunk/dports/sysutils/rpm/Portfile
===================================================================
--- trunk/dports/sysutils/rpm/Portfile	2016-10-20 03:21:54 UTC (rev 154103)
+++ trunk/dports/sysutils/rpm/Portfile	2016-10-20 03:25:44 UTC (rev 154104)
@@ -1,10 +1,12 @@
 # $Id$
 
 PortSystem 1.0
+PortGroup		perl5 1.0
 
 name			rpm
 version			4.4.9
-revision		18
+revision		19
+perl5.branches	5.24
 platforms		darwin freebsd linux
 license			GPL-2 LGPL-2
 categories		sysutils archivers
@@ -20,7 +22,7 @@
 master_sites		${homepage}/files/${name}/${name}-4.4
 checksums		md5 210b768006e7d88dd8a3bcd498ea27f6
 
-depends_build		port:python27 port:perl5.22
+depends_build		port:python27 port:perl${perl5.major}
 
 depends_lib		port:gettext \
 			port:popt port:sqlite3 port:beecrypt \
@@ -37,12 +39,12 @@
 configure.args		--disable-nls --without-javaglue --without-included-gettext \
 			--with-libintl-prefix=${prefix} --with-libiconv-prefix=${prefix} \
 			--mandir=${prefix}/share/man --infodir=${prefix}/share/info \
-			--with-python=2.7 --with-perl=5.22 --without-apidocs \
+			--with-python=2.7 --with-perl=${perl5.major} --without-apidocs \
 			--sysconfdir=${prefix}/etc
 
 configure.libs-append	-liconv
 
-configure.env		__PYTHON=${prefix}/bin/python2.7 __PERL=${prefix}/bin/perl5.22
+configure.env		__PYTHON=${prefix}/bin/python2.7 __PERL=${perl5.bin}
 
 			# needed because it checks for sqlite3_open in sqlite lib...
 configure.env-append	ac_cv_lib_sqlite_sqlite3_open=yes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-changes/attachments/20161019/5cbd43eb/attachment-0002.html>


More information about the macports-changes mailing list