[43062] trunk/dports/net/ipcalc/Portfile

mcalhoun at macports.org mcalhoun at macports.org
Wed Dec 3 17:51:00 PST 2008


Revision: 43062
          http://trac.macports.org/changeset/43062
Author:   mcalhoun at macports.org
Date:     2008-12-03 17:51:00 -0800 (Wed, 03 Dec 2008)
Log Message:
-----------
ipcalc: Ensure that MacPorts perl is used.
Change default perl to perl5 (see #16830).

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

Modified: trunk/dports/net/ipcalc/Portfile
===================================================================
--- trunk/dports/net/ipcalc/Portfile	2008-12-04 01:48:42 UTC (rev 43061)
+++ trunk/dports/net/ipcalc/Portfile	2008-12-04 01:51:00 UTC (rev 43062)
@@ -18,10 +18,10 @@
 master_sites	http://jodies.de/ipcalc-archive/
 checksums		md5 9b95b0b6b9425e78b08f648eefeb84e0
 
-depends_run		bin:perl:perl5.8
+depends_run		path:bin/perl:perl5
 
 configure	{
-	reinplace "s|/usr/bin/perl -w|/usr/bin/env perl|g" ${worksrcpath}/ipcalc
+	reinplace "s|/usr/bin/perl -w|${prefix}/bin/perl -w|g" ${worksrcpath}/ipcalc
 }
 
 build			{}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081203/915d1904/attachment.html>


More information about the macports-changes mailing list