[84196] trunk/dports/lang/clisp/Portfile

jmr at macports.org jmr at macports.org
Tue Sep 20 05:06:37 PDT 2011


Revision: 84196
          http://trac.macports.org/changeset/84196
Author:   jmr at macports.org
Date:     2011-09-20 05:06:34 -0700 (Tue, 20 Sep 2011)
Log Message:
-----------
clisp: fix build on 10.7 (#30338, #31257)

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

Modified: trunk/dports/lang/clisp/Portfile
===================================================================
--- trunk/dports/lang/clisp/Portfile	2011-09-20 09:58:53 UTC (rev 84195)
+++ trunk/dports/lang/clisp/Portfile	2011-09-20 12:06:34 UTC (rev 84196)
@@ -44,21 +44,25 @@
 supported_archs ppc i386
 
 configure.cflags
+platform darwin 11 {
+    configure.cflags-append -Wl,-no_pie
+}
 configure.args --prefix=${prefix} --with-libreadline-prefix=${prefix} \
                --with-libsigsegv-prefix=${prefix} --with-libiconv-prefix=${prefix}
 
 configure {
     set cmdstring "CFLAGS='[join ${configure.cflags}]' \
-                         CC='${configure.cc} -arch ${configure.build_arch}' \
+                         CC='${configure.cc} ${configure.cc_archflags}' \
                         ./configure [join ${configure.args}]"
     ui_debug "EXECUTING: $cmdstring"
     system "cd ${configure.dir} && $cmdstring"
 }
 
 build {
+    file mkdir ${workpath}/home
     set cmdstring "cd ${build.dir} && ulimit -s 16384 && \
                    unset LD_PREBIND LD_PREBIND_ALLOW_OVERLAP && \
-                   make"
+                   HOME=${workpath}/home make"
     ui_debug "EXECUTING: $cmdstring"
     system $cmdstring
     set cmdstring "$cmdstring check"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110920/7e4ef66a/attachment.html>


More information about the macports-changes mailing list