pkgsrc-Changes archive

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

CVS commit: pkgsrc/multimedia/libvpx



Module Name:    pkgsrc
Committed By:   gdt
Date:           Sat Nov 23 19:37:20 UTC 2019

Modified Files:
        pkgsrc/multimedia/libvpx: Makefile

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.79 -r1.80 pkgsrc/multimedia/libvpx/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/multimedia/libvpx/Makefile
diff -u pkgsrc/multimedia/libvpx/Makefile:1.79 pkgsrc/multimedia/libvpx/Makefile:1.80
--- pkgsrc/multimedia/libvpx/Makefile:1.79      Sat Nov 23 19:17:44 2019
+++ pkgsrc/multimedia/libvpx/Makefile   Sat Nov 23 19:37:20 2019
@@ -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 @@ CONFIGURE_ARGS+=    --disable-unit-tests
 .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