[Lunar-commits] <moonbase-core> mdadm: properly use CFLAGS and BUILD cleanup

Stefan Wold ratler at lunar-linux.org
Sun Sep 15 11:44:56 CEST 2013


commit 089793ecb56a8d1251a7edabff56655a6e34dcb3
Author: Stefan Wold <ratler at lunar-linux.org>
Date: Sun, 15 Sep 2013 02:42:57 -0700
URL: https://github.com/lunar-linux/moonbase-core/commit/089793ecb56a8d1251a7edabff56655a6e34dcb3

mdadm: properly use CFLAGS and BUILD cleanup

mdadm doesn't automatically pick up CFLAGS from the env. The Makefile
sedit is no longer required, mdadm now utilize pkg-config to determine
the proper location of udev dir.
---
  filesys/mdadm/BUILD | +4/-8     
  1 file changed, 4 insertions(+), 8 deletions(-)

--- a/filesys/mdadm/BUILD
+++ b/filesys/mdadm/BUILD
@@ -1,8 +1,4 @@
-(
-   if module_installed systemd; then
-      sedit 's@/lib/udev/rules.d/64-md-raid.rules@/usr\0@' Makefile
-   fi  &&
-
-   default_make
-
-) > $C_FIFO 2>&1
+# Does not automatically pick up $CFLAGS
+make CXFLAGS="$CFLAGS" &&
+prepare_install &&
+make install




More information about the Lunar-commits mailing list