[87759] trunk/dports/graphics/lensfun/Portfile

ryandesign at macports.org ryandesign at macports.org
Sun Dec 4 02:14:15 PST 2011


Revision: 87759
          http://trac.macports.org/changeset/87759
Author:   ryandesign at macports.org
Date:     2011-12-04 02:14:15 -0800 (Sun, 04 Dec 2011)
Log Message:
-----------
lensfun: add gmake build dependency for Tiger to fix "GNU Make version 3.81 and above is required to build this project"; see #30840

Modified Paths:
--------------
    trunk/dports/graphics/lensfun/Portfile

Modified: trunk/dports/graphics/lensfun/Portfile
===================================================================
--- trunk/dports/graphics/lensfun/Portfile	2011-12-04 10:10:15 UTC (rev 87758)
+++ trunk/dports/graphics/lensfun/Portfile	2011-12-04 10:14:15 UTC (rev 87759)
@@ -34,6 +34,19 @@
 
 configure.args      -v
 
+platform darwin 8 {
+    # lensfun requires make >= 3.81; Tiger comes with 3.80
+    depends_build-append port:gmake
+    # fix configure script check which is hardcoded to using "make"
+    post-extract {
+        xinstall -d ${workpath}/bin
+        ln -s ${prefix}/bin/gmake ${workpath}/bin/make
+    }
+    configure.env PATH=${workpath}/bin:$env(PATH)
+    # fix build and destroot
+    build.cmd ${prefix}/bin/gmake
+}
+
 platform powerpc {
     configure.args-append --target=mac.powerpc.powerpc \
                           --vectorization=''
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111204/f38998b7/attachment.html>


More information about the macports-changes mailing list