gnunet: fix substitution in Makefile
authornikita <nikita@NetBSD.org>
Mon, 21 Mar 2022 20:04:50 +0000 (21:04 +0100)
committernikita <nikita@NetBSD.org>
Mon, 21 Mar 2022 20:04:50 +0000 (21:04 +0100)
gnunet/Makefile

index a814804db6a9cba0cf5d880e93284d9f08f1fcc7..87a09f61c91a6e8e04f80fa60de60601210a3ae6 100644 (file)
@@ -69,9 +69,9 @@ SUBST_STAGE.sysconfdir=               post-build
 SUBST_MESSAGE.sysconfdir=      Fixing paths in gnunet.conf
 SUBST_FILES.sysconfdir=                ${FILESDIR}/gnunet.conf
 SUBST_SED.sysconfdir+=         -e 's,^DEFAULTCONFIG.*,DEFAULTCONFIG = ${PKG_SYSCONFDIR}/gnunet.conf,g'
-SUBST_SED.sysconfdir+=         -e 's,^GNUNET_DATA_HOME.*,GNUNET_DATA_HOME = ${GNUNET_DIR}/data,g'
-SUBST_SED.sysconfdir+=         -e 's,^GNUNET_RUNTIME_DIR.*,GNUNET_RUNTIME_DIR = ${GNUNET_DIR},g'
-SUBST_SED.sysconfdir+=         -e 's,^GNUNET_HOME.*,GNUNET_HOME = ${GNUNET_DIR},g'
+SUBST_SED.sysconfdir+=         -e 's,^GNUNET_DATA_HOME.*,GNUNET_DATA_HOME = "${GNUNET_DIR}"/data,g'
+SUBST_SED.sysconfdir+=         -e 's,^GNUNET_RUNTIME_DIR.*,GNUNET_RUNTIME_DIR = "${GNUNET_DIR}",g'
+SUBST_SED.sysconfdir+=         -e 's,^GNUNET_HOME.*,GNUNET_HOME = "${GNUNET_DIR}",g'
 
 # All helpers have to be suid. fs helper must not be suid.
 # Some helpers and functionalities are only supported on