[138683] users/devans/GNOME-3/stable/dports/textproc/intltool/Portfile

devans at macports.org devans at macports.org
Wed Jul 15 21:14:38 PDT 2015


Revision: 138683
          https://trac.macports.org/changeset/138683
Author:   devans at macports.org
Date:     2015-07-15 21:14:38 -0700 (Wed, 15 Jul 2015)
Log Message:
-----------
GNOME-3/stable: intltool, remove unnecessary perl variants and just use perl5.22 (#48365).

Modified Paths:
--------------
    users/devans/GNOME-3/stable/dports/textproc/intltool/Portfile

Modified: users/devans/GNOME-3/stable/dports/textproc/intltool/Portfile
===================================================================
--- users/devans/GNOME-3/stable/dports/textproc/intltool/Portfile	2015-07-16 04:09:37 UTC (rev 138682)
+++ users/devans/GNOME-3/stable/dports/textproc/intltool/Portfile	2015-07-16 04:14:38 UTC (rev 138683)
@@ -2,11 +2,11 @@
 # $Id$
 
 PortSystem          1.0
-PortGroup           perl5 1.0
 
 name                intltool
 epoch               1
 version             0.51.0
+revision            1
 maintainers         devans openmaintainer
 categories          textproc gnome
 license             GPL-2+
@@ -30,22 +30,23 @@
 checksums           rmd160  f10a7a86bdc504db22c2e1eb4e09705c6a41fbaa \
                     sha256  67c74d94196b153b774ab9f89b2fa6c6ba79352407037c8c14d5aeb334e959cd
 
-perl5.require_variant   yes
-perl5.conflict_variants yes
-perl5.branches          5.16 5.18 5.20 5.22
-perl5.create_variants   ${perl5.branches}
+# intltool only uses perl internally and publishes no public modules
+# so there is no need for multiple perl variants
+# now using perl5.22 (#48365)
 
+set branch          5.22
+
 depends_build       port:gnome-common
 
 depends_lib-append  port:expat \
-                    port:p${perl5.major}-getopt-long \
-                    port:p${perl5.major}-pathtools \
-                    port:p${perl5.major}-scalar-list-utils \
-                    port:p${perl5.major}-xml-parser
+                    port:p${branch}-getopt-long \
+                    port:p${branch}-pathtools \
+                    port:p${branch}-scalar-list-utils \
+                    port:p${branch}-xml-parser
 
 patchfiles          patch-remove-intltool-perl-hack.diff
 
-configure.perl      ${prefix}/bin/perl${perl5.major}
+configure.perl      ${prefix}/bin/perl${branch}
 
 test.run            yes
 test.target         check
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150715/83786f9b/attachment.html>


More information about the macports-changes mailing list