summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-11-29 20:51:47 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-11-29 20:51:47 +0000
commit5de88506d99f186291a4a8214b5a7bbb85b36905 (patch)
tree3365875bb58f0f8ca18f8f72a22d7bffa14c4aef
parenteb3b21be72f48bf0461f9fa1721b797783e59172 (diff)
- use the correct installation path.
-rw-r--r--package/openswan/openswan.mk10
1 files changed, 5 insertions, 5 deletions
diff --git a/package/openswan/openswan.mk b/package/openswan/openswan.mk
index b25251b90..b6a3e2700 100644
--- a/package/openswan/openswan.mk
+++ b/package/openswan/openswan.mk
@@ -11,8 +11,8 @@ OPENSWAN_SOURCE:=openswan-$(OPENSWAN_VERSION).tar.gz
OPENSWAN_SITE:=http://www.openswan.org/download/
OPENSWAN_DIR:=$(BUILD_DIR)/openswan-$(OPENSWAN_VERSION)
OPENSWAN_CAT:=$(ZCAT)
-OPENSWAN_BINARY:=openswan
-OPENSWAN_TARGET_BINARY:=usr/sbin/openswan
+OPENSWAN_BINARY:=programs/pluto/pluto
+OPENSWAN_TARGET_BINARY:=usr/sbin/ipsec
$(DL_DIR)/$(OPENSWAN_SOURCE):
$(WGET) -P $(DL_DIR) $(OPENSWAN_SITE)/$(OPENSWAN_SOURCE)
@@ -28,16 +28,16 @@ $(OPENSWAN_DIR)/.configured: $(OPENSWAN_DIR)/.unpacked
touch $(OPENSWAN_DIR)/.configured
$(OPENSWAN_DIR)/$(OPENSWAN_BINARY): $(OPENSWAN_DIR)/.configured
- echo $(LINUX_KERNEL)
+ @echo $(LINUX_KERNEL)
$(TARGET_CONFIGURE_OPTS) \
$(MAKE) -C $(OPENSWAN_DIR) \
- KERNELSRC=$(LINUX_DIR) DESTDIR=$(TARGET_DIR) \
+ KERNELSRC=$(LINUX_DIR) DESTDIR=$(TARGET_DIR) INC_USRLOCAL=/usr \
CC=$(TARGET_CC) USERCOMPILE="-UDEBUG -DNO_DEBUG -ULEAK_DETECTIVE $(TARGET_CFLAGS) -I$(TARGET_DIR)/usr/include" LD_LIBRARY_PATH=$(TARGET_DIR)/usr/lib programs
$(TARGET_DIR)/$(OPENSWAN_TARGET_BINARY): $(OPENSWAN_DIR)/$(OPENSWAN_BINARY)
$(TARGET_CONFIGURE_OPTS) \
$(MAKE) -C $(OPENSWAN_DIR) \
- KERNELSRC=$(LINUX_DIR) DESTDIR=$(TARGET_DIR) \
+ KERNELSRC=$(LINUX_DIR) DESTDIR=$(TARGET_DIR) INC_USRLOCAL=/usr \
CC=$(TARGET_CC) USERCOMPILE="-UDEBUG -DNO_DEBUG -ULEAK_DETECTIVE $(TARGET_CFLAGS) -I$(TARGET_DIR)/usr/include" LD_LIBRARY_PATH=$(TARGET_DIR)/usr/lib install
rm -rf $(TARGET_DIR)/share/locale $(TARGET_DIR)/usr/info \
$(TARGET_DIR)/usr/man $(TARGET_DIR)/usr/share/doc