[109800] trunk/dports/graphics/darktable/Portfile
jeremyhu at macports.org
jeremyhu at macports.org
Mon Aug 19 23:40:17 PDT 2013
Revision: 109800
https://trac.macports.org/changeset/109800
Author: jeremyhu at macports.org
Date: 2013-08-19 23:40:17 -0700 (Mon, 19 Aug 2013)
Log Message:
-----------
darktable: Build fix for Mavericks
Modified Paths:
--------------
trunk/dports/graphics/darktable/Portfile
Modified: trunk/dports/graphics/darktable/Portfile
===================================================================
--- trunk/dports/graphics/darktable/Portfile 2013-08-20 06:32:29 UTC (rev 109799)
+++ trunk/dports/graphics/darktable/Portfile 2013-08-20 06:40:17 UTC (rev 109800)
@@ -85,7 +85,7 @@
build.dir ${worksrcpath}/build
-variant quartz conflicts x11 gcc44 gcc45 {
+variant quartz conflicts x11 {
require_active_variants gtk2 quartz
}
@@ -96,20 +96,31 @@
# no_x11 variant to be removed after January 2014
variant no_x11 conflicts x11 description {Legacy compatibility variant} {}
-variant gcc44 conflicts gcc45 gcc46 gcc47 quartz universal description {Build with GCC 4.4} {
- configure.compiler macports-gcc-4.4
-}
+platform darwin {
+ if {${os.major} >= 13} {
+ post-patch {
+ reinplace "s:tr1/::" ${worksrcpath}/src/common/imageio_exr.hh
+ reinplace "s/tr1:://" ${worksrcpath}/src/common/imageio_exr.hh
+ }
+ } else {
+ variant quartz conflicts gcc44 gcc45 {}
-variant gcc45 conflicts gcc44 gcc46 gcc47 quartz universal description {Build with GCC 4.5} {
- configure.compiler macports-gcc-4.5
-}
+ variant gcc44 conflicts gcc45 gcc46 gcc47 quartz universal description {Build with GCC 4.4} {
+ configure.compiler macports-gcc-4.4
+ }
-variant gcc46 conflicts gcc44 gcc45 gcc47 universal description {Build with GCC 4.6} {
- configure.compiler macports-gcc-4.6
-}
+ variant gcc45 conflicts gcc44 gcc46 gcc47 quartz universal description {Build with GCC 4.5} {
+ configure.compiler macports-gcc-4.5
+ }
-variant gcc47 conflicts gcc44 gcc45 gcc46 universal description {Build with GCC 4.7} {
- configure.compiler macports-gcc-4.7
+ variant gcc46 conflicts gcc44 gcc45 gcc47 universal description {Build with GCC 4.6} {
+ configure.compiler macports-gcc-4.6
+ }
+
+ variant gcc47 conflicts gcc44 gcc45 gcc46 universal description {Build with GCC 4.7} {
+ configure.compiler macports-gcc-4.7
+ }
+ }
}
variant gnome_keyring description {Build with gnome-keyring} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130819/d448ffa4/attachment-0001.html>
More information about the macports-changes
mailing list