summaryrefslogtreecommitdiff
path: root/openwrt/package/vpnc/patches/01-no_man.patch
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2005-12-15 12:55:38 +0000
committerNicolas Thill <nico@openwrt.org>2005-12-15 12:55:38 +0000
commit007140bf20888f4f375514cccd50876584055dd0 (patch)
tree83a4be2545f963b908337973662265059534d714 /openwrt/package/vpnc/patches/01-no_man.patch
parenta8c3b7c7164df7a6c83c64601dfaaea476a169d2 (diff)
downloadmtk-20170518-007140bf20888f4f375514cccd50876584055dd0.zip
mtk-20170518-007140bf20888f4f375514cccd50876584055dd0.tar.gz
mtk-20170518-007140bf20888f4f375514cccd50876584055dd0.tar.bz2
rename the patch to better match its purpose, add target optimization cflags, prevent host system detection to set compile-time options.
SVN-Revision: 2688
Diffstat (limited to 'openwrt/package/vpnc/patches/01-no_man.patch')
-rw-r--r--openwrt/package/vpnc/patches/01-no_man.patch27
1 files changed, 0 insertions, 27 deletions
diff --git a/openwrt/package/vpnc/patches/01-no_man.patch b/openwrt/package/vpnc/patches/01-no_man.patch
deleted file mode 100644
index a5cc395..0000000
--- a/openwrt/package/vpnc/patches/01-no_man.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-diff -urN orig/vpnc-0.3.3/Makefile vpnc-0.3.3/Makefile
---- orig/vpnc-0.3.3/Makefile 2005-05-01 22:30:35.000000000 +0200
-+++ vpnc-0.3.3/Makefile 2005-12-13 10:30:56.000000000 +0100
-@@ -22,9 +22,8 @@
- SBINDIR=$(PREFIX)/sbin
- MANDIR=$(PREFIX)/share/man
-
--CC=gcc
--CFLAGS=-W -Wall -O -g '-DVERSION="$(shell cat VERSION)"' $(shell libgcrypt-config --cflags)
--LDFLAGS=-g $(shell libgcrypt-config --libs)
-+CFLAGS=-W -Wall -O -I$(STAGING_DIR)/usr/include '-DVERSION="$(shell cat VERSION)"' $(shell libgcrypt-config --cflags)
-+LDFLAGS=-L$(STAGING_DIR)/usr/lib $(shell libgcrypt-config --libs)
-
- ifeq ($(shell uname -s), Linux)
- SYSDEP=sysdep-linux.o
-@@ -83,10 +82,9 @@
- all : vpnc
-
- install :
-- install -d $(DESTDIR)$(ETCDIR) $(DESTDIR)$(SBINDIR) $(DESTDIR)$(MANDIR)/man8
-+ install -d $(DESTDIR)$(ETCDIR) $(DESTDIR)$(SBINDIR)
- install vpnc.conf vpnc-script $(DESTDIR)$(ETCDIR)
- install vpnc vpnc-disconnect $(DESTDIR)$(SBINDIR)
-- install vpnc.8 $(DESTDIR)$(MANDIR)/man8
-
- install-strip :
- install -d $(DESTDIR)$(ETCDIR) $(DESTDIR)$(SBINDIR) $(DESTDIR)$(MANDIR)/man8