Ticket #12555: hrsh2csv-endian.diff
File hrsh2csv-endian.diff, 767 bytes (added by ryandesign (Ryan Carsten Schmidt), 17 years ago) |
---|
-
Portfile
18 18 use_configure no 19 19 post-extract { 20 20 reinplace "s|prefix = /usr/local|prefix = ${destroot}${prefix}|" ${worksrcpath}/Makefile 21 22 # For big-endian machines, like PowerPC, remove the endian conversion since PDBs are already big-endian. 23 if { [string compare ${os.endian} "little"] != 0 } { 24 reinplace "s|-O2 -D__MAC2PC_CONVERSION__|-O2|" ${worksrcpath}/Makefile 25 } 21 26 } 22 27 23 # For PowerPC, remove the endian conversion since PDBs are big endian.24 platform powerpc {25 reinplace "s|-O2 -D__MAC2PC_CONVERSION__|-O2|" ${worksrcpath}/Makefile26 }27 28 28 destroot.args mandir=${destroot}${prefix}/share/man/man1 29 29