Changeset 77464


Ignore:
Timestamp:
Mar 31, 2011, 5:38:18 PM (9 years ago)
Author:
jmr@…
Message:

omniORB: mostly fix universal build (#23558)

Location:
trunk/dports/devel/omniORB
Files:
5 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/devel/omniORB/Portfile

    r63075 r77464  
    1919                    rmd160  b84131230c59b1cef8f714ff1545e44f6779ade1
    2020
     21patchfiles          src_tool_omniidl_cxx_cccp_config-darwin.h.diff
     22
    2123configure.args      --with-omniORB-config="${prefix}/etc/omniORB.cfg" \
    2224                    --with-omniNames-logdir="${prefix}/var"
     
    2527    reinplace "s|,prefix=\'\$PYTHON_PREFIX\'||g" ${worksrcpath}/configure
    2628    reinplace "s|,prefix=\'\$PYTHON_EXEC_PREFIX\'||g" ${worksrcpath}/configure
     29    if {[variant_isset universal]} {
     30        system "cd ${worksrcpath} && ed - ./include/omniconfig.h.in < ${filespath}/include_omniconfig.h.in.ed"
     31    }
     32}
     33
     34if {[variant_isset universal]} {
     35    patchfiles-append mk_beforeauto.mk.in.diff
     36    post-configure {
     37        system "cd ${worksrcpath} && ed - ./include/omniORB4/acconfig.h < ${filespath}/include_omniORB4_acconfig.h.ed"
     38    }
    2739}
    2840
     
    5163}
    5264
     65platform darwin 8 {
     66    # needs -Xarch
     67    universal_variant no
     68}
     69
    5370livecheck.type      regex
    5471livecheck.url       http://omniorb.sourceforge.net/releases/
Note: See TracChangeset for help on using the changeset viewer.