[tor-commits] [torbrowser/maint-2.3] OSX: Don't use sudo to install libevent

erinn at torproject.org erinn at torproject.org
Thu Mar 8 20:43:01 UTC 2012


commit 5685f0c236eceb0a22040d3bf510476a0495e7cf
Author: Sebastian Hahn <sebastian at torproject.org>
Date:   Fri Feb 3 16:16:03 2012 +0100

    OSX: Don't use sudo to install libevent
    
    There's no need to do so, and it prevents the other stuff from working
    without privileges
---
 build-scripts/osx.mk |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/build-scripts/osx.mk b/build-scripts/osx.mk
index a02fc33..81e10f0 100644
--- a/build-scripts/osx.mk
+++ b/build-scripts/osx.mk
@@ -97,7 +97,7 @@ LIBEVENT_OPTS=--prefix=$(BUILT_DIR) --enable-static --disable-shared --disable-d
 build-libevent:
 	cd $(LIBEVENT_DIR) && CFLAGS=$(LIBEVENT_CFLAGS) LDFLAGS=$(LIBEVENT_LDFLAGS) ./configure $(LIBEVENT_OPTS)
 	cd $(LIBEVENT_DIR) && make -j2
-	cd $(LIBEVENT_DIR) && sudo make install
+	cd $(LIBEVENT_DIR) && make install
 
 TOR_DIR=$(FETCH_DIR)/tor-$(TOR_VER)
 TOR_CFLAGS="-O -g -arch $(ARCH_TYPE) -I$(BUILT_DIR)/include -mmacosx-version-min=10.5 -isysroot /Developer/SDKs/MacOSX10.5.sdk"





More information about the tor-commits mailing list