[94412] trunk/dports/www/elinks-devel/Portfile

jmr at macports.org jmr at macports.org
Mon Jun 18 13:07:13 PDT 2012


Revision: 94412
          https://trac.macports.org/changeset/94412
Author:   jmr at macports.org
Date:     2012-06-18 13:07:12 -0700 (Mon, 18 Jun 2012)
Log Message:
-----------
elinks-devel: don't use boehmgc on Lion (#31984), only depend on gmake on Tiger

Modified Paths:
--------------
    trunk/dports/www/elinks-devel/Portfile

Modified: trunk/dports/www/elinks-devel/Portfile
===================================================================
--- trunk/dports/www/elinks-devel/Portfile	2012-06-18 17:47:43 UTC (rev 94411)
+++ trunk/dports/www/elinks-devel/Portfile	2012-06-18 20:07:12 UTC (rev 94412)
@@ -20,9 +20,8 @@
 livecheck.type      regex
 livecheck.url       ${homepage}
 
-depends_build       port:pkgconfig port:gmake
+depends_build       port:pkgconfig
 depends_lib \
-    path:include/gc.h:boehmgc \
     port:bzip2 \
     port:expat \
     port:gettext \
@@ -60,12 +59,12 @@
     --enable-gopher \
     --enable-html-highlight \
     --enable-nntp \
-    --with-gc \
     --with-idn \
     --with-libiconv \
     --with-openssl \
     --with-spidermonkey=${prefix} \
     --with-tre \
+    --without-gc \
     --without-gnutls \
     --without-gpm \
     --without-gssapi \
@@ -79,11 +78,20 @@
     --without-x \
     --without-xterm
 
+if {${os.major} < 11 || ${os.platform} != "darwin"} {
+    configure.args-delete --without-gc
+    configure.args-append --with-gc
+    depends_lib-append  path:include/gc.h:boehmgc
+}
+
 use_parallel_build  no
 
 # elinks-0.12pre5/src/ecmascript/Makefile needs GNU Make 3.81 or later
 # due to the "else" followed by a conditional.
-build.cmd           gmake
+platform darwin 8 {
+    depends_build-append port:gmake
+    build.cmd           ${prefix}/bin/gmake
+}
 
 if {${configure.compiler} == "llvm-gcc-4.2"} {
    configure.compiler clang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120618/953cd75e/attachment-0001.html>


More information about the macports-changes mailing list