summaryrefslogtreecommitdiff
path: root/graphics/cimg/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/cimg/Makefile')
-rw-r--r--graphics/cimg/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/graphics/cimg/Makefile b/graphics/cimg/Makefile
index 7b007f449e72..b881bd920b6d 100644
--- a/graphics/cimg/Makefile
+++ b/graphics/cimg/Makefile
@@ -1,6 +1,6 @@
PORTNAME= cimg
DISTVERSIONPREFIX= v.
-DISTVERSION= 3.5.3
+DISTVERSION= 3.5.5
PORTEPOCH= 3
CATEGORIES= graphics devel
@@ -42,7 +42,6 @@ USES+= blaslapack
.endif
REINPLACE_ARGS= -i ""
-#LIB_DEPENDS+= libboard.so:graphics/libboard
. if !defined(WITH_DEBUG)
LIB_DEPENDS+= libcurl.so:ftp/curl \
@@ -53,10 +52,11 @@ LIB_DEPENDS+= libcurl.so:ftp/curl \
libOpenEXR.so:graphics/openexr \
libfftw3.so:math/fftw3 \
libwebp.so:graphics/webp \
+ libboard.so:graphics/libboard \
libopencv_core.so:graphics/opencv \
libGraphicsMagick.so:graphics/GraphicsMagick
RUN_DEPENDS+= dcraw:graphics/dcraw
-USES+= jpeg
+USES+= jpeg magick:7
ALL_TARGET= Mlinux
. else
ALL_TARGET= dlinux
@@ -85,6 +85,9 @@ USE_XORG+= xext
DOCBASE= README.txt
CFLAGS+= -I${LOCALBASE}/include/Imath -I${LOCALBASE}/include/OpenEXR
MAKE_ARGS+= CPPFLAGS="${CFLAGS}" FREEBSD_LDFLAGS="${LDFLAGS}"
+. if !exists(/usr/include/omp.h)
+MAKE_ARGS+= OPENMP_CFLAGS=
+. endif
PROGS= CImg_demo captcha curve_editor2d dtmri_view3d \
edge_explorer2d fade_images gaussian_fit1d generate_loop_macros \
hough_transform2d image2ascii image_registration2d image_surface3d \