This turns off the OpenMP feature of libraw. Tested on AMD64.

As mentioned before, with these patches then OpenMP is under
control on ports; allowing to enable OpenMP on compilers.


--John


Index: Makefile
===================================================================
RCS file: /cvs/ports/graphics/libraw/Makefile,v
retrieving revision 1.43
diff -u -p -r1.43 Makefile
--- Makefile    5 Sep 2019 16:20:25 -0000       1.43
+++ Makefile    23 Nov 2019 23:32:35 -0000
@@ -6,6 +6,8 @@ DISTNAME =              LibRaw-0.19.5
 PKGNAME =              ${DISTNAME:L}
 CATEGORIES =           graphics
 
+REVISION =             0
+
 SHARED_LIBS +=  raw                  4.0      # 15.0
 SHARED_LIBS +=  raw_r                4.0      # 15.0
 
@@ -27,6 +29,7 @@ LIB_DEPENDS =         graphics/jasper \
 
 SEPARATE_BUILD =       Yes
 CONFIGURE_STYLE =      gnu
+CONFIGURE_ARGS =       --disable-openmp
 CONFIGURE_ENV =                CPPFLAGS="-I${LOCALBASE}/include" \
                        LDFLAGS="-L${LOCALBASE}/lib"
 

Reply via email to