[Lunar-commits] <moonbase-core> btrfs-progs: honor CFLAGS and BUILD tweaks

Stefan Wold ratler at lunar-linux.org
Thu Aug 7 19:28:07 CEST 2014


commit 21aa379abcf176bb366258eb121841d299a88cac
Author: Stefan Wold <ratler at lunar-linux.org>
Date: Thu, 07 Aug 2014 19:27:47 +0200
URL: https://github.com/lunar-linux/moonbase-core/commit/21aa379abcf176bb366258eb121841d299a88cac

btrfs-progs: honor CFLAGS and BUILD tweaks
---
  filesys/btrfs-progs/BUILD | +5/-10    
  1 file changed, 5 insertions(+), 10 deletions(-)

--- a/filesys/btrfs-progs/BUILD
+++ b/filesys/btrfs-progs/BUILD
@@ -1,10 +1,5 @@
-(
-
-  sedit 's/^prefix.*/prefix = \/usr/' Makefile
-  sedit 's/^bindir.*/bindir = \/sbin/' Makefile &&
-
-  make &&
-  prepare_install &&
-  make install
-
-) > $C_FIFO 2>&1
+make CFLAGS="$CFLAGS" &&
+make CFLAGS="$CFLAGS" btrfs-select-super &&
+prepare_install &&
+make prefix=/usr bindir=/sbin install &&
+install -Dm0755 btrfs-select-super /sbin




More information about the Lunar-commits mailing list