From 80fa85dad2331801d65c2a2de0bb79c685a6621b Mon Sep 17 00:00:00 2001 From: eddyg Date: Mon, 18 Aug 2008 20:39:43 +0000 Subject: [PATCH] Don't allow theora to use pkg-config and use system versions of ogg and vorbis git-svn-id: svn://localhost/HandBrake/trunk@1644 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- Makefile | 3 ++- contrib/Jamfile | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 6ed92da0..4899bbb3 100644 --- a/Makefile +++ b/Makefile @@ -35,7 +35,7 @@ cli: libhb/hbversion.h (./DownloadMacOsXContribBinaries.sh ; cd macosx ; xcodebuild -target libhb -target HandBrakeCLI -configuration UB HB_BUILD="$(HB_BUILD)" HB_VERSION="$(HB_VERSION)" build | sed '/^$$/d' ) clean: - (cd macosx ; xcodebuild -alltargets -configuration UB clean | sed '/^$$/d' ; rm -f libhb/hbversion.h ) + (cd macosx ; xcodebuild -alltargets -configuration UB clean | sed '/^$$/d' ; rm -f libhb/hbversion.h ; rm -f contrib/config.cache ) mrproper: (rm -rf libhb/hbversion.h contrib/*tar.gz contrib/include contrib/lib contrib/DarwinContribVersion.txt ; cd macosx ; xcodebuild -alltargets -configuration UB clean | sed '/^$$/d' ) @@ -78,6 +78,7 @@ clean: @$(MAKE) --no-print-directory -C libhb clean @$(MAKE) --no-print-directory -C test clean @rm libhb/hbversion.h + @rm -f contrib/config.cache mrproper: clean @$(MAKE) --no-print-directory -C contrib mrproper diff --git a/contrib/Jamfile b/contrib/Jamfile index 98b310bd..b3a8545d 100644 --- a/contrib/Jamfile +++ b/contrib/Jamfile @@ -391,6 +391,7 @@ actions LibTheora { cd `dirname $(>)` && CONTRIB=`pwd` && rm -rf libtheora && (gzip -dc libtheora.tar.gz | tar xf - ) && cd libtheora && + export HAVE_PKG_CONFIG="no" && ./configure --prefix=$CONTRIB --with-ogg=$CONTRIB --with-vorbis=$CONTRIB --cache-file=$CONTRIB/config.cache --disable-shared \ --disable-oggtest --disable-vorbistest --disable-sdltest --disable-examples && $(MAKE) && $(MAKE) install && -- 2.11.0