- ige-mac-bundler $(PACKAGE_BUNDLE_FILE)
- /bin/echo -n "[Pango]\nModuleFiles=./etc/pango/pango.modules" \
- > $(BUNDLEDIR)/Contents/Resources/etc/pango/pangorc
+ MS2_PLUGINS_INSTALL_PREFIX=$(prefix) \
+ gtk-mac-bundler $(PACKAGE_BUNDLE_FILE)
+ printf "[Pango]\nModuleFiles=./etc/pango/pango.modules\n" \
+ > $(BUNDLEDIR)/Contents/Resources/etc/pango/pangorc
+ cp -f $(BUNDLEDIR)/Contents/Resources/etc/pango/pango.modules $(BUNDLEDIR)/Contents/Resources/etc/pango/pango.modules.orig
+ sed -e 's:@executable_path.*/::g' $(BUNDLEDIR)/Contents/Resources/etc/pango/pango.modules.orig > $(BUNDLEDIR)/Contents/Resources/etc/pango/pango.modules