[113804] trunk/dports/lang/mozjs17

cal at macports.org cal at macports.org
Sat Nov 23 13:58:55 PST 2013


Revision: 113804
          https://trac.macports.org/changeset/113804
Author:   cal at macports.org
Date:     2013-11-23 13:58:54 -0800 (Sat, 23 Nov 2013)
Log Message:
-----------
mozjs17: Don't build against a specific deployment target

See https://lists.macosforge.org/pipermail/macports-dev/2013-November/025237.html

Modified Paths:
--------------
    trunk/dports/lang/mozjs17/Portfile

Added Paths:
-----------
    trunk/dports/lang/mozjs17/files/patch-configure-no-deployment-target.diff

Modified: trunk/dports/lang/mozjs17/Portfile
===================================================================
--- trunk/dports/lang/mozjs17/Portfile	2013-11-23 20:29:06 UTC (rev 113803)
+++ trunk/dports/lang/mozjs17/Portfile	2013-11-23 21:58:54 UTC (rev 113804)
@@ -40,16 +40,9 @@
                     --disable-readline \
                     --enable-threadsafe
 
-if {[info exists configure.cxx_stdlib]} {
-    # The build sets the deployment target to < 10.7, which causes
-    # -stdlib=libc++ to fail
-    configure.cxx_stdlib    libstdc++
-} elseif {[string match *clang* ${configure.compiler}]} {
-    configure.cxxflags-append   -stdlib=libstdc++
-}
+patchfiles          fix-goto-scope-jsinterp.cpp.diff \
+                    patch-configure-no-deployment-target.diff
 
-patchfiles          fix-goto-scope-jsinterp.cpp.diff
-
 variant readline description {Link js shell to system readline library} {
     depends_lib-append port:readline
     configure.args-delete --disable-readline

Added: trunk/dports/lang/mozjs17/files/patch-configure-no-deployment-target.diff
===================================================================
--- trunk/dports/lang/mozjs17/files/patch-configure-no-deployment-target.diff	                        (rev 0)
+++ trunk/dports/lang/mozjs17/files/patch-configure-no-deployment-target.diff	2013-11-23 21:58:54 UTC (rev 113804)
@@ -0,0 +1,11 @@
+--- configure.orig	2013-11-23 22:44:08.000000000 +0100
++++ configure	2013-11-23 22:44:23.000000000 +0100
+@@ -4478,8 +4478,6 @@
+ *-darwin*)
+     if test -n "$_MACOSX_DEPLOYMENT_TARGET" ; then
+                 export MACOSX_DEPLOYMENT_TARGET=$_MACOSX_DEPLOYMENT_TARGET
+-    else
+-                        export MACOSX_DEPLOYMENT_TARGET=10.6
+     fi
+     ;;
+ esac
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20131123/b0d4786a/attachment.html>


More information about the macports-changes mailing list