ports/databases/couchdb3/files/patch-configure
2023-01-11 22:08:28 +00:00

30 lines
876 B
Text

--- configure.orig 2023-01-08 13:30:40 UTC
+++ configure
@@ -19,7 +19,7 @@ basename=`basename $0`
rootdir="$(cd "${0%/*}" 2>/dev/null; echo "$PWD")"
basename=`basename $0`
-PACKAGE_AUTHOR_NAME="The Apache Software Foundation"
+PACKAGE_AUTHOR_NAME="FreeBSD"
REBAR3_BRANCH="main"
@@ -247,12 +247,12 @@ cat > rel/couchdb.config << EOF
% The contents of this file are auto-generated by configure
%
{package_author_name, "$PACKAGE_AUTHOR_NAME"}.
-{prefix, "."}.
-{data_dir, "./data"}.
-{view_index_dir, "./data"}.
-{state_dir, "./data"}.
-{log_file, "$LOG_FILE"}.
-{fauxton_root, "./share/www"}.
+{prefix, "%%APPDIR%%"}.
+{data_dir, "%%DBDIR%%"}.
+{view_index_dir, "%%DBDIR%%"}.
+{state_dir, "%%DBDIR%%"}.
+{log_file, "%%LOG_FILE%%"}.
+{fauxton_root, "%%WWWDIR%%"}.
{user, "$COUCHDB_USER"}.
{spidermonkey_version, "$SM_VSN"}.
{node_name, "-name couchdb@127.0.0.1"}.