Received: by mail.netbsd.org (Postfix, from userid 605) id AB83684D43; Sun, 24 Nov 2019 01:05:38 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 333C684D37 for ; Sun, 24 Nov 2019 01:05:38 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id kA5r993lLeUp for ; Sun, 24 Nov 2019 01:05:37 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 88DCE84C85 for ; Sun, 24 Nov 2019 01:05:37 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 86B73FA97; Sun, 24 Nov 2019 01:05:37 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1574557537106840" MIME-Version: 1.0 Date: Sun, 24 Nov 2019 01:05:37 +0000 From: "Greg Troxel" Subject: CVS commit: pkgsrc/www/varnish To: pkgsrc-changes@NetBSD.org Reply-To: gdt@netbsd.org X-Mailer: log_accum Message-Id: <20191124010537.86B73FA97@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1574557537106840 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: gdt Date: Sun Nov 24 01:05:37 UTC 2019 Modified Files: pkgsrc/www/varnish: Makefile Log Message: www/varnish: Fix compiler check via pkglint AUTOFIX: Makefile:58: Replacing "${PKGSRC_COMPILER} == \"sunpro\"" with "${PKGSRC_COMPILER:Msunpro}". The PKGSRC_COMPILER can be a list of chained compilers, e.g. "ccache distcc clang". Therefore, comparing it using == or != leads to wrong results in these cases. To generate a diff of this commit: cvs rdiff -u -r1.27 -r1.28 pkgsrc/www/varnish/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1574557537106840 Content-Disposition: inline Content-Length: 845 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/www/varnish/Makefile diff -u pkgsrc/www/varnish/Makefile:1.27 pkgsrc/www/varnish/Makefile:1.28 --- pkgsrc/www/varnish/Makefile:1.27 Thu Apr 25 07:33:28 2019 +++ pkgsrc/www/varnish/Makefile Sun Nov 24 01:05:37 2019 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.27 2019/04/25 07:33:28 maya Exp $ +# $NetBSD: Makefile,v 1.28 2019/11/24 01:05:37 gdt Exp $ # DISTNAME= varnish-3.0.6 @@ -55,7 +55,7 @@ CONFIGURE_ARGS+= --with-rst2html=${PREFI .if ${OPSYS} == "SunOS" # Explicitly disable epoll on illumos, provided for Linux compat only. CONFIGURE_ENV+= ac_cv_func_epoll_ctl=no -. if ${PKGSRC_COMPILER} == "sunpro" +. if ${PKGSRC_COMPILER:Msunpro} CONFIGURE_ENV+= VCC_CC="cc ${_COMPILER_ABI_FLAG.${ABI}} -Kpic -G -o %o %s" . else CONFIGURE_ENV+= VCC_CC="gcc ${_COMPILER_ABI_FLAG.${ABI}} -fpic -shared -o %o %s" --_----------=_1574557537106840--