- Revision
- 110312
- Author
- blair@macports.org
- Date
- 2013-08-29 14:34:34 -0700 (Thu, 29 Aug 2013)
Log Message
zeroc-ice35: fix broken binaries that cannot find shared libraries.
The build system has changed such that LDPLATFORMFLAGS must be set by
Ice's build system, otherwise, the binaries cannot find the shared libraries.
In Ice 3.4, it creates
$ otool -L /opt/local/bin/slice2cpp
/opt/local/bin/slice2cpp:
/opt/local/lib/libSlice.34.dylib (compatibility version 0.0.0, current version 0.0.0)
/opt/local/lib/libIceUtil.34.dylib (compatibility version 0.0.0, current version 0.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 159.1.0)
/usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 52.0.0)
In Ice 3.5, it creates
$ otool -L /opt/local/bin/slice2cpp
/opt/local/bin/slice2cpp:
@rpath/libSlice.35.dylib (compatibility version 0.0.0, current version 0.0.0)
@rpath/libZerocIceUtil.35.dylib (compatibility version 0.0.0, current version 0.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 159.1.0)
/usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 52.0.0)
The @rpath/libSlice.35.dylib now needs the proper LDFLAGS to be set,
which are missing when the Portfile clears LDPLATFORMFLAGS.
Modified Paths