pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/multimedia/libvpx multimedia/libvpx: Simplify GCC_REQD



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6b33a927550e
branches:  trunk
changeset: 418248:6b33a927550e
user:      gdt <gdt%pkgsrc.org@localhost>
date:      Sat Nov 23 19:37:20 2019 +0000

description:
multimedia/libvpx: Simplify GCC_REQD

As suggested by jperkin@, since gcc 4.4 is ancient, just require it
whenever using sse, instead of a complicated conditional by OS.

diffstat:

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

diffs (23 lines):

diff -r f334edac9f11 -r 6b33a927550e multimedia/libvpx/Makefile
--- a/multimedia/libvpx/Makefile        Sat Nov 23 19:17:44 2019 +0000
+++ b/multimedia/libvpx/Makefile        Sat Nov 23 19:37:20 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.79 2019/11/23 19:17:44 gdt Exp $
+# $NetBSD: Makefile,v 1.80 2019/11/23 19:37:20 gdt Exp $
 
 DISTNAME=      libvpx-1.8.1
 PKGREVISION=   1
@@ -26,10 +26,11 @@
 .include "../../mk/bsd.prefs.mk"
 
 .if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64"
-.  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.
+# Because building pkgsrc with gcc < 4.4 doesn't really work in the
+# first place, for simplicitly, just set GCC_REQD unconditionally
+# rather than trying to limit by OS.
 GCC_REQD+=     4.4
-.  endif
 
 BUILD_DEPENDS+=                yasm-[0-9]*:../../devel/yasm
 .endif



Home | Main Index | Thread Index | Old Index