diff options
author | Tudor Florea <tudor.florea@enea.com> | 2014-10-16 03:05:19 +0200 |
---|---|---|
committer | Tudor Florea <tudor.florea@enea.com> | 2014-10-16 03:05:19 +0200 |
commit | c527fd1f14c27855a37f2e8ac5346ce8d940ced2 (patch) | |
tree | bb002c1fdf011c41dbd2f0927bed23ecb5f83c97 /meta/recipes-core/util-linux/util-linux/configure-sbindir.patch | |
download | poky-c527fd1f14c27855a37f2e8ac5346ce8d940ced2.tar.gz |
initial commit for Enea Linux 4.0-140929daisy-140929
Migrated from the internal git server on the daisy-enea-point-release branch
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'meta/recipes-core/util-linux/util-linux/configure-sbindir.patch')
-rw-r--r-- | meta/recipes-core/util-linux/util-linux/configure-sbindir.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/meta/recipes-core/util-linux/util-linux/configure-sbindir.patch b/meta/recipes-core/util-linux/util-linux/configure-sbindir.patch new file mode 100644 index 0000000000..a5b1ff12e5 --- /dev/null +++ b/meta/recipes-core/util-linux/util-linux/configure-sbindir.patch | |||
@@ -0,0 +1,23 @@ | |||
1 | util-linux: take ${sbindir} from the environment if it is set there | ||
2 | fix the test, the [ ] syntax was getting eaten by autoconf | ||
3 | |||
4 | Signed-off-by: Phil Blundell <pb@pbcl.net> | ||
5 | Signed-off-by: Saul Wold <sgw@linux.intel.com | ||
6 | Upstream-Status: Inappropriate [configuration] | ||
7 | |||
8 | Index: util-linux-2.22.1/configure.ac | ||
9 | =================================================================== | ||
10 | --- util-linux-2.22.1.orig/configure.ac | ||
11 | +++ util-linux-2.22.1/configure.ac | ||
12 | @@ -73,7 +73,10 @@ AC_SUBST([localstatedir]) | ||
13 | usrbin_execdir='${exec_prefix}/bin' | ||
14 | AC_SUBST([usrbin_execdir]) | ||
15 | |||
16 | -usrsbin_execdir='${exec_prefix}/sbin' | ||
17 | +if test -z "$usrsbin_execdir" ; | ||
18 | +then | ||
19 | + usrsbin_execdir='${exec_prefix}/sbin' | ||
20 | +fi | ||
21 | AC_SUBST([usrsbin_execdir]) | ||
22 | |||
23 | case $libdir in | ||