pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/squid4 www/squid4: fix build for strict SUBST and ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a91487ab6167
branches:  trunk
changeset: 428304:a91487ab6167
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Mon Apr 27 04:00:10 2020 +0000

description:
www/squid4: fix build for strict SUBST and configure checks

diffstat:

 www/squid4/Makefile |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (29 lines):

diff -r 29995075359b -r a91487ab6167 www/squid4/Makefile
--- a/www/squid4/Makefile       Mon Apr 27 03:51:04 2020 +0000
+++ b/www/squid4/Makefile       Mon Apr 27 04:00:10 2020 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.7 2020/04/23 13:52:24 mef Exp $
+# $NetBSD: Makefile,v 1.8 2020/04/27 04:00:10 rillig Exp $
 
 DISTNAME=      squid-4.11
+PKGREVISION=   1
 CATEGORIES=    www
 MASTER_SITES=  http://www.squid-cache.org/Versions/v4/
 MASTER_SITES+= ftp://ftp.squid-cache.org/pub/squid/
@@ -15,6 +16,7 @@
 USE_LANGUAGES=         c c++11
 USE_TOOLS+=            perl:run gmake
 GNU_CONFIGURE=         yes
+GNU_CONFIGURE_STRICT=  no # has sub-configure in libltdl
 CONFIGURE_ARGS+=       --sysconfdir=${PKG_SYSCONFDIR}
 CONFIGURE_ARGS+=       --localstatedir=${SQUID_DATADIR}
 CONFIGURE_ARGS+=       --datarootdir=${PREFIX}/share/squid
@@ -73,7 +75,7 @@
 SUBST_CLASSES+=                confs
 SUBST_STAGE.confs=     pre-configure
 SUBST_FILES.confs=     src/cf.data.pre
-SUBST_SED.confs=       -e "s/@USER@/${SQUID_USER}/"
+SUBST_SED.confs=       -e "s/@DEFAULT_CACHE_EFFECTIVE_USER@/${SQUID_USER}/"
 SUBST_MESSAGE.confs=   Fixing configuration files.
 
 post-build:



Home | Main Index | Thread Index | Old Index