[vlc-devel] commit: Fix package-macosx-plugin target on MacOS X 10.5 (Leopard). ( Felix Paul Kühne )

git version control git at videolan.org
Tue Nov 11 19:47:09 CET 2008


vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Tue Nov 11 19:47:05 2008 +0100| [f506f347461641f288a5c0511b0b61bd221c9797] | committer: Felix Paul Kühne 

Fix package-macosx-plugin target on MacOS X 10.5 (Leopard).

forward-port [578af5df020a05e7deb7f4b0fdf5b6c5d402814e]

Signed-off-by: Felix Paul Kühne <fkuehne at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f506f347461641f288a5c0511b0b61bd221c9797
---

 Makefile.am |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index c00082a..91b8cf0 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1118,7 +1118,14 @@ if BUILD_MOZILLA
 	mkdir -p "$(top_builddir)/macosx-plugin-instdata"
 	cp -R "$(top_builddir)/projects/mozilla/VLC Plugin.plugin" "$(top_builddir)/macosx-plugin-instdata"
 	rm -rf "$(top_builddir)/VLC Internet Plug-In.pkg"
-	PATH=/Developer/usr/bin:/Developer/Tools:$$PATH packagemaker -build -ds -p "$(top_builddir)/VLC Internet Plug-In.pkg" \
+	export PACKAGEMAKER=
+	if test -x /Developer/Tools/packagemaker; then \
+	   export PACKAGEMAKER=/Developer/Tools/packagemaker; \
+	fi; \
+	if test -x /Developer/Applications/Utilities/PackageMaker.app/Contents/MacOS/PackageMaker; then \
+	   export PACKAGEMAKER=/Developer/Applications/Utilities/PackageMaker.app/Contents/MacOS/PackageMaker; \
+	fi; \
+	$${PACKAGEMAKER} -build -ds -p "$(top_builddir)/VLC Internet Plug-In.pkg" \
 	-f "$(top_builddir)/macosx-plugin-instdata" \
 	-i "$(srcdir)/extras/package/macosx/plugin/InstallerInfo.plist" \
 	-d "$(srcdir)/extras/package/macosx/plugin/InstallerDescription.plist"; true




More information about the vlc-devel mailing list