[138744] trunk/dports/sysutils/moreutils/Portfile

khindenburg at macports.org khindenburg at macports.org
Fri Jul 17 18:10:33 PDT 2015


Revision: 138744
          https://trac.macports.org/changeset/138744
Author:   khindenburg at macports.org
Date:     2015-07-17 18:10:32 -0700 (Fri, 17 Jul 2015)
Log Message:
-----------
moreutils: change variable to avoid confusion

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

Modified: trunk/dports/sysutils/moreutils/Portfile
===================================================================
--- trunk/dports/sysutils/moreutils/Portfile	2015-07-18 01:10:28 UTC (rev 138743)
+++ trunk/dports/sysutils/moreutils/Portfile	2015-07-18 01:10:32 UTC (rev 138744)
@@ -38,14 +38,17 @@
 checksums               rmd160  9371603e3a56d7502f6d796d8fec300201f57bf9 \
                         sha256  ec4b7a1e1d1e1d6ec606d2877301ec06c6cf4091776687d9b76f4d019705e77f
 
-set branch              5.22
-depends_run             port:perl${branch} \
-                        port:p${branch}-ipc-run
+# set pbranch to desired perl version
+# currently 5.22 (#48365)
+set pbranch             5.22
 
+depends_run             port:perl${pbranch} \
+                        port:p${pbranch}-ipc-run
+
 patchfiles              patch-Makefile.diff
 
 post-patch {
-    reinplace "s|/usr/bin/perl|${prefix}/bin/perl${branch}|" \
+    reinplace "s|/usr/bin/perl|${prefix}/bin/perl${pbranch}|" \
         ${worksrcpath}/vidir ${worksrcpath}/vipe \
         ${worksrcpath}/ts ${worksrcpath}/combine \
         ${worksrcpath}/zrun ${worksrcpath}/chronic
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150717/a4b29884/attachment.html>


More information about the macports-changes mailing list