Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-ports
Path: blob/main/databases/couchdb3/files/patch-configure
18157 views
--- configure.orig	2024-10-01 06:38:09 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="3.23.0"
 ERLFMT_VERSION="v1.3.0"
@@ -369,16 +369,16 @@ 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"}.
-{nouveau_index_dir, "./data/nouveau"}.
+{prefix, "%%APPDIR%%"}.
+{data_dir, "%%DBDIR%%"}.
+{view_index_dir, "%%DBDIR%%"}.
+{nouveau_index_dir, "%%DBDIR%%/nouveau"}.
 {nouveau_url, "http://127.0.0.1:5987"}.
 {nouveau_port, 5987}.
 {nouveau_admin_port, 5988}.
-{state_dir, "./data"}.
-{log_file, "$LOG_FILE"}.
-{fauxton_root, "./share/www"}.
+{state_dir, "%%DBDIR%%"}.
+{log_file, "%%LOG_FILE%%"}.
+{fauxton_root, "%%WWWDIR%%"}.
 {user, "$COUCHDB_USER"}.
 {js_engine, "$JS_ENGINE"}.
 {spidermonkey_version, "$SM_VSN"}.