Ticket #21251: Portfile.diff
File Portfile.diff, 604 bytes (added by Veence (Vincent), 15 years ago) |
---|
-
Portfile
old new 32 32 configure.args --mandir=${prefix}/share/man \ 33 33 --enable-shared 34 34 35 post-configure { 36 if {[variant_isset universal]} { 37 set lflags {} 38 foreach arch ${universal_archs} { 39 lappend lflags -arch ${arch} 40 } 41 puts ${lflags} 42 reinplace -E "s|compiler_flags=$|compiler_flags=' ${lflags}'|" \ 43 ${worksrcpath}/libtool 44 reinplace -E "s|linker_flags=$|linker_flags=' ${lflags}'|" \ 45 ${worksrcpath}/libtool 46 } 47 } 48 35 49 test.run yes 36 50 test.target check