Ticket #31977: mercurial.diff
File mercurial.diff, 606 bytes (added by ryandesign (Ryan Carsten Schmidt), 13 years ago) |
---|
-
Portfile
33 33 34 34 python.default_version 27 35 35 36 variant universal {} 37 36 38 post-patch { 37 if {[variant_isset universal]} { 38 reinplace "s/-arch i386 -arch x86_64/${configure.universal_cflags}/" ${worksrcpath}/setup.py 39 } else { 40 reinplace "s/-arch i386 -arch x86_64/${configure.cc_archflags}/" ${worksrcpath}/setup.py 41 } 39 reinplace "s/-arch i386 -arch x86_64/[get_canonical_archflags]/" ${worksrcpath}/setup.py 42 40 } 43 41 44 42 post-destroot {