From a2e5113512e893029a6b8c52b23ab0349ca76071 Mon Sep 17 00:00:00 2001 From: Ulf Samuelsson Date: Sat, 11 Aug 2007 22:26:56 +0000 Subject: Use STAGING_DIR/usr/lib instead of STAGING_DIR/lib --- package/vpnc/vpnc.mk | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) (limited to 'package/vpnc') 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) -- cgit v1.2.3