Revision: 110312 https://trac.macports.org/changeset/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: -------------- trunk/dports/devel/zeroc-ice35/Portfile Modified: trunk/dports/devel/zeroc-ice35/Portfile =================================================================== --- trunk/dports/devel/zeroc-ice35/Portfile 2013-08-29 21:31:46 UTC (rev 110311) +++ trunk/dports/devel/zeroc-ice35/Portfile 2013-08-29 21:34:34 UTC (rev 110312) @@ -5,6 +5,7 @@ name zeroc-ice35 version 3.5.0 +revision 1 set branch [join [lrange [split ${version} .] 0 1] .] categories devel maintainers blair @@ -103,7 +104,7 @@ set jobsargs " -j${build.jobs}" } - set cmd "cd ${build.dir} && make${jobsargs} prefix='${prefix}' embedded_runpath_prefix='${prefix}' CC='${configure.cc}' CXX='${configure.cxx}' OPTIMIZE='yes' BZIP2_HOME='${prefix}' DB_HOME='${prefix}' EXPAT_HOME='${prefix}' OPENSSL_HOME='${prefix}' READLINE_HOME='${prefix}' USE_READLINE=yes MCPP_HOME='${prefix}' LDPLATFORMFLAGS= all && cd doc && make${jobsargs}" + set cmd "cd ${build.dir} && make${jobsargs} prefix='${prefix}' embedded_runpath_prefix='${prefix}' CC='${configure.cc}' CXX='${configure.cxx}' OPTIMIZE='yes' BZIP2_HOME='${prefix}' DB_HOME='${prefix}' EXPAT_HOME='${prefix}' OPENSSL_HOME='${prefix}' READLINE_HOME='${prefix}' USE_READLINE=yes MCPP_HOME='${prefix}' all && cd doc && make${jobsargs}" ui_debug ${cmd} system ${cmd} }
participants (1)
-
blair@macports.org