[62528] trunk/dports/devel/readline/Portfile

jmr at macports.org jmr at macports.org
Sat Jan 9 15:27:22 PST 2010


Revision: 62528
          http://trac.macports.org/changeset/62528
Author:   jmr at macports.org
Date:     2010-01-09 15:27:19 -0800 (Sat, 09 Jan 2010)
Log Message:
-----------
readline: better ld archflags workaround

Modified Paths:
--------------
    trunk/dports/devel/readline/Portfile

Modified: trunk/dports/devel/readline/Portfile
===================================================================
--- trunk/dports/devel/readline/Portfile	2010-01-09 22:54:27 UTC (rev 62527)
+++ trunk/dports/devel/readline/Portfile	2010-01-09 23:27:19 UTC (rev 62528)
@@ -86,8 +86,8 @@
                             bash_cv_func_sigsetjmp=present \
                             bash_cv_func_strcoll_broken=no \
                             bash_cv_func_ctype_nonascii=yes
-} else {
-    configure.ldflags-append   "-arch ${configure.build_arch}"
+} elseif {![info exists configure.ld_archflags]} {
+    configure.ldflags-append   ${configure.cc_archflags}
 }
 
 livecheck.version   ${milestone}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100109/787bc2e0/attachment.html>


More information about the macports-changes mailing list