[Lunar-commits] <moonbase-other> udisks: Adding an if/then should systemd be installed to place its udev

stumbles stumbles at lunar-linux.org
Thu Jan 3 11:56:18 CET 2013


commit 98435308f9a8381b129ac6be1b11392172949795
Author: stumbles <stumbles at lunar-linux.org>
Date: Thu, 03 Jan 2013 02:56:18 -0800
URL: https://github.com/lunar-linux/moonbase-other/commit/98435308f9a8381b129ac6be1b11392172949795

udisks: Adding an if/then should systemd be installed to place its udev

rules in /usr/lib instead of /lib.
---
  devel/udisks/BUILD | +8/-1     
  1 file changed, 8 insertions(+), 1 deletion(-)

--- a/devel/udisks/BUILD
+++ b/devel/udisks/BUILD
@@ -1,6 +1,13 @@
 (
 
-  OPTS+="  --disable-man-pages "  &&
+  OPTS+="  --disable-man-pages"  &&
+
+  if module_installed systemd ; then
+      sedit "s:slashlibdir=$prefix/lib:slashlibdir=/usr/lib/:g" configure.ac &&
+      libtoolize &&
+      autoreconf
+  fi &&
+  
   default_build
 
 ) > $C_FIFO 2>&1




More information about the Lunar-commits mailing list