forked from brl/citadel
Bruce Leidl
e20e601129
Updated Recipes: gcr4 3.92 -> 4.0.0 geoclue 2.5.7 -> 2.7.0 gjs 1.73.2 -> 1.77.90 gnome-backgrounds 42.0 -> 45.0 gnome-control-center 43.0 -> 45.0 gnome-desktop 43.rc -> 44.0 gsettings-desktop-schema 43.0 -> 45.0 libblockdev 2.26 -> 2.28 libgweather4 4.0.0 -> 4.2.0 libnma 1.8.38 -> 1.10.6 mozjs 102 -> 115 nss 3.64 -> 3.74 ovmf 202205 -> 202211 New recipes: appstream 0.16.3 libei 1.1.0 libxmlb 0.3.14 tecla 45.0 webm/libvpx 1.13 Recipes updated to replace poky recipes with insufficient version: glib-2.0 2.78.0 gtk+/gtk+3 3.24.38 gtk+/gtk4 4.12.1 icu 73_2 wayland/wayland 1.22.0 wayland/wayland-protocols 1.32 wayland/libinput 1.24.0 libadwaita 1.4.0
55 lines
1.4 KiB
Diff
55 lines
1.4 KiB
Diff
From dc0a5c3d2dd4e79d12a150a246a95c4dc88326f1 Mon Sep 17 00:00:00 2001
|
|
From: Koen Kooi <koen@dominion.thruhere.net>
|
|
Date: Tue, 16 Aug 2011 16:04:35 +0200
|
|
Subject: [PATCH] Upstream: not yet
|
|
|
|
Fix configure to accept "--prefix=" (a blank prefix).
|
|
|
|
---
|
|
Upstream-Status: Pending
|
|
|
|
build/make/configure.sh | 20 ++++++++++++++++----
|
|
1 file changed, 16 insertions(+), 4 deletions(-)
|
|
|
|
diff --git a/build/make/configure.sh b/build/make/configure.sh
|
|
index 007e020..04d5cbf 100644
|
|
--- a/build/make/configure.sh
|
|
+++ b/build/make/configure.sh
|
|
@@ -581,6 +581,8 @@ process_common_cmdline() {
|
|
;;
|
|
--prefix=*)
|
|
prefix="${optval}"
|
|
+ # Distinguish between "prefix not set" and "prefix set to ''"
|
|
+ prefixset=1
|
|
;;
|
|
--libdir=*)
|
|
libdir="${optval}"
|
|
@@ -614,13 +616,23 @@ process_cmdline() {
|
|
}
|
|
|
|
post_process_common_cmdline() {
|
|
- prefix="${prefix:-/usr/local}"
|
|
+ if [ "$prefixset" != "1" ]
|
|
+ then
|
|
+ prefix=/usr/local
|
|
+ fi
|
|
+
|
|
+ # Strip trailing slash
|
|
prefix="${prefix%/}"
|
|
+
|
|
libdir="${libdir:-${prefix}/lib}"
|
|
libdir="${libdir%/}"
|
|
- if [ "${libdir#${prefix}}" = "${libdir}" ]; then
|
|
- die "Libdir ${libdir} must be a subdirectory of ${prefix}"
|
|
- fi
|
|
+
|
|
+ case "$libdir" in
|
|
+ "${prefix}/"*) ;;
|
|
+ *)
|
|
+ die "Libdir ${libdir} must be a subdirectory of ${prefix}"
|
|
+ ;;
|
|
+ esac
|
|
}
|
|
|
|
post_process_cmdline() {
|