diff core/util-linux/util-linux.sh @ 549:bad483aace64

vanilla: use prefix= instead
author David Demelier <markand@malikania.fr>
date Sun, 23 Jun 2019 15:13:10 +0200
parents 014d018468fb
children 25cecc6dca48
line wrap: on
line diff
--- a/core/util-linux/util-linux.sh	Tue Apr 16 20:01:00 2019 +0200
+++ b/core/util-linux/util-linux.sh	Sun Jun 23 15:13:10 2019 +0200
@@ -83,6 +83,8 @@
 	tar xvaf $PKGNAME-$PKGVERSION.tar.xz
 	pushd $PKGNAME-$PKGVERSION
 
+	sed -i -e 's|/sbin|/bin|' configure.ac
+	autoreconf -vif
 	# chfn, chsh, login, nologin, su, vipw, vigr are provided by shadow.
 	CC="$CC" \
 	CFLAGS="$CFLAGS" \
@@ -100,10 +102,9 @@
 		--disable-su \
 		--disable-vipw \
 		--enable-shared \
-		--enable-usrdir-path \
 		--libdir=/lib \
-		--prefix=/ \
-		--sbindir=/sbin \
+		--prefix= \
+		--sbindir=/bin \
 		--without-systemd \
 		$with_audit \
 		$with_colors \