[90402] trunk/dports/editors/xemacs/Portfile
ryandesign at macports.org
ryandesign at macports.org
Sun Mar 4 13:19:30 PST 2012
Revision: 90402
http://trac.macports.org/changeset/90402
Author: ryandesign at macports.org
Date: 2012-03-04 13:19:27 -0800 (Sun, 04 Mar 2012)
Log Message:
-----------
xemacs: fix build with clang by using -std=c89; see #31679
Modified Paths:
--------------
trunk/dports/editors/xemacs/Portfile
Modified: trunk/dports/editors/xemacs/Portfile
===================================================================
--- trunk/dports/editors/xemacs/Portfile 2012-03-04 20:24:46 UTC (rev 90401)
+++ trunk/dports/editors/xemacs/Portfile 2012-03-04 21:19:27 UTC (rev 90402)
@@ -43,10 +43,6 @@
sha1 dc50bc3b62e5ff1cd766c7e4f31880bd200caad5 \
rmd160 506b7465687ff9dafe26f46e049b6aad8915eb49
-if {${configure.compiler} == "clang"} {
- configure.compiler llvm-gcc-4.2
-}
-
configure.args --mandir=${prefix}/share/man \
--without-postgresql \
--without-ldap \
@@ -88,7 +84,8 @@
distfiles-delete ${sumo_dist}:package ${mule_dist}:package
}
-platform darwin 11 {
+# https://trac.macports.org/ticket/31679
+if {${configure.compiler} == "llvm-gcc-4.2" || ${configure.compiler} == "clang"} {
+ configure.cflags-append -std=c89
configure.ldflags-append -Wl,-no_pie
}
-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120304/8824b720/attachment.html>
More information about the macports-changes
mailing list