summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2012-05-31 12:45:33 +0000
committerdrochner <drochner@pkgsrc.org>2012-05-31 12:45:33 +0000
commit4a6315d3e10796112a647636b0e6bd4b86a4020e (patch)
treee7c0db119df26f31ae5e57e9c9007ed65dac1642 /graphics
parent377c2e1ae28f370130ffdbbd8f829c8583a03ae3 (diff)
downloadpkgsrc-4a6315d3e10796112a647636b0e6bd4b86a4020e.tar.gz
-on i386/-current, sse2 must be explicitly enabled, otherwise
the build fails -fix gcc version detection - the original regex doesn't work for unknown reasons (possibly a bug in cmake's regex implementation) -deal with icon-theme.cache
Diffstat (limited to 'graphics')
-rw-r--r--graphics/darktable/Makefile5
-rw-r--r--graphics/darktable/distinfo3
-rw-r--r--graphics/darktable/patches/patch-aa13
3 files changed, 18 insertions, 3 deletions
diff --git a/graphics/darktable/Makefile b/graphics/darktable/Makefile
index 8a13141b599..b65c151eb3e 100644
--- a/graphics/darktable/Makefile
+++ b/graphics/darktable/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2012/05/05 19:18:33 jakllsch Exp $
+# $NetBSD: Makefile,v 1.14 2012/05/31 12:45:33 drochner Exp $
DISTNAME= darktable-1.0.3
CATEGORIES= graphics
@@ -41,7 +41,7 @@ LDFLAGS+= ${COMPILER_RPATH_FLAG}${PREFIX}/lib/darktable
.if ${MACHINE_ARCH} == "i386"
# SSE alignment issues
GCC_REQD= 4.2
-CFLAGS+= -mstackrealign
+CFLAGS+= -mstackrealign -msse2
.endif
.if ${OPSYS} == "NetBSD"
@@ -84,4 +84,5 @@ pre-configure:
.include "../../www/curl/buildlink3.mk"
.include "../../x11/gtk2/buildlink3.mk"
.include "../../mk/jpeg.buildlink3.mk"
+.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/graphics/darktable/distinfo b/graphics/darktable/distinfo
index 90fa3360117..32a42c71a7a 100644
--- a/graphics/darktable/distinfo
+++ b/graphics/darktable/distinfo
@@ -1,8 +1,9 @@
-$NetBSD: distinfo,v 1.9 2012/05/05 19:20:28 jakllsch Exp $
+$NetBSD: distinfo,v 1.10 2012/05/31 12:45:33 drochner Exp $
SHA1 (darktable-1.0.3.tar.gz) = f03b250be74965745b1a267bdd696b406aa97f7c
RMD160 (darktable-1.0.3.tar.gz) = 9bb352e868387dc1b7c78476861299e27c09c33c
Size (darktable-1.0.3.tar.gz) = 2538467 bytes
+SHA1 (patch-aa) = 076e09c07829c4b28f7781e3550ab74a80d0ec73
SHA1 (patch-cmake_modules_FindGTK2.cmake) = de1273594801ab82da31b624845e0b36a77b53b3
SHA1 (patch-doc_CMakeLists.txt) = 7b7af1dda752725d5b42ba4395de1cd5390c64fd
SHA1 (patch-src_CMakeLists.txt) = da62516e65b1c14eec4264fa603d9bdbd2e5d668
diff --git a/graphics/darktable/patches/patch-aa b/graphics/darktable/patches/patch-aa
new file mode 100644
index 00000000000..bf0a0114439
--- /dev/null
+++ b/graphics/darktable/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1 2012/05/31 12:45:33 drochner Exp $
+
+--- CMakeLists.txt.orig 2012-04-27 20:25:52.000000000 +0000
++++ CMakeLists.txt
+@@ -63,7 +63,7 @@ if(CMAKE_COMPILER_IS_GNUCC)
+ ARGS --version
+ OUTPUT_VARIABLE _GCC_COMPILER_VERSION
+ )
+- STRING(REGEX REPLACE ".* ([0-9])\\.([0-9])\\.[0-9] .*" "\\1\\2" _GCC_COMPILER_VERSION ${_GCC_COMPILER_VERSION})
++ STRING(REGEX REPLACE ".*([0-9])\\.([0-9])\\.[0-9].*" "\\1\\2" _GCC_COMPILER_VERSION ${_GCC_COMPILER_VERSION})
+ if(_GCC_COMPILER_VERSION VERSION_LESS 43)
+ message("-- Disable OpenMP with GCC 4.2 and older")
+ set(USE_OPENMP OFF)