From 9325ed2e4416103a0c6ee20b31133a5db6e3bac4 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 2 Jun 2015 17:38:44 +0200 Subject: [PATCH] mdadm: move to usr/bin. --- srcpkgs/mdadm/template | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/srcpkgs/mdadm/template b/srcpkgs/mdadm/template index c30246d5051..a776e81b94b 100644 --- a/srcpkgs/mdadm/template +++ b/srcpkgs/mdadm/template @@ -1,7 +1,7 @@ # Template file for 'mdadm' pkgname=mdadm version=3.3.2 -revision=6 +revision=7 build_pie=yes build_options="systemd" hostmakedepends="pkg-config" @@ -17,12 +17,12 @@ pre_configure() { sed -i 's,^install : mdadm mdmon,install: ,g' Makefile } do_build() { - make CC=$CC CFLAGS="$CFLAGS -Wno-error" LDFLAGS="$LDFLAGS" ${makejobs} + make CC=$CC CFLAGS="$CFLAGS -Wno-error" BINDIR=/usr/bin LDFLAGS="$LDFLAGS" ${makejobs} } do_install() { - make BINDIR=/usr/sbin STRIP= PREFIX=/usr DESTDIR=${DESTDIR} install + make BINDIR=/usr/bin STRIP= PREFIX=/usr DESTDIR=${DESTDIR} install if [ "$build_option_systemd" ]; then - make BINDIR=/usr/sbin STRIP= PREFIX=/usr \ + make BINDIR=/usr/bin STRIP= PREFIX=/usr \ SYSTEMD_DIR=/usr/lib/systemd/system DESTDIR=${DESTDIR} install-systemd else vsv mdadm