[MacPorts] #40360: couchdb can't install into userdir
MacPorts
noreply at macports.org
Mon Sep 2 21:35:28 PDT 2013
#40360: couchdb can't install into userdir
----------------------+--------------------------------
Reporter: mtb19@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.2.0
Resolution: | Keywords:
Port: |
----------------------+--------------------------------
Comment (by mtb19@…):
This work-around seems to get it built and installed:
{{{
---
[__MACPORTS_ROOT__]/var/macports/sources/rsync.macports.org/release/tarballs/ports/databases/couchdb/Portfile.orig
2013-07-15 09:03:12.000000000 -0700
+++
[__MACPORTS_ROOT__]/var/macports/sources/rsync.macports.org/release/tarballs/ports/databases/couchdb/Portfile
2013-09-02 21:28:36.000000000 -0700
@@ -51,13 +51,13 @@
--with-erlang=${prefix}/lib/erlang/usr/include \
--enable-js-trunk
-set dbgroup couchdb
-set dbuser couchdb
+set dbgroup [__USER__]
+set dbuser [__USER__]
set logdir ${prefix}/var/log/couchdb
set dbdir ${prefix}/var/lib/couchdb
set confdir ${prefix}/etc/couchdb
set rundir ${prefix}/var/run/couchdb
-set plistdir /Library/LaunchDaemons
+set plistdir ${prefix}/Library/LaunchDaemons
startupitem.uniquename org.apache.couchdb
set plist ${startupitem.uniquename}.plist
}}}
(Where "[ _ _ USER _ _ ]" is the installer's username.)
--
Ticket URL: <https://trac.macports.org/ticket/40360#comment:1>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list