[94340] trunk/dports/net/dnsmasq/Portfile

snc at macports.org snc at macports.org
Fri Jun 15 13:24:37 PDT 2012


Revision: 94340
          https://trac.macports.org/changeset/94340
Author:   snc at macports.org
Date:     2012-06-15 13:24:35 -0700 (Fri, 15 Jun 2012)
Log Message:
-----------
dnsmasq: don't use destroot in post-activate

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

Modified: trunk/dports/net/dnsmasq/Portfile
===================================================================
--- trunk/dports/net/dnsmasq/Portfile	2012-06-15 18:52:28 UTC (rev 94339)
+++ trunk/dports/net/dnsmasq/Portfile	2012-06-15 20:24:35 UTC (rev 94340)
@@ -125,7 +125,7 @@
 post-activate {
     # copy configuration file if not previously created
     if {![file exists ${prefix}/etc/dnsmasq.conf]} {
-        copy ${destroot}${prefix}/etc/dnsmasq.conf.example \
-            ${destroot}${prefix}/etc/dnsmasq.conf
+        copy ${prefix}/etc/dnsmasq.conf.example \
+            ${prefix}/etc/dnsmasq.conf
     }
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120615/0de67a70/attachment.html>


More information about the macports-changes mailing list