freebsd-ports/databases/couchdb2/files/patch-configure
Dave Cottlehuber 1225768912 databases/couchdb2: new port via PR#218844
Summary: JSON document database with HTTP API & scalable multi-master sync

A number of people provided signficant assistance while developing this
port. Thank-you for your perseverance and assistance.

PR:		 218844
Submitted by:	dch
Reviewed by:	Reshad Patuck, Richard Gallamore, Tobias Herre, mat, ler, pi
Approved by:	jrm (mentor)
Differential Revision:	https://reviews.freebsd.org/D16819
2018-09-21 15:21:00 +00:00

26 lines
704 B
Text

--- configure.orig 2018-08-18 17:55:47 UTC
+++ configure
@@ -19,7 +19,7 @@
rootdir="$(cd "${0%/*}" 2>/dev/null; echo "$PWD")"
basename=`basename $0`
-PACKAGE_AUTHOR_NAME="The Apache Software Foundation"
+PACKAGE_AUTHOR_NAME="FreeBSD"
# TEST=0
WITH_CURL="false"
@@ -168,10 +168,10 @@ cat > rel/couchdb.config << EOF
%
{package_author_name, "$PACKAGE_AUTHOR_NAME"}.
-{prefix, "."}.
+{prefix, "%%APPDIR%%"}.
-{data_dir, "./data"}.
-{view_index_dir, "./data"}.
+{data_dir, "%%DBDIR%%"}.
+{view_index_dir, "%%DBDIR%%"}.
{log_file, "$LOG_FILE"}.
-{fauxton_root, "./share/www"}.
+{fauxton_root, "%%WWWDIR%%"}.
{user, "$COUCHDB_USER"}.
{node_name, "-name couchdb@127.0.0.1"}.
{cluster_port, 5984}.