[Lunar-commits] <moonbase-core> readline: No perl in build scripts

Peter de Ridder peter at lunar-linux.org
Fri Aug 3 00:40:09 CEST 2012


commit ddbd7656d8341b835f3b5b71441750f6998b2ca7
Author: Peter de Ridder <peter at lunar-linux.org>
Date: Thu, 02 Aug 2012 15:40:09 -0700
URL: https://github.com/lunar-linux/moonbase-core/commit/ddbd7656d8341b835f3b5b71441750f6998b2ca7

readline: No perl in build scripts
---
  libs/readline/BUILD                                          +1/-1     
  libs/readline/DEPENDS                                        +0/-1     
  libs/readline/POST_INSTALL                                   +1/-1     
  3 files changed, 2 insertions (+), 3 deletions (-)

--- a/libs/readline/BUILD
+++ b/libs/readline/BUILD
@@ -9,7 +9,7 @@
   cp -f /lib/libhistory.so.* /tmp/old.libraries &&
   LD_LIBRARY_PATH=/tmp/old.libraries:$LD_LIBRARY_PATH &&
 
-  OUR_OLD_READLINE_VVV=$(lvu installed readline | perl -pe 's/([0-9]).+/$1/')  &&
+  OUR_OLD_READLINE_VVV=$(lvu installed readline | sed -r 's/([0-9]+).+/\1/')  &&
   set_module_config OUR_OLD_READLINE_VVV "$OUR_OLD_READLINE_VVV"  &&
   # ************************ WARNING *************************
   # DO NOT MESS WITH THE CONFIGURE STUFF here unless you
--- a/libs/readline/DEPENDS
+++ b/libs/readline/DEPENDS
@@ -1,2 +1 @@
-depends perl
 depends ncurses
--- a/libs/readline/POST_INSTALL
+++ b/libs/readline/POST_INSTALL
@@ -1,5 +1,5 @@
 rm -rf /tmp/old.libraries &&
-OUR_NEW_READLINE_VVV=$(lvu version readline | perl -pe 's/([0-9]).+/$1/')
+OUR_NEW_READLINE_VVV=$(lvu version readline | sed -r 's/([0-9]+).+/\1/')
 OUR_OLD_READLINE_VVV=$(get_module_config OUR_OLD_READLINE_VVV)
 
 if [[ "$OUR_NEW_READLINE_VVV" > "$OUR_OLD_READLINE_VVV" ]]; then




More information about the Lunar-commits mailing list