Enable pthread support plus some minor tweaks to dependencies.
authorManuel Novoa III <mjn3@codepoet.org>
Thu, 11 Mar 2004 17:10:44 +0000 (17:10 -0000)
committerManuel Novoa III <mjn3@codepoet.org>
Thu, 11 Mar 2004 17:10:44 +0000 (17:10 -0000)
make/openvpn.mk

index faacedac77f5134751a8233eeca42c3961832618..50624ad6409e04e88d9cb1e7940eee9cf79bf4a8 100644 (file)
@@ -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