Revision
87388
Author
ryandesign@macports.org
Date
2011-11-18 21:59:48 -0800 (Fri, 18 Nov 2011)

Log Message

nfsen: fix assumption that worksrcpath is the current working directory; see #22922

Modified Paths

Diff

Modified: trunk/dports/net/nfsen/Portfile (87387 => 87388)


--- trunk/dports/net/nfsen/Portfile	2011-11-19 05:47:36 UTC (rev 87387)
+++ trunk/dports/net/nfsen/Portfile	2011-11-19 05:59:48 UTC (rev 87388)
@@ -77,7 +77,7 @@
 # Set profiles-stat and profiles-data to destroot until install is done
         reinplace "s|\${VARDIR}/profiles|${destroot}${prefix}/var/nfsen/profiles|g" \
                 ${worksrcpath}/etc/nfsen-dist.conf
-        system "${prefix}/bin/perl5.12 ${worksrcpath}/install.pl ${worksrcpath}/etc/nfsen-dist.conf"
+        system -W ${worksrcpath} "${prefix}/bin/perl5.12 ./install.pl ./etc/nfsen-dist.conf"
 
 # Replace the original .conf file
         file rename -force ${destroot}${prefix}/etc/nfsen-dist.conf.org \