aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/libraw
diff options
context:
space:
mode:
authorosa <osa@FreeBSD.org>2012-06-07 01:58:05 +0800
committerosa <osa@FreeBSD.org>2012-06-07 01:58:05 +0800
commitbbd010d579e8ad8bac6b61f7cc5d45210f64b758 (patch)
tree8c0e8bc1ad107bdbf00e44d40d5021eafeba7160 /graphics/libraw
parent4625a92e1cf8e53ef3c68e5bd7489387f3adfd4d (diff)
downloadfreebsd-ports-gnome-bbd010d579e8ad8bac6b61f7cc5d45210f64b758.tar.gz
freebsd-ports-gnome-bbd010d579e8ad8bac6b61f7cc5d45210f64b758.tar.zst
freebsd-ports-gnome-bbd010d579e8ad8bac6b61f7cc5d45210f64b758.zip
Update from 0.14.5 to 0.14.6.
For fix usage -fopenmp flag (with USE_GCC=4.6+) add OPENMP knob. (*) Fix usage of DEMOSAIC_PACK_GPL3 knob. Spotted by: Hannes <h2+fbsdports@fsfe.org> (*) Thanks to: danfe (*)
Diffstat (limited to 'graphics/libraw')
-rw-r--r--graphics/libraw/Makefile17
-rw-r--r--graphics/libraw/distinfo12
2 files changed, 18 insertions, 11 deletions
diff --git a/graphics/libraw/Makefile b/graphics/libraw/Makefile
index 55dd080dc468..4f25d46b1b86 100644
--- a/graphics/libraw/Makefile
+++ b/graphics/libraw/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= libraw
-PORTVERSION= 0.14.5
-PORTREVISION= 2
+PORTVERSION= 0.14.6
CATEGORIES= graphics
MASTER_SITES= http://www.libraw.su/data/
DISTNAME= LibRaw-${PORTVERSION}
@@ -26,12 +25,13 @@ GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-examples --disable-jasper
CFLAGS+= -fPIC
-OPTIONS_DEFINE= DEMOSAIC_PACK_GPL2 DEMOSAIC_PACK_GPL3 LCMS2 OPTIMIZED_CFLAGS
+OPTIONS_DEFINE= DEMOSAIC_PACK_GPL2 DEMOSAIC_PACK_GPL3 LCMS2 OPTIMIZED_CFLAGS OPENMP
OPTIONS_DEFAULT= LCMS2
DEMOSAIC_PACK_GPL2_DESC= Enable GPLv2 demosaic pack
DEMOSAIC_PACK_GPL3_DESC= Enable GPLv3 demosaic pack
-OPTIMIZED_CFLAGS_DESC= "Enable optimizations (on x86)"
+OPTIMIZED_CFLAGS_DESC= Enable optimizations (on x86)
+OPENMP_DESC= Enable openmp
.include <bsd.port.options.mk>
@@ -41,6 +41,13 @@ CFLAGS+= -O3
.endif
.endif
+.if ${PORT_OPTIONS:MOPENMP}
+CONFIGURE_ARGS+=--enable-openmp
+USE_GCC= 4.6+
+.else
+CONFIGURE_ARGS+=--disable-openmp
+.endif
+
.if ${PORT_OPTIONS:MLCMS2}
LIB_DEPENDS+= lcms2.2:${PORTSDIR}/graphics/lcms2
CONFIGURE_ARGS+=--enable-lcms
@@ -56,7 +63,7 @@ CONFIGURE_ARGS+=--enable-demosaic-pack-gpl2=../LibRaw-demosaic-pack-GPL2-${PORTV
CONFIGURE_ARGS+=--disable-demosaic-pack-gpl2
.endif
-.if ${PORT_OPTIONS:MDEMOSAIC_PACK_GPL3)
+.if ${PORT_OPTIONS:MDEMOSAIC_PACK_GPL3}
LICENSE+= GPLv3
DISTFILES+= LibRaw-demosaic-pack-GPL3-${PORTVERSION}.tar.gz
CONFIGURE_ARGS+=--enable-demosaic-pack-gpl3=../LibRaw-demosaic-pack-GPL3-${PORTVERSION}
diff --git a/graphics/libraw/distinfo b/graphics/libraw/distinfo
index d82597e40f44..dc11918fe677 100644
--- a/graphics/libraw/distinfo
+++ b/graphics/libraw/distinfo
@@ -1,6 +1,6 @@
-SHA256 (LibRaw-0.14.5.tar.gz) = f8b17f5fd0c2801f05dfb7cdee7c55e399094cdb53d521be0cd6d5317291f080
-SIZE (LibRaw-0.14.5.tar.gz) = 1357903
-SHA256 (LibRaw-demosaic-pack-GPL2-0.14.5.tar.gz) = 0f29f0895f55295a834158ef3246f7862187098090b70707aa68fe729f775d34
-SIZE (LibRaw-demosaic-pack-GPL2-0.14.5.tar.gz) = 31525
-SHA256 (LibRaw-demosaic-pack-GPL3-0.14.5.tar.gz) = a4ed8d2277bf61abc01e71c9670517975db596a81e7971c608feae2bd938c007
-SIZE (LibRaw-demosaic-pack-GPL3-0.14.5.tar.gz) = 38599
+SHA256 (LibRaw-0.14.6.tar.gz) = dad1ebe182584630d4b0fa8801bfefb83ebccf83d89be2f0e1ca3abcfa0ea80d
+SIZE (LibRaw-0.14.6.tar.gz) = 1359665
+SHA256 (LibRaw-demosaic-pack-GPL2-0.14.6.tar.gz) = 5df63dbc5db9fa8db671a7ae8a6e6e385b0326ab3bd8dfc1ed83f6f647bd3cbe
+SIZE (LibRaw-demosaic-pack-GPL2-0.14.6.tar.gz) = 31644
+SHA256 (LibRaw-demosaic-pack-GPL3-0.14.6.tar.gz) = e0e9505581b734802c086f582ee166c3dd3d5a235f59ae8c6ccdab50a2d381bf
+SIZE (LibRaw-demosaic-pack-GPL3-0.14.6.tar.gz) = 38772