Ignore:
Timestamp:
Dec 19, 2009, 11:11:24 AM (9 years ago)
Author:
jmr@…
Message:

openssl: replace universal_sysroot usage with fixed sysroot for ppc tiger (see #22942), remove 1.7 workarounds

File:
1 edited

Legend:

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

    r60264 r61702  
    6767
    6868        post-patch {
    69                 # For universal builds, add "-isysroot ${universal_sysroot}" to compiler options
    70                 if {[info exists universal_sysroot]} {
    71                         reinplace "s|\\(-arch \[_a-zA-Z0-9\]*\\)|\\1 -isysroot ${universal_sysroot}|" ${worksrcpath}/Configure
    72                 }
     69        # For universal builds on ppc tiger, add sysroot
     70        if {${os.arch} == "powerpc" && ${os.major} == "8"} {
     71            reinplace "s|\\(-arch \[_a-zA-Z0-9\]*\\)|\\1 -isysroot ${developer_dir}/SDKs/MacOSX10.4u.sdk|" ${worksrcpath}/Configure
     72        }
    7373        }
    7474
     
    7777        configure.universal_args-delete --disable-dependency-tracking
    7878        configure.args-delete  --disable-dependency-tracking
    79         # workaround for #17865
    80         if {![info exists configure.universal_args]} {
    81             configure.universal_args
    82         }
    83         if {![info exists configure.args]} {
    84             configure.args
    85         }
    8679
    8780        pre-destroot {
Note: See TracChangeset for help on using the changeset viewer.