Revision: 93856 https://trac.macports.org/changeset/93856 Author: michaelld@macports.org Date: 2012-06-01 08:23:54 -0700 (Fri, 01 Jun 2012) Log Message: ----------- phonon in qt4-mac branch : fix library names broken by tweaking compatibility version Modified Paths: -------------- branches/mld-qt-481/dports/audio/phonon/Portfile Modified: branches/mld-qt-481/dports/audio/phonon/Portfile =================================================================== --- branches/mld-qt-481/dports/audio/phonon/Portfile 2012-06-01 15:10:18 UTC (rev 93855) +++ branches/mld-qt-481/dports/audio/phonon/Portfile 2012-06-01 15:23:54 UTC (rev 93856) @@ -37,19 +37,20 @@ move ${destroot}${qt_plugins_dir}/designer/libphononwidgets.so \ ${destroot}${qt_plugins_dir}/designer/libphononwidgets.dylib + # link major library version name + + ln -s ${prefix}/lib/libphonon.dylib ${destroot}${prefix}/lib/libphonon.4.dylib + ln -s ${prefix}/lib/libphononexperimental.dylib ${destroot}${prefix}/lib/libphononexperimental.4.dylib + # fix library and plugin self-names - foreach fixfile { lib/libphonon.dylib \ - lib/libphononexperimental.dylib } { - system "install_name_tool -id ${prefix}/${fixfile} ${destroot}${prefix}/${fixfile}" - } + system "install_name_tool -id ${prefix}/lib/libphonon.4.dylib ${destroot}${prefix}/lib/libphonon.dylib" + system "install_name_tool -id ${prefix}/lib/libphononexperimental.4.dylib ${destroot}${prefix}/lib/libphononexperimental.dylib" # fix use of libphonon - foreach fixfile { lib/libphononexperimental.dylib \ - share/qt4/plugins/designer/libphononwidgets.dylib } { - system "install_name_tool -change lib/libphonon.4.dylib ${prefix}/lib/libphonon.4.dylib ${destroot}${prefix}/${fixfile}" - } + system "install_name_tool -change lib/libphonon.4.4.0.dylib ${prefix}/lib/libphonon.4.dylib ${destroot}${prefix}/lib/libphononexperimental.dylib" + system "install_name_tool -change lib/libphonon.4.4.0.dylib ${prefix}/lib/libphonon.4.dylib ${destroot}${prefix}/share/qt4/plugins/designer/libphononwidgets.dylib" # move odd cmake directory into the cmake module's directory
participants (1)
-
michaelld@macports.org