From d565b4a5e0045f1e40e0e462920ed5b8faca9eec Mon Sep 17 00:00:00 2001
From: Martin Jansa <Martin.Jansa@gmail.com>
Date: Sun, 2 Dec 2012 02:16:54 +0100
Subject: [PATCH 2/8] Fix vpnc install for cross compile

---
Upstream-Status: Pending

 Makefile | 22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)

diff --git a/Makefile b/Makefile
index 69f5aca..a15782e 100644
--- a/Makefile
+++ b/Makefile
@@ -133,21 +133,21 @@ install-common: all
 	else \
 		install vpnc-script $(DESTDIR)$(ETCDIR); \
 	fi
-	install -m600 vpnc.conf $(DESTDIR)$(ETCDIR)/default.conf
-	install -m755 vpnc-disconnect $(DESTDIR)$(SBINDIR)
-	install -m755 pcf2vpnc $(DESTDIR)$(BINDIR)
-	install -m644 vpnc.8 $(DESTDIR)$(MANDIR)/man8
-	install -m644 pcf2vpnc.1 $(DESTDIR)$(MANDIR)/man1
-	install -m644 cisco-decrypt.1 $(DESTDIR)$(MANDIR)/man1
-	install -m644 COPYING $(DESTDIR)$(DOCDIR)
+	install -m 600 vpnc.conf $(DESTDIR)$(ETCDIR)/default.conf
+	install -m 755 vpnc-disconnect $(DESTDIR)$(SBINDIR)
+	install -m 755 pcf2vpnc $(DESTDIR)$(BINDIR)
+	install -m 644 vpnc.8 $(DESTDIR)$(MANDIR)/man8
+	install -m 644 pcf2vpnc.1 $(DESTDIR)$(MANDIR)/man1
+	install -m 644 cisco-decrypt.1 $(DESTDIR)$(MANDIR)/man1
+	install -m 644 COPYING $(DESTDIR)$(DOCDIR)
 
 install : install-common
-	install -m755 vpnc $(DESTDIR)$(SBINDIR)
-	install -m755 cisco-decrypt $(DESTDIR)$(BINDIR)
+	install -m 755 vpnc $(DESTDIR)$(SBINDIR)
+	install -m 755 cisco-decrypt $(DESTDIR)$(BINDIR)
 
 install-strip : install-common
-	install -s -m755 vpnc $(DESTDIR)$(SBINDIR)
-	install -s -m755 cisco-decrypt $(DESTDIR)$(BINDIR)
+	install -s -m 755 vpnc $(DESTDIR)$(SBINDIR)
+	install -s -m 755 cisco-decrypt $(DESTDIR)$(BINDIR)
 
 uninstall :
 	rm -f $(DESTDIR)$(SBINDIR)/vpnc \
-- 
2.12.1

