[92016] trunk/dports/editors/emacs/Portfile

jeremyhu at macports.org jeremyhu at macports.org
Sun Apr 15 20:52:51 PDT 2012


Revision: 92016
          https://trac.macports.org/changeset/92016
Author:   jeremyhu at macports.org
Date:     2012-04-15 20:52:47 -0700 (Sun, 15 Apr 2012)
Log Message:
-----------
emacs: Don't use -no_pie on Leopard, #34064

Modified Paths:
--------------
    trunk/dports/editors/emacs/Portfile

Modified: trunk/dports/editors/emacs/Portfile
===================================================================
--- trunk/dports/editors/emacs/Portfile	2012-04-16 02:45:36 UTC (rev 92015)
+++ trunk/dports/editors/emacs/Portfile	2012-04-16 03:52:47 UTC (rev 92016)
@@ -78,9 +78,10 @@
 
 platform darwin {
     post-patch {
+        # Leopard's XCode 3.1.x ld(1) man page claims -no_pie is supported, but it's not
         if {${os.major} < 9} {
             reinplace "s:-fno-pie::" ${worksrcpath}/src/s/darwin.h
-        } else {
+        } elseif {${os.major} > 10} {
             reinplace "s:-fno-pie:-fno-pie -Wl,-no_pie:" ${worksrcpath}/src/s/darwin.h
 
             # I believe the above reinplace is sufficient, but I'm leaving this to be safe --jeremyhu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120415/b70001f6/attachment.html>


More information about the macports-changes mailing list