diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2007-09-19 10:30:02 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2007-09-19 10:30:02 +0000 |
commit | 23ce501c7a3fe833c62d6966f3e49a0f05fbfac3 (patch) | |
tree | 503bf59334d9eda7162f7a76f8776a01ab175ec8 /package/vpnc/vpnc.mk | |
parent | 595e070364fa578dcc44bea7256ef635368bad9c (diff) |
- add missing dependency on libgcrypt
Ulf, this should be updated to 0.5.1
Diffstat (limited to 'package/vpnc/vpnc.mk')
-rw-r--r-- | package/vpnc/vpnc.mk | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/package/vpnc/vpnc.mk b/package/vpnc/vpnc.mk index 254145382..9ddbd42d6 100644 --- a/package/vpnc/vpnc.mk +++ b/package/vpnc/vpnc.mk @@ -20,15 +20,12 @@ $(DL_DIR)/$(VPNC_SOURCE): $(VPNC_DIR)/.unpacked: $(DL_DIR)/$(VPNC_SOURCE) $(VPNC_CAT) $(DL_DIR)/$(VPNC_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - toolchain/patch-kernel.sh $(VPNC_DIR) package/vpnc \*.patch - touch $(VPNC_DIR)/.unpacked + touch $@ -$(VPNC_DIR)/.configured: $(VPNC_DIR)/.unpacked - touch $(VPNC_DIR)/.configured - -$(VPNC_BINARY): $(VPNC_DIR)/.configured +$(VPNC_BINARY): $(VPNC_DIR)/.unpacked rm -f $@ $(MAKE) $(TARGET_CONFIGURE_OPTS) INCLUDE=$(STAGING_DIR)/usr/include \ - CC=$(TARGET_CC) -C $(VPNC_DIR) + CC="$(TARGET_CC)" -C $(VPNC_DIR) $(VPNC_TARGET_BINARY): $(VPNC_BINARY) $(MAKE) $(TARGET_CONFIGURE_OPTS) \ @@ -39,18 +36,16 @@ $(VPNC_TARGET_BINARY): $(VPNC_BINARY) MANDIR=/usr/share/man \ VERSION=$(VPNC_VERSION) \ INCLUDE=$(STAGING_DIR)/usr/include \ - LDFLAGS="-g -lgcrypt -lgpg-error" \ + LDFLAGS="-lgcrypt -lgpg-error" \ -C $(VPNC_DIR) install $(STRIP) $(STRIP_STRIP_UNNEEDED) $(VPNC_TARGET_BINARY) -vpnc: uclibc $(VPNC_TARGET_BINARY) +vpnc: uclibc libgcrypt $(VPNC_TARGET_BINARY) vpnc-source: $(DL_DIR)/$(VPNC_SOURCE) vpnc-clean: - @if [ -d $(VPNC_DIR)/Makefile ]; then \ - $(MAKE) -C $(VPNC_DIR) clean; \ - fi + -$(MAKE) -C $(VPNC_DIR) clean rm -f $(STAGING_DIR)/usr/bin/vpnc vpnc-dirclean: |