git: fd234539c339 - main - databases/couchdb3: un-bork configure script

From: Dave Cottlehuber <dch_at_FreeBSD.org>
Date: Thu, 12 Jan 2023 00:14:19 UTC
The branch main has been updated by dch:

URL: https://cgit.FreeBSD.org/ports/commit/?id=fd234539c3390823961f508abade859d902c23c3

commit fd234539c3390823961f508abade859d902c23c3
Author:     Dave Cottlehuber <dch@FreeBSD.org>
AuthorDate: 2023-01-12 00:09:34 +0000
Commit:     Dave Cottlehuber <dch@FreeBSD.org>
CommitDate: 2023-01-12 00:13:34 +0000

    databases/couchdb3: un-bork configure script
    
    Fix default log location and missing online docs
    broken in last commit.
    
    Fixes:  2d9ecbe7c5077a6a1a81264f28473ed1e8bfe02d
---
 databases/couchdb3/Makefile | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/databases/couchdb3/Makefile b/databases/couchdb3/Makefile
index f4b8f3a0d7be..44549a0742bf 100644
--- a/databases/couchdb3/Makefile
+++ b/databases/couchdb3/Makefile
@@ -33,7 +33,7 @@ SUB_LIST=	APPDIR=${_APPDIR} \
 		ERL_PATH=${LOCALBASE}/lib/erlang${_ERLVER}/bin/erl \
 		PORTNAME=${PORTNAME} \
 		RELDIR=${_RELDIR} \
-		WWWDIR=${_WWWDIR}
+		WWWDIR=${WWWDIR}
 PLIST_SUB=	VERSION=${DISTVERSION}
 
 HAS_CONFIGURE=	yes
@@ -65,8 +65,8 @@ EXTRA_PATCHES=	${PATCHDIR}/extra-patch-src_jiffy_c__src_double-conversion_strtod
 
 post-patch:
 	@${REINPLACE_CMD} \
-	    -e 's,$$COUCHDB_USER,${USERS},g' \
-	    -e 's,$$LOG_FILE,${_LOGFILE},g' \
+	    -e 's,%%COUCHDB_USER%%,${USERS},g' \
+	    -e 's,%%LOG_FILE%%,${_LOGFILE},g' \
 	    -e 's,%%APPDIR%%,${_APPDIR},g' \
 	    -e 's,%%DATADIR%%,${_DATADIR},g' \
 	    -e 's,%%DBDIR%%,${_DBDIR},g' \