Changeset 85251 for trunk/dports/editors


Ignore:
Timestamp:
Oct 12, 2011, 4:53:41 AM (8 years ago)
Author:
jmr@…
Message:

sigil: fix arch handling (#27306)

File:
1 edited

Legend:

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

    r75037 r85251  
    3939build.target        "Sigil"
    4040
    41 platform x86_64 {
    42     pre-configure {
    43         reinplace "s|ppc;i386|x86_64|g" ${workpath}/Sigil-${version}-Code/CMakeLists.txt
    44     }
    45 }
    46 
    47 platform powerpc {
    48     pre-configure {
    49         reinplace "s|ppc;i386|ppc|g" ${workpath}/Sigil-${version}-Code/CMakeLists.txt
    50     }
    51 }
    52 
    53 platform i386 {
    54     pre-configure {
    55         reinplace "s|ppc;i386|i386|g" ${workpath}/Sigil-${version}-Code/CMakeLists.txt
    56     }
    57 }
    58 
    5941pre-configure {
    60     ui_msg "######################################################"
    61     ui_msg "# Note: SnowLeopard might need explicit +x86_64      #"
    62     ui_msg "######################################################"
    63 
    64     file mkdir ${worksrcpath}
     42        reinplace "s|ppc;i386|${configure.build_arch}|g" ${workpath}/Sigil-${version}-Code/CMakeLists.txt
     43        file mkdir ${worksrcpath}
    6544}
    6645
     
    7251        ${destroot}${applications_dir}
    7352}
    74 
Note: See TracChangeset for help on using the changeset viewer.