pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/multimedia/libvpx multimediaa/lbvpx: Use !empty(PKGSRC...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f334edac9f11
branches:  trunk
changeset: 418247:f334edac9f11
user:      gdt <gdt%pkgsrc.org@localhost>
date:      Sat Nov 23 19:17:44 2019 +0000

description:
multimediaa/lbvpx: Use !empty(PKGSRC_COMPILER:Mgcc) to check for gcc

This commit merely extends an existing workaround to all builds that
use gcc, rather than only those that use gcc without ccache or distcc.

diffstat:

 multimedia/libvpx/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 067fb358ec6e -r f334edac9f11 multimedia/libvpx/Makefile
--- a/multimedia/libvpx/Makefile        Sat Nov 23 19:09:26 2019 +0000
+++ b/multimedia/libvpx/Makefile        Sat Nov 23 19:17:44 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.78 2019/08/11 13:22:04 wiz Exp $
+# $NetBSD: Makefile,v 1.79 2019/11/23 19:17:44 gdt Exp $
 
 DISTNAME=      libvpx-1.8.1
 PKGREVISION=   1
@@ -26,7 +26,7 @@
 .include "../../mk/bsd.prefs.mk"
 
 .if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64"
-.  if ${PKGSRC_COMPILER} == "gcc" && (${OPSYS} == "NetBSD" || ${OPSYS} == "SunOS")
+.  if !empty(${PKGSRC_COMPILER:Mgcc}) && (${OPSYS} == "NetBSD" || ${OPSYS} == "SunOS")
 # PR pkg/48508: GCC 4.4 or later is required to compile ssse3 code on NetBSD & Solaris.
 GCC_REQD+=     4.4
 .  endif



Home | Main Index | Thread Index | Old Index