[41163] trunk/dports/archivers/deb2targz/Portfile
mcalhoun at macports.org
mcalhoun at macports.org
Sun Oct 26 13:10:59 PDT 2008
Revision: 41163
http://trac.macports.org/changeset/41163
Author: mcalhoun at macports.org
Date: 2008-10-26 13:10:58 -0700 (Sun, 26 Oct 2008)
Log Message:
-----------
deb2targz: Ensure that the MacPorts perl is used.
Modified Paths:
--------------
trunk/dports/archivers/deb2targz/Portfile
Modified: trunk/dports/archivers/deb2targz/Portfile
===================================================================
--- trunk/dports/archivers/deb2targz/Portfile 2008-10-26 19:51:32 UTC (rev 41162)
+++ trunk/dports/archivers/deb2targz/Portfile 2008-10-26 20:10:58 UTC (rev 41163)
@@ -22,10 +22,10 @@
sha1 db159f5c5f46805554361eca55d123b68f8b5c3d \
rmd160 5869859e592df664602e54df4d1d596e1fda2ac9
-depends_run bin:perl:perl5.8
+depends_run path:${prefix}/bin/perl:perl5.8
post-patch {
- reinplace "s|/usr/bin/perl -w|/usr/bin/env perl|g" ${worksrcpath}/deb2targz
+ reinplace "s|#!/usr/bin/perl -w|#!${prefix}/bin/perl -w|g" ${worksrcpath}/deb2targz
}
use_configure no
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081026/b8d78a8e/attachment-0001.html>
More information about the macports-changes
mailing list