summaryrefslogtreecommitdiff
path: root/make
diff options
context:
space:
mode:
authorManuel Novoa III <mjn3@codepoet.org>2004-03-11 17:10:44 +0000
committerManuel Novoa III <mjn3@codepoet.org>2004-03-11 17:10:44 +0000
commitaf08b68982c53c54fdbefa0dc3dc6e8d01b8c34e (patch)
tree7f938a55dc46ff8d989bba4160dd57bca2ab2700 /make
parent061d7b04faaf5fa70c2b8d653044af174234343c (diff)
Enable pthread support plus some minor tweaks to dependencies.
Diffstat (limited to 'make')
-rw-r--r--make/openvpn.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/make/openvpn.mk b/make/openvpn.mk
index faacedac7..50624ad64 100644
--- a/make/openvpn.mk
+++ b/make/openvpn.mk
@@ -19,7 +19,7 @@ $(DL_DIR)/$(OPENVPN_SOURCE):
openvpn-source: $(DL_DIR)/$(OPENVPN_SOURCE)
-$(OPENVPN_DIR)/.unpacked: $(DL_DIR)/$(OPENVPN_SOURCE)
+$(OPENVPN_DIR)/.unpacked: $(DL_DIR)/$(OPENVPN_SOURCE) lzo openssl
$(OPENVPN_CAT) $(DL_DIR)/$(OPENVPN_SOURCE) | tar -C $(BUILD_DIR) -xvf -
#cat $(OPENVPN_PATCH) | patch -p1 -d $(OPENVPN_DIR)
touch $(OPENVPN_DIR)/.unpacked
@@ -42,6 +42,7 @@ $(OPENVPN_DIR)/.configured: $(OPENVPN_DIR)/.unpacked
--mandir=/usr/man \
--infodir=/usr/info \
--program-prefix="" \
+ --enable-pthread \
);
touch $(OPENVPN_DIR)/.configured
@@ -55,7 +56,7 @@ $(TARGET_DIR)/$(OPENVPN_TARGET_BINARY): $(OPENVPN_DIR)/$(OPENVPN_BINARY)
rm -rf $(TARGET_DIR)/share/locale $(TARGET_DIR)/usr/info \
$(TARGET_DIR)/usr/man $(TARGET_DIR)/usr/share/doc
-openvpn: uclibc lzo $(TARGET_DIR)/$(OPENVPN_TARGET_BINARY)
+openvpn: uclibc $(TARGET_DIR)/$(OPENVPN_TARGET_BINARY)
openvpn-clean:
$(MAKE) DESTDIR=$(TARGET_DIR) -C $(OPENVPN_DIR) uninstall