mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-18 19:49:40 +00:00
- rawtherapee actually wants lcms1.
- add option to disable OpenMP.
This commit is contained in:
parent
78527e36cd
commit
6261e26750
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=280048
@ -17,7 +17,7 @@ COMMENT= A powerful RAW image processing application
|
||||
LIB_DEPENDS= gtkmm-2.4.1:${PORTSDIR}/x11-toolkits/gtkmm24 \
|
||||
iptcdata.3:${PORTSDIR}/graphics/libiptcdata \
|
||||
jpeg.11:${PORTSDIR}/graphics/jpeg \
|
||||
lcms2.2:${PORTSDIR}/graphics/lcms2 \
|
||||
lcms.1:${PORTSDIR}/graphics/lcms \
|
||||
png:${PORTSDIR}/graphics/png \
|
||||
tiff.4:${PORTSDIR}/graphics/tiff \
|
||||
sigc-2.0:${PORTSDIR}/devel/libsigc++20
|
||||
@ -42,7 +42,8 @@ LICENSE= GPLv3
|
||||
|
||||
RTDIR= ${PREFIX}/libdata/${PORTNAME}
|
||||
|
||||
OPTIONS= OPTIMIZED_CFLAGS "Use optimized CFLAGS" on
|
||||
OPTIONS= OPTIMIZED_CFLAGS "Use optimized CFLAGS" on \
|
||||
OPENMP "Enable multicore processing using OpenMP" on
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
@ -53,4 +54,10 @@ CFLAGS+= -O3 -ffast-math -fexpensive-optimizations \
|
||||
.endif
|
||||
.endif
|
||||
|
||||
.if !defined(WITHOUT_OPENMP)
|
||||
CMAKE_ARGS+= -DOPTION_OMP:BOOL=ON
|
||||
.else
|
||||
CMAKE_ARGS+= -DOPTION_OMP:BOOL=OFF
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user