ganglia-webfrontend: Fix Makefile patch

This commit is contained in:
Jason Bacon 2018-09-19 16:31:05 -05:00
parent 19404ace0f
commit dfd8c256cd
2 changed files with 3 additions and 3 deletions

View File

@ -4,6 +4,6 @@ SHA1 (3.7.4.tar.gz) = 0d2cfe080b0c28c0ba9e60c9441099e1dccea15e
RMD160 (3.7.4.tar.gz) = 5f4371b3b255ef7751255badcc928d38a2ffb356
SHA512 (3.7.4.tar.gz) = bcec0d7388c7055b79c356901302d934555a5a61ad41a3e97ba6bcb9f7afb89798c497abf4b7d57f76d93fe82ab2f4b7c4a02fa8c19126d151e44ab4e8016765
Size (3.7.4.tar.gz) = 709630 bytes
SHA1 (patch-Makefile) = 510427fb04c5ebf7844caeefecc418945edb2064
SHA1 (patch-Makefile) = 72fd912c847da6620006d7e8bf97c318ca480d68
SHA1 (patch-conf__default.php.in) = 0d5d9417d20f74bd1b1e3ab4e83738779a19fda1
SHA1 (patch-eval__conf.php) = ce40cbee4c9867f86a67009074d0d46308dcb561

View File

@ -2,14 +2,14 @@ $NetBSD$
# Assert proper paths
--- Makefile.orig 2018-09-19 20:38:59.201524924 +0000
--- Makefile.orig 2018-03-13 20:37:09.000000000 +0000
+++ Makefile
@@ -66,7 +66,7 @@ clean:
rm -rf $(TARGETS) $(DIST_DIR) $(DIST_TARBALL) rpmbuild
conf_default.php: conf_default.php.in
- sed -e "s|@vargmetadir@|$(GMETAD_ROOTDIR)|" -e "s|@vargwebstatedir@|$(GWEB_STATEDIR)|g" conf_default.php.in > conf_default.php
+ sed -e "s|@etcdir@|$(GCONFDIR)|" -e "s|@vargwebstatedir@|$(GWEB_STATEDIR)|g" conf_default.php.in > conf_default.php
+ sed -e "s|@etcdir@|$(GCONFDIR)|" -e "s|@vargmetadir@|$(GMETAD_ROOTDIR)|" -e "s|@vargwebstatedir@|$(GWEB_STATEDIR)|g" conf_default.php.in > conf_default.php
ganglia-web.spec: ganglia-web.spec.in
sed -e s/@GWEB_VERSION@/$(GWEB_VERSION)/ -e "s|@vargwebdir@|$(GWEB_STATEDIR)|" -e "s|@varapacheuser@|$(APACHE_USER)|g" -e "s|@etcdir@|$(GCONFDIR)|g" ganglia-web.spec.in > ganglia-web.spec