summaryrefslogtreecommitdiffstats
path: root/import-layers/meta-openembedded/meta-oe/recipes-connectivity/mosquitto/files/0001-config.mk-allow-prefix-mandir-localedir-from-environ.patch
blob: a5aa277a08bd51cf589ebfc5d8bac1cfee94d697 (plain)
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
31
32
33
34
35
From 0be38301249d797ec1f59071cc868ceda6d4720a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Draszik?= <andre.draszik@jci.com>
Date: Tue, 12 Apr 2016 12:50:32 +0100
Subject: [PATCH 1/2] config.mk: allow prefix / mandir / localedir from
 environment
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

We want to control them using OE environment variables.

Upstream-Status: Inappropriate [embedded-specific]
Signed-off-by: André Draszik <andre.draszik@jci.com>
---
 config.mk | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/config.mk b/config.mk
index 71f17e5..81d9702 100644
--- a/config.mk
+++ b/config.mk
@@ -249,7 +249,7 @@ ifeq ($(WITH_DOCS),yes)
 endif
 
 INSTALL?=install
-prefix=/usr/local
-mandir=${prefix}/share/man
-localedir=${prefix}/share/locale
+prefix?=/usr/local
+mandir?=${prefix}/share/man
+localedir?=${prefix}/share/locale
 STRIP?=strip
-- 
2.15.1

OpenPOWER on IntegriCloud