diff options
author | rillig <rillig@pkgsrc.org> | 2020-04-27 04:00:10 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2020-04-27 04:00:10 +0000 |
commit | ee7422aeb24678cfaf0aa0dfe812dbc66194372a (patch) | |
tree | 7fc2b0eac107a44ba2fc18626b61b5ef7f96b461 | |
parent | 0b7bd939ca1c4fef3b00e83520d8dabf68a5d094 (diff) | |
download | pkgsrc-ee7422aeb24678cfaf0aa0dfe812dbc66194372a.tar.gz |
www/squid4: fix build for strict SUBST and configure checks
-rw-r--r-- | www/squid4/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/www/squid4/Makefile b/www/squid4/Makefile index 9a102cb27c8..93719850013 100644 --- a/www/squid4/Makefile +++ b/www/squid4/Makefile @@ -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 @@ LICENSE= gnu-gpl-v2 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 @@ RCD_SCRIPT_SRC.squid= files/squid.sh 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: |