Blame view

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