Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/databases/mongodb databases/mongodb: remove no-op file...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3140b2e1286d
branches:  trunk
changeset: 430549:3140b2e1286d
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Fri May 01 22:17:18 2020 +0000

description:
databases/mongodb: remove no-op file from SUBST_FILES

mongod_options.cpp doesn't contain any pathnames anymore.

While here, the substitutions for /var looked suspicious but were ok
since everything happens in the mongodb/ subdirectory.

diffstat:

 databases/mongodb/Makefile |  7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diffs (28 lines):

diff -r 962953dc038e -r 3140b2e1286d databases/mongodb/Makefile
--- a/databases/mongodb/Makefile        Fri May 01 22:05:00 2020 +0000
+++ b/databases/mongodb/Makefile        Fri May 01 22:17:18 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.54 2020/04/19 10:05:50 adam Exp $
+# $NetBSD: Makefile,v 1.55 2020/05/01 22:17:18 rillig Exp $
 
 DISTNAME=      mongodb-src-r4.2.6
 PKGNAME=       ${DISTNAME:S/src-r//}
@@ -93,7 +93,6 @@
 SUBST_STAGE.path=      pre-build
 SUBST_MESSAGE.path=    Replacing database paths.
 SUBST_FILES.path=      debian/mongo.1 debian/mongod.1
-SUBST_FILES.path+=     src/mongo/db/mongod_options.cpp
 SUBST_FILES.path+=     src/mongo/db/storage/storage_options.cpp
 SUBST_SED.path=                -e 's,/data/db,${MONGODB_DBPATH},g'
 SUBST_SED.path+=       -e 's,/data/configdb,${MONGODB_CONFIGDBPATH},g'
@@ -103,8 +102,8 @@
 SUBST_STAGE.varbase=   pre-build
 SUBST_MESSAGE.varbase= Changing /var to ${VARBASE}.
 SUBST_FILES.varbase=   debian/mongod.conf
-SUBST_SED.varbase=     -e 's,/var/lib,${VARBASE},g'
-SUBST_SED.varbase+=    -e 's,/var/log,${VARBASE},g'
+SUBST_SED.varbase=     -e 's,/var/lib/mongodb,${VARBASE}/mongodb,g'
+SUBST_SED.varbase+=    -e 's,/var/log/mongodb,${VARBASE}/mongodb,g'
 
 SUBST_CLASSES+=                python
 SUBST_STAGE.python=    pre-build



Home | Main Index | Thread Index | Old Index