summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-10-09 20:27:29 +0000
committerMike Frysinger <vapier@gentoo.org>2004-10-09 20:27:29 +0000
commit0a19191eb86f6e8cd936247102efc240d857795f (patch)
treef467870fd63e7f61d1b7901f56d95fdd0c9990a4
parentb0842f9a139203fb5a2e36863ac9553f3b9c1e5d (diff)
downloadbuildroot-novena-0a19191eb86f6e8cd936247102efc240d857795f.tar.gz
buildroot-novena-0a19191eb86f6e8cd936247102efc240d857795f.zip
Thomas Lundquist: have the makefiles depend on the correct file
-rw-r--r--package/vtun/vtun.mk11
1 files changed, 6 insertions, 5 deletions
diff --git a/package/vtun/vtun.mk b/package/vtun/vtun.mk
index 92e01f7fc..a4d090494 100644
--- a/package/vtun/vtun.mk
+++ b/package/vtun/vtun.mk
@@ -24,7 +24,7 @@ $(VTUN_DIR)/.unpacked: $(DL_DIR)/$(VTUN_SOURCE)
toolchain/patch-kernel.sh $(VTUN_DIR) package/vtun/ vtun*.patch
touch $(VTUN_DIR)/.unpacked
-$(VTUN_DIR)/.configured: $(VTUN_DIR)/.unpacked zlib lzo openssl
+$(VTUN_DIR)/.configured: $(VTUN_DIR)/.unpacked
(cd $(VTUN_DIR); rm -rf config.cache; \
$(TARGET_CONFIGURE_OPTS) \
./configure \
@@ -41,10 +41,11 @@ $(VTUN_DIR)/.configured: $(VTUN_DIR)/.unpacked zlib lzo openssl
--localstatedir=/var \
--mandir=/usr/man \
--infodir=/usr/info \
- --with-ssl-headers=$(STAGING_DIR)/include/openssl \
- --with-lzo-headers=$(STAGING_DIR)/include \
+ --with-ssl-headers=$(STAGING_DIR)/usr/include/openssl \
+ --with-lzo-headers=$(STAGING_DIR)/usr/include \
+ --with-lzo-lib=$(STAGING_DIR)/usr/lib \
);
- touch $(VTUN_DIR)/.configured
+ touch $(VTUN_DIR)/.configured
$(VTUN_DIR)/$(VTUN_BINARY): $(VTUN_DIR)/.configured
$(MAKE) -C $(VTUN_DIR)
@@ -54,7 +55,7 @@ $(TARGET_DIR)/$(VTUN_TARGET_BINARY): $(VTUN_DIR)/$(VTUN_BINARY)
rm -rf $(TARGET_DIR)/share/locale $(TARGET_DIR)/usr/info \
$(TARGET_DIR)/usr/man $(TARGET_DIR)/usr/share/doc
-vtun: uclibc $(TARGET_DIR)/$(VTUN_TARGET_BINARY)
+vtun: uclibc zlib lzo openssl $(TARGET_DIR)/$(VTUN_TARGET_BINARY)
vtun-clean:
$(MAKE) DESTDIR=$(TARGET_DIR) -C $(VTUN_DIR) uninstall