a5cc3952c4684abafc52a00a75dd73cb5a29d42f
[openwrt/svn-archive/archive.git] / openwrt / package / vpnc / patches / 01-no_man.patch
1 diff -urN orig/vpnc-0.3.3/Makefile vpnc-0.3.3/Makefile
2 --- orig/vpnc-0.3.3/Makefile 2005-05-01 22:30:35.000000000 +0200
3 +++ vpnc-0.3.3/Makefile 2005-12-13 10:30:56.000000000 +0100
4 @@ -22,9 +22,8 @@
5 SBINDIR=$(PREFIX)/sbin
6 MANDIR=$(PREFIX)/share/man
7
8 -CC=gcc
9 -CFLAGS=-W -Wall -O -g '-DVERSION="$(shell cat VERSION)"' $(shell libgcrypt-config --cflags)
10 -LDFLAGS=-g $(shell libgcrypt-config --libs)
11 +CFLAGS=-W -Wall -O -I$(STAGING_DIR)/usr/include '-DVERSION="$(shell cat VERSION)"' $(shell libgcrypt-config --cflags)
12 +LDFLAGS=-L$(STAGING_DIR)/usr/lib $(shell libgcrypt-config --libs)
13
14 ifeq ($(shell uname -s), Linux)
15 SYSDEP=sysdep-linux.o
16 @@ -83,10 +82,9 @@
17 all : vpnc
18
19 install :
20 - install -d $(DESTDIR)$(ETCDIR) $(DESTDIR)$(SBINDIR) $(DESTDIR)$(MANDIR)/man8
21 + install -d $(DESTDIR)$(ETCDIR) $(DESTDIR)$(SBINDIR)
22 install vpnc.conf vpnc-script $(DESTDIR)$(ETCDIR)
23 install vpnc vpnc-disconnect $(DESTDIR)$(SBINDIR)
24 - install vpnc.8 $(DESTDIR)$(MANDIR)/man8
25
26 install-strip :
27 install -d $(DESTDIR)$(ETCDIR) $(DESTDIR)$(SBINDIR) $(DESTDIR)$(MANDIR)/man8