[Lunar-commits] <moonbase> pm-utils: fixed build fail

Zbigniew Luszpinski zbiggy at lunar-linux.org
Wed Feb 17 02:41:29 CET 2010


commit 61663bfbe1b8d6b819558cf295dbb8c569fb2b10
Author: Zbigniew Luszpinski <zbiggy at lunar-linux.org>
Date:   Wed Feb 17 02:41:29 2010 +0100

    pm-utils: fixed build fail
---
 utils/pm-utils/BUILD   |    7 +++++++
 utils/pm-utils/DEPENDS |    1 -
 utils/pm-utils/DETAILS |    5 ++---
 3 files changed, 9 insertions(+), 4 deletions(-)

diff --git a/utils/pm-utils/BUILD b/utils/pm-utils/BUILD
new file mode 100644
index 0000000..677fa7f
--- /dev/null
+++ b/utils/pm-utils/BUILD
@@ -0,0 +1,7 @@
+(
+
+  # Do not fail build if symlink already exist
+  sedit 's/ln -s/ln -sf/g' man/Makefile.* src/Makefile.* &&
+  default_build
+
+) > $C_FIFO 2>&1
diff --git a/utils/pm-utils/DEPENDS b/utils/pm-utils/DEPENDS
index d08611e..fa4c479 100644
--- a/utils/pm-utils/DEPENDS
+++ b/utils/pm-utils/DEPENDS
@@ -1,2 +1 @@
 depends hal
-
diff --git a/utils/pm-utils/DETAILS b/utils/pm-utils/DETAILS
index 89c62d1..a22721f 100644
--- a/utils/pm-utils/DETAILS
+++ b/utils/pm-utils/DETAILS
@@ -1,7 +1,6 @@
           MODULE=pm-utils
          VERSION=1.2.6.1
-          SOURCE=${MODULE}-${VERSION}.tar.gz
-SOURCE_DIRECTORY=$BUILD_DIRECTORY/$MODULE-$VERSION
+          SOURCE=$MODULE-$VERSION.tar.gz
       SOURCE_URL=http://pm-utils.freedesktop.org/releases
       SOURCE_VFY=sha1:84e421aaac5a0c98f8f078c2184419b02dd92d68
         WEB_SITE=http://pm-utils.freedesktop.org/wiki
@@ -11,5 +10,5 @@ SOURCE_DIRECTORY=$BUILD_DIRECTORY/$MODULE-$VERSION
 
 cat << EOF
 pm-utils is a small collection of scripts that handle suspend and resume 
-on behalf of HAL. 
+on behalf of HAL.
 EOF


More information about the Lunar-commits mailing list