summaryrefslogtreecommitdiff
path: root/package/util-linux/patches/patch-configure_ac.orig
diff options
context:
space:
mode:
Diffstat (limited to 'package/util-linux/patches/patch-configure_ac.orig')
-rw-r--r--package/util-linux/patches/patch-configure_ac.orig19
1 files changed, 19 insertions, 0 deletions
diff --git a/package/util-linux/patches/patch-configure_ac.orig b/package/util-linux/patches/patch-configure_ac.orig
new file mode 100644
index 000000000..a2fc44d18
--- /dev/null
+++ b/package/util-linux/patches/patch-configure_ac.orig
@@ -0,0 +1,19 @@
+--- util-linux-2.25.2.orig/configure.ac 2014-10-24 05:24:02.952545559 -0500
++++ util-linux-2.25.2/configure.ac 2014-12-27 12:17:12.651522964 -0600
+@@ -53,16 +53,6 @@ LIBSMARTCOLS_LT_MINOR=1
+ LIBSMARTCOLS_LT_MICRO=0
+ LIBSMARTCOLS_VERSION_INFO=`expr $LIBSMARTCOLS_LT_MAJOR + $LIBSMARTCOLS_LT_MINOR`:$LIBSMARTCOLS_LT_MICRO:$LIBSMARTCOLS_LT_MINOR
+
+-# Check whether exec_prefix=/usr:
+-AS_CASE([$exec_prefix:$prefix],
+-[NONE:NONE | NONE:/usr | /usr:*],
+- [AC_MSG_NOTICE([Default --exec-prefix detected.])
+- AS_CASE([$bindir], ['${exec_prefix}/bin'], [bindir=/bin; AC_MSG_NOTICE([ --bindir defaults to /bin]) ])
+- AS_CASE([$sbindir], ['${exec_prefix}/sbin'], [sbindir=/sbin; AC_MSG_NOTICE([ --sbindir defaults to /sbin])])
+- AS_CASE([$libdir], ['${exec_prefix}/lib'], [libdir=/lib; AC_MSG_NOTICE([ --libdir defaults to /lib]) ])
+- ]
+-)
+-
+ AS_CASE([$prefix:$localstatedir],
+ [NONE:'${prefix}/var' | /usr:'${prefix}/var'],
+ [localstatedir=/run