[43200] trunk/dports/net/wakeonlan/Portfile

mcalhoun at macports.org mcalhoun at macports.org
Sat Dec 6 19:13:41 PST 2008


Revision: 43200
          http://trac.macports.org/changeset/43200
Author:   mcalhoun at macports.org
Date:     2008-12-06 19:13:41 -0800 (Sat, 06 Dec 2008)
Log Message:
-----------
wakeonlan: Ensure that MacPorts perl is used.
Set the default perl to perl5 (see #16830).
Fixes #17512 (maintainer timeout).

Modified Paths:
--------------
    trunk/dports/net/wakeonlan/Portfile

Modified: trunk/dports/net/wakeonlan/Portfile
===================================================================
--- trunk/dports/net/wakeonlan/Portfile	2008-12-07 03:11:54 UTC (rev 43199)
+++ trunk/dports/net/wakeonlan/Portfile	2008-12-07 03:13:41 UTC (rev 43200)
@@ -16,11 +16,10 @@
 master_sites	${homepage}downloads/
 checksums	md5 d3143c5fe92d16196ac853b55dd421b5
 
-depends_build   bin:perl:perl5.8
-depends_run	bin:perl:perl5.8
+depends_lib     path:bin/perl:perl5
 
 patch {
-	reinplace "s|/usr/bin/perl -w|/usr/bin/env perl|g" ${worksrcpath}/wakeonlan
+	reinplace "s|/usr/bin/perl -w|${prefix}/bin/perl -w|g" ${worksrcpath}/wakeonlan
 }
 
 configure {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081206/9dbabe76/attachment.html>


More information about the macports-changes mailing list