Changeset 92016 for trunk/dports/editors


Ignore:
Timestamp:
Apr 16, 2012, 3:52:47 AM (8 years ago)
Author:
jeremyhu@…
Message:

emacs: Don't use -no_pie on Leopard, #34064

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/editors/emacs/Portfile

    r91797 r92016  
    7979platform darwin {
    8080    post-patch {
     81        # Leopard's XCode 3.1.x ld(1) man page claims -no_pie is supported, but it's not
    8182        if {${os.major} < 9} {
    8283            reinplace "s:-fno-pie::" ${worksrcpath}/src/s/darwin.h
    83         } else {
     84        } elseif {${os.major} > 10} {
    8485            reinplace "s:-fno-pie:-fno-pie -Wl,-no_pie:" ${worksrcpath}/src/s/darwin.h
    8586
Note: See TracChangeset for help on using the changeset viewer.