[105107] trunk/dports/databases/cassandra/Portfile

and.damore at macports.org and.damore at macports.org
Wed Apr 10 09:38:39 PDT 2013


Revision: 105107
          https://trac.macports.org/changeset/105107
Author:   and.damore at macports.org
Date:     2013-04-10 09:38:39 -0700 (Wed, 10 Apr 2013)
Log Message:
-----------
port cassandra: adding /usr/sbin to PATH and setting explicit __CPPREFERENCE_AVOID_DAEMON in the startup item; fixes #38495; nomaintainer

Modified Paths:
--------------
    trunk/dports/databases/cassandra/Portfile

Modified: trunk/dports/databases/cassandra/Portfile
===================================================================
--- trunk/dports/databases/cassandra/Portfile	2013-04-10 16:22:16 UTC (rev 105106)
+++ trunk/dports/databases/cassandra/Portfile	2013-04-10 16:38:39 UTC (rev 105107)
@@ -105,7 +105,11 @@
 }
 
 startupitem.create      yes
-startupitem.executable  sudo -u ${cassandrauser} ${prefix}/bin/cassandra
+# memo: delete env setup when release merges in r104118
+startupitem.executable  sudo -u ${cassandrauser} env \
+                            PATH=${prefix}/bin:${prefix}/sbin:/usr/bin:/bin:/usr/sbin:/sbin \
+                            __CFPREFERENCES_AVOID_DAEMON=1 \
+                            ${prefix}/bin/cassandra
 
 livecheck.type          regex
 livecheck.url           ${homepage}download/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130410/becac4d0/attachment.html>


More information about the macports-changes mailing list