[131846] trunk/dports/net/wakeonlan/Portfile
ryandesign at macports.org
ryandesign at macports.org
Mon Jan 19 15:42:18 PST 2015
Revision: 131846
https://trac.macports.org/changeset/131846
Author: ryandesign at macports.org
Date: 2015-01-19 15:42:18 -0800 (Mon, 19 Jan 2015)
Log Message:
-----------
wakeonlan: use perl5.16 (#45250; maintainer timeout)
Modified Paths:
--------------
trunk/dports/net/wakeonlan/Portfile
Modified: trunk/dports/net/wakeonlan/Portfile
===================================================================
--- trunk/dports/net/wakeonlan/Portfile 2015-01-19 22:59:31 UTC (rev 131845)
+++ trunk/dports/net/wakeonlan/Portfile 2015-01-19 23:42:18 UTC (rev 131846)
@@ -4,6 +4,7 @@
name wakeonlan
version 0.41
+revision 1
categories net
maintainers mww
platforms darwin freebsd
@@ -20,16 +21,18 @@
rmd160 ddbc2af097bb46bd8afd2c37007c5ed5291ee0e7 \
sha256 581b1b27a7e810ab72668cce4bd9aa9b3e0cea34b2db24dd1a44c09d63ddda98
-depends_lib path:bin/perl:perl5
+set perl_version 5.16
+depends_lib port:perl${perl_version}
+
installs_libs no
patch {
- reinplace -locale C "s|/usr/bin/perl -w|${prefix}/bin/perl -w|g" ${worksrcpath}/wakeonlan
+ reinplace -locale C "s|/usr/bin/perl -w|${prefix}/bin/perl${perl_version} -w|g" ${worksrcpath}/wakeonlan
}
configure {
- system -W ${worksrcpath} "perl Makefile.PL"
+ system -W ${worksrcpath} "${prefix}/bin/perl${perl_version} Makefile.PL"
}
destroot {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150119/a70ab80d/attachment.html>
More information about the macports-changes
mailing list