[99495] trunk/dports/lang/tcl/Portfile

ryandesign at macports.org ryandesign at macports.org
Wed Nov 7 12:40:43 PST 2012


Revision: 99495
          http://trac.macports.org//changeset/99495
Author:   ryandesign at macports.org
Date:     2012-11-07 12:40:42 -0800 (Wed, 07 Nov 2012)
Log Message:
-----------
tcl: remove -arch flags from tclConfig.sh (#23707)

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

Modified: trunk/dports/lang/tcl/Portfile
===================================================================
--- trunk/dports/lang/tcl/Portfile	2012-11-07 18:11:48 UTC (rev 99494)
+++ trunk/dports/lang/tcl/Portfile	2012-11-07 20:40:42 UTC (rev 99495)
@@ -4,7 +4,7 @@
 
 name          tcl
 version       8.5.12
-revision      1
+revision      2
 # Tk (x11/tk) port depends on this version
 categories    lang
 license       Tcl/Tk
@@ -32,6 +32,10 @@
 configure.cppflags-delete  -I${prefix}/include
 configure.ldflags-delete   -L${prefix}/lib
 
+post-configure {
+    reinplace -E {s|-arch [^ ]+||g} ${worksrcpath}/tclConfig.sh
+}
+
 destroot.destdir  INSTALL_ROOT=${destroot}
 post-destroot {
     ln -s tclsh8.5 ${destroot}${prefix}/bin/tclsh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121107/d3cb0972/attachment.html>


More information about the macports-changes mailing list