Changeset 2752


Ignore:
Timestamp:
2005-12-23T23:48:22+01:00 (12 years ago)
Author:
wbx
Message:

fix build on systems without libgcrypt-config

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/openwrt/package/vpnc/patches/01-cross.patch

    r2688 r2752  
    1 diff -ruN vpnc-0.3.3-old/Makefile vpnc-0.3.3-new/Makefile 
    2 --- vpnc-0.3.3-old/Makefile     2005-05-01 22:30:35.000000000 +0200 
    3 +++ vpnc-0.3.3-new/Makefile     2005-12-13 17:23:26.000000000 +0100 
    4 @@ -23,25 +23,26 @@ 
     1diff -Nur vpnc-0.3.3/Makefile vpnc-0.3.3.patched/Makefile 
     2--- vpnc-0.3.3/Makefile 2005-05-01 22:30:35.000000000 +0200 
     3+++ vpnc-0.3.3.patched/Makefile 2005-12-23 23:43:55.222055250 +0100 
     4@@ -17,31 +17,32 @@ 
     5 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     6  
     7 DESTDIR= 
     8-PREFIX=/usr/local 
     9+PREFIX=/usr 
     10 ETCDIR=/etc/vpnc 
     11 SBINDIR=$(PREFIX)/sbin 
    512 MANDIR=$(PREFIX)/share/man 
    613  
     
    815-CFLAGS=-W -Wall -O -g '-DVERSION="$(shell cat VERSION)"' $(shell libgcrypt-config --cflags) 
    916-LDFLAGS=-g $(shell libgcrypt-config --libs) 
    10 +CFLAGS=-W -Wall -I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include $(OFLAGS) '-DVERSION="$(shell cat VERSION)"' $(shell libgcrypt-config --cflags) 
    11 +LDFLAGS=-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib $(shell libgcrypt-config --libs) 
     17+CFLAGS=-W -Wall -I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include $(OFLAGS) '-DVERSION="$(shell cat VERSION)"' 
     18+LDFLAGS=-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib -lgcrypt -lgpg-error 
    1219  
    1320-ifeq ($(shell uname -s), Linux) 
Note: See TracChangeset for help on using the changeset viewer.