diff --git a/graphics/mypaint/Makefile b/graphics/mypaint/Makefile index 33f067f7e08..b6a5044ba34 100644 --- a/graphics/mypaint/Makefile +++ b/graphics/mypaint/Makefile @@ -1,11 +1,11 @@ -# $OpenBSD: Makefile,v 1.4 2021/02/23 19:39:26 sthen Exp $ +# $OpenBSD: Makefile,v 1.5 2021/05/19 02:11:08 tb Exp $ COMMENT = raster graphics editor for digital painters MODPY_EGG_VERSION = 2.0.1 DISTNAME = mypaint-${MODPY_EGG_VERSION} EXTRACT_SUFX = .tar.xz -REVISION = 1 +REVISION = 2 CATEGORIES = graphics diff --git a/graphics/mypaint/patches/patch-setup_py b/graphics/mypaint/patches/patch-setup_py index 717954c9c0f..bd425bc7092 100644 --- a/graphics/mypaint/patches/patch-setup_py +++ b/graphics/mypaint/patches/patch-setup_py @@ -1,18 +1,16 @@ -$OpenBSD: patch-setup_py,v 1.1.1.1 2020/09/12 20:57:21 pamela Exp $ +$OpenBSD: patch-setup_py,v 1.2 2021/05/19 02:11:08 tb Exp $ OpenBSD does not have OpenMP available in base or ports compilers Index: setup.py --- setup.py.orig +++ setup.py -@@ -29,8 +29,8 @@ from setuptools.command.install_scripts import install +@@ -437,7 +437,7 @@ class BuildExt (build_ext): - # Some versions of clang requires different flag configurations than gcc - # to link correctly, so we enable configuration via environment variables. --OPENMP_CFLAG = os.getenv("OPENMP_CFLAG", "-fopenmp") --OPENMP_LDFLAG = os.getenv("OPENMP_LDFLAG", "-fopenmp") -+OPENMP_CFLAG = os.getenv("OPENMP_CFLAG", "") -+OPENMP_LDFLAG = os.getenv("OPENMP_LDFLAG", "") + def initialize_options(self): + self.set_rpath = False +- self.disable_openmp = False ++ self.disable_openmp = True + build_ext.initialize_options(self) - - # Libmypaint dependency + def finalize_options(self):