[83010] trunk/dports/comms/heyu/Portfile

jmr at macports.org jmr at macports.org
Tue Aug 23 01:39:50 PDT 2011


Revision: 83010
          http://trac.macports.org/changeset/83010
Author:   jmr at macports.org
Date:     2011-08-23 01:39:47 -0700 (Tue, 23 Aug 2011)
Log Message:
-----------
heyu: fix hardcoded installing of files as root/wheel (#26356)

Modified Paths:
--------------
    trunk/dports/comms/heyu/Portfile

Modified: trunk/dports/comms/heyu/Portfile
===================================================================
--- trunk/dports/comms/heyu/Portfile	2011-08-23 08:27:42 UTC (rev 83009)
+++ trunk/dports/comms/heyu/Portfile	2011-08-23 08:39:47 UTC (rev 83010)
@@ -29,6 +29,11 @@
 configure.args		darwin
 configure.cmd		./Configure
 
+post-patch {
+  reinplace "s|OWNER *= *root|OWNER = ${install.user}|g" ${worksrcpath}/Configure
+  reinplace "s|GROUP *= *wheel|GROUP = ${install.group}|g" ${worksrcpath}/Configure
+}
+
 post-destroot {
 	xinstall -d ${destroot}${prefix}/etc/heyu
 	file copy ${worksrcpath}/x10config.sample ${destroot}${prefix}/etc/heyu/x10.conf.sample
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110823/f0a23805/attachment.html>


More information about the macports-changes mailing list