[tor-commits] [torbrowser/master] update firefox build target so that it really builds things automatically

erinn at torproject.org erinn at torproject.org
Sun Oct 23 23:18:24 UTC 2011


commit c2da9ee4f34b7339395ec7ace064c1880af68049
Author: Erinn Clark <erinn at torproject.org>
Date:   Wed Jun 15 21:55:24 2011 -0300

    update firefox build target so that it really builds things automatically
---
 build-scripts/osx.mk |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/build-scripts/osx.mk b/build-scripts/osx.mk
index 12d790c..1fa698f 100644
--- a/build-scripts/osx.mk
+++ b/build-scripts/osx.mk
@@ -101,8 +101,13 @@ build-tor:
 	cd $(TOR_DIR) && make
 	cd $(TOR_DIR) && make install
 
+FIREFOX_DIR=$(FETCH_DIR)/mozilla-2.0
 build-firefox:
-	echo "We're using a prebuilt firefox. Fix this someday!"
+	cp ../src/current-patches/*firefox* $(FIREFOX_DIR)
+	cp patch-firefox-src.sh $(FIREFOX_DIR)
+	cp $(CONFIG_SRC)/mozconfig-osx-$(ARCH_TYPE) $(FIREFOX_DIR)/mozconfig
+	cd $(FIREFOX_DIR) && ./patch-firefox-src.sh
+	cd $(FIREFOX_DIR) && make -f client.mk build
 
 build-all-binaries: build-zlib build-openssl build-vidalia build-libevent build-tor
 	echo "If we're here, we've done something right."





More information about the tor-commits mailing list