iptables: bump to version 1.6.1
[buildroot-gz.git] / package / vpnc / 0001-Makefile-allow-to-override-the-PREFIX-variable.patch
blob49909ada5e55ac5b34f2435cfe45db55ab156aac
1 From 7314d232f8e85879d8f4c311ced44ee5b21fb239 Mon Sep 17 00:00:00 2001
2 From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
3 Date: Wed, 10 Feb 2016 23:26:27 +0100
4 Subject: [PATCH] Makefile: allow to override the PREFIX variable
6 Some people may not want to install in /usr/local, so this commit
7 makes it possible to override the PREFIX variable from the make
8 command line.
10 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
11 ---
13 Makefile | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-)
16 diff --git a/Makefile b/Makefile
17 index 69f5aca..f9a6781 100644
18 --- a/Makefile
19 +++ b/Makefile
20 @@ -20,7 +20,7 @@
21 # $Id$
23 DESTDIR=
24 -PREFIX=/usr/local
25 +PREFIX?=/usr/local
26 ETCDIR=/etc/vpnc
27 BINDIR=$(PREFIX)/bin
28 SBINDIR=$(PREFIX)/sbin
29 --
30 2.6.4