Changeset 110391 for trunk/dports/java


Ignore:
Timestamp:
Aug 30, 2013, 8:30:42 PM (6 years ago)
Author:
blair@…
Message:

zeroc-ice35-java: search and replace DYLD_LIBRARY_PATH everywhere.

This change will also modify SliceTask.java so running ant will not
set DYLD_LIBRARY_PATH.

Location:
trunk/dports/java/zeroc-ice35-java
Files:
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/java/zeroc-ice35-java/Portfile

    r110313 r110391  
    55name            zeroc-ice35-java
    66version         3.5.0
    7 revision        1
     7revision        2
    88set branch      [join [lrange [split ${version} .] 0 1] .]
    99categories      java devel
     
    3737checksums       sha1   8501afaf86c0d62192cfc1b83c338178f73e98e9 \
    3838                sha256 583d4a819d50ad8b79b1e9ad45abfa3078f981486271ca8cd9ede8fa420ff575
    39 patchfiles      patch-ice.scripts.TestUtil.py.diff
    40 patch.pre_args  -p1
    4139
    4240platforms       darwin
     
    4947                port:jgoodies-looks \
    5048                port:proguard
     49
     50post-patch {
     51    # Prevent core dumps from mixing Mac OS X's libstdc++.6.dylib
     52    # on older operating systems, e.g. 10.5.8, with MacPorts'
     53    # libstdc++.6.dylib from newer libgcc's, e.g. 4.8.1, through
     54    # the use of DYLD_LIBRARY_PATH being set to $prefix, use
     55    # DYLD_FALLBACK_LIBRARY_PATH instead.  This also have the ant
     56    # slice task set DYLD_FALLBACK_LIBRARY_PATH instead of DYLD_LIBRARY_PATH.
     57    system "find ${worksrcpath} -type f -print0 | xargs -0 grep -Z -l DYLD_LIBRARY_PATH | xargs -0 perl -w -p -i -e 's/DYLD_LIBRARY_PATH/DYLD_FALLBACK_LIBRARY_PATH/g'"
     58}
    5159
    5260use_configure   no
Note: See TracChangeset for help on using the changeset viewer.