[152063] trunk/dports/audio/pulseaudio/Portfile

ionic at macports.org ionic at macports.org
Sun Aug 28 10:37:30 PDT 2016


Revision: 152063
          https://trac.macports.org/changeset/152063
Author:   ionic at macports.org
Date:     2016-08-28 10:37:30 -0700 (Sun, 28 Aug 2016)
Log Message:
-----------
pulseaudio: hardcode Perl version via a separate variable to update multiple places at once.

Modified Paths:
--------------
    trunk/dports/audio/pulseaudio/Portfile

Modified: trunk/dports/audio/pulseaudio/Portfile
===================================================================
--- trunk/dports/audio/pulseaudio/Portfile	2016-08-28 17:36:54 UTC (rev 152062)
+++ trunk/dports/audio/pulseaudio/Portfile	2016-08-28 17:37:30 UTC (rev 152063)
@@ -31,12 +31,14 @@
 checksums           rmd160  fc2700ec34ae9cbecd85c1ad6253b4c224541c96 \
                     sha256  690eefe28633466cfd1ab9d85ebfa9376f6b622deec6bfee5091ac9737cd1989
 
+set perl_branch     5.22
+
 depends_build       port:pkgconfig \
                     port:intltool \
                     port:autoconf \
                     port:automake \
                     port:libtool \
-                    port:p5.22-xml-parser
+                    port:p${perl_branch}-xml-parser
 
 depends_lib         port:libiconv \
                     port:json-c \
@@ -81,10 +83,9 @@
                     patch-src_modules_macosx_module_coreaudio_detect_device.c-add-record-playback-modarg.diff
 
 # reconfigure using upstream autogen.sh for intltool 0.51 compatibility
-
 post-patch {
     xinstall -m 755 ${filespath}/autogen.sh ${worksrcpath}
-    reinplace "s|@@MP_PERL@@|${prefix}/bin/perl5.22|" ${worksrcpath}/man/Makefile.am
+    reinplace "s|@@MP_PERL@@|${prefix}/bin/perl${perl_branch}|" ${worksrcpath}/man/Makefile.am
 }
 
 configure.cmd       ./autogen.sh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160828/f2ea386b/attachment.html>


More information about the macports-changes mailing list