summaryrefslogtreecommitdiffstats
path: root/package/vpnc/vpnc.mk
diff options
context:
space:
mode:
authorUlf Samuelsson <ulf.samuelsson@atmel.com>2007-08-11 22:26:56 +0000
committerUlf Samuelsson <ulf.samuelsson@atmel.com>2007-08-11 22:26:56 +0000
commita2e5113512e893029a6b8c52b23ab0349ca76071 (patch)
treea303c3266b1a49f104497c3b7b86b226ab99bbbd /package/vpnc/vpnc.mk
parent927c01dd4a45623df173880c2b54ec8024cd8964 (diff)
downloadbuildroot-novena-a2e5113512e893029a6b8c52b23ab0349ca76071.tar.gz
buildroot-novena-a2e5113512e893029a6b8c52b23ab0349ca76071.zip
Use STAGING_DIR/usr/lib instead of STAGING_DIR/lib
Diffstat (limited to 'package/vpnc/vpnc.mk')
-rw-r--r--package/vpnc/vpnc.mk21
1 files changed, 11 insertions, 10 deletions
diff --git a/package/vpnc/vpnc.mk b/package/vpnc/vpnc.mk
index 8c9c96e6b..7971dbbb6 100644
--- a/package/vpnc/vpnc.mk
+++ b/package/vpnc/vpnc.mk
@@ -27,17 +27,18 @@ $(VPNC_DIR)/.configured: $(VPNC_DIR)/.unpacked
$(VPNC_BINARY): $(VPNC_DIR)/.configured
rm -f $@
- $(MAKE) $(TARGET_CONFIGURE_OPTS) INCLUDE=$(STAGING_DIR)/include CC=$(TARGET_CC) -C $(VPNC_DIR)
+ $(MAKE) $(TARGET_CONFIGURE_OPTS) INCLUDE=$(STAGING_DIR)/usr/include \
+ CC=$(TARGET_CC) -C $(VPNC_DIR)
$(VPNC_TARGET_BINARY): $(VPNC_BINARY)
- $(MAKE) $(TARGET_CONFIGURE_OPTS) \
- DESTDIR=$(TARGET_DIR) \
- BINDIR=/usr/local/bin \
- SBINDIR=/usr/local/sbin \
- ETCDIR=/etc/vpnc \
- MANDIR=/usr/local/share/man \
- VERSION=$(VPNC_VERSION) \
- INCLUDE=$(STAGING_DIR)/include \
+ $(MAKE) $(TARGET_CONFIGURE_OPTS) \
+ DESTDIR=$(TARGET_DIR) \
+ BINDIR=/usr/local/bin \
+ SBINDIR=/usr/local/sbin \
+ ETCDIR=/etc/vpnc \
+ MANDIR=/usr/local/share/man \
+ VERSION=$(VPNC_VERSION) \
+ INCLUDE=$(STAGING_DIR)/usr/include \
LDFLAGS="-g -lgcrypt -lgpg-error" \
-C $(VPNC_DIR) install
$(STRIP) --strip-unneeded $(VPNC_TARGET_BINARY)
@@ -46,7 +47,7 @@ $(VPNC_TARGET_BINARY): $(VPNC_BINARY)
-vpnc: uclibc $(VPNC_TARGET_BINARY)
+vpnc: uclibc $(VPNC_TARGET_BINARY)
vpnc-source: $(DL_DIR)/$(VPNC_SOURCE)