Revision: 72719 http://trac.macports.org/changeset/72719 Author: michaelld@macports.org Date: 2010-10-24 17:51:00 -0700 (Sun, 24 Oct 2010) Log Message: ----------- Fix removed install_name_tool correction of qsci main library. Modified Paths: -------------- trunk/dports/devel/qscintilla/Portfile Modified: trunk/dports/devel/qscintilla/Portfile =================================================================== --- trunk/dports/devel/qscintilla/Portfile 2010-10-25 00:14:06 UTC (rev 72718) +++ trunk/dports/devel/qscintilla/Portfile 2010-10-25 00:51:00 UTC (rev 72719) @@ -60,13 +60,18 @@ destroot.cmd "cd ${worksrcpath}/Qt4; make install; cd ${worksrcpath}/designer-Qt4; make install; echo" -post-destroot { - # Fix import and plugin library ID (self name) - foreach fixfile [exec find ${destroot}${prefix}/share/${qt_name} \ - -name "*.dylib" -type f | \ - sed -e "s@${destroot}@@g" ] { - system "install_name_tool -id ${fixfile} ${destroot}${fixfile}" - } +post-build { + # Fix import and plugin library names + system "install_name_tool -id \ + ${qt_dir}/lib/libqscintilla2.5.dylib \ + ${worksrcpath}/Qt4/libqscintilla2.5.dylib" + system "install_name_tool -id \ + ${qt_plugins_dir}/designer/libqscintillaplugin.dylib \ + ${worksrcpath}/designer-Qt4/libqscintillaplugin.dylib" + system "install_name_tool -change \ + libqscintilla2.5.dylib \ + ${qt_dir}/lib/libqscintilla2.5.dylib \ + ${worksrcpath}/designer-Qt4/libqscintillaplugin.dylib" } livecheck.type regex
participants (1)
-
michaelld@macports.org