diff options
author | tnn <tnn@pkgsrc.org> | 2022-03-23 22:27:34 +0000 |
---|---|---|
committer | tnn <tnn@pkgsrc.org> | 2022-03-23 22:27:34 +0000 |
commit | b149b2f723247471500829d3850863df4fd37268 (patch) | |
tree | c344c53e5485b0614c4ad4a3c9a0474519b66748 | |
parent | 8ceec11d53f5564e05c5c3795979190f66f733e8 (diff) | |
download | pkgsrc-b149b2f723247471500829d3850863df4fd37268.tar.gz |
babl: disable segfaulting mmx intrinsics with GCC7. Bump.
-rw-r--r-- | graphics/babl/Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/graphics/babl/Makefile b/graphics/babl/Makefile index 27d105a7b0a..3af5f43aaee 100644 --- a/graphics/babl/Makefile +++ b/graphics/babl/Makefile @@ -1,6 +1,7 @@ -# $NetBSD: Makefile,v 1.44 2022/03/05 12:19:41 tnn Exp $ +# $NetBSD: Makefile,v 1.45 2022/03/23 22:27:34 tnn Exp $ DISTNAME= babl-0.1.90 +PKGREVISION= 1 CATEGORIES= graphics MASTER_SITES= https://download.gimp.org/pub/babl/${PKGVERSION_NOREV:R}/ EXTRACT_SUFX= .tar.xz @@ -36,6 +37,13 @@ PLIST_VARS+= x86_64 PLIST.x86_64= yes .endif +.include "../../mk/compiler.mk" + +.if (${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64") && \ + !empty(CC_VERSION:Mgcc-7.*) +MESON_ARGS+= -Denable-mmx=false +.endif + # Apply removals to post-wrapper transformed arguments. BUILDLINK_TRANSFORM.Darwin+= rm:-Wl,--version-script BUILDLINK_TRANSFORM.Darwin+= rm:-Wl,babl.map |