Changeset 28197


Ignore:
Timestamp:
Aug 24, 2007, 1:18:36 PM (13 years ago)
Author:
css@…
Message:

Create a powerpc platform variant that removes the endian conversion. This fixes hrsh2csv to function properly on Intel Macs. (#12555)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/palm/hrsh2csv/Portfile

    r20353 r28197  
    44name                    hrsh2csv
    55version                 1.3
     6revision                1
    67description             converts Hours pdb files into CSV text files
    78long_description        Hours is a time-tracking utility for the PalmOS. \
     
    1718use_configure           no
    1819post-extract {
    19         reinplace "s|-O2 -D__MAC2PC_CONVERSION__|-O2|" ${worksrcpath}/Makefile
    2020        reinplace "s|prefix = /usr/local|prefix = ${destroot}${prefix}|" ${worksrcpath}/Makefile
    2121}
     22
     23# For PowerPC, remove the endian conversion since PDBs are big endian.
     24platform powerpc {
     25        reinplace "s|-O2 -D__MAC2PC_CONVERSION__|-O2|" ${worksrcpath}/Makefile
     26}
     27
    2228destroot.args           mandir=${destroot}${prefix}/share/man/man1
    2329
Note: See TracChangeset for help on using the changeset viewer.