[Groonga-mysql-commit] mroonga/homebrew [master] Don't use -r option for sed

Back to archive index

Kouhei Sutou null+****@clear*****
Thu Feb 28 18:33:41 JST 2013


Kouhei Sutou	2013-02-28 18:33:41 +0900 (Thu, 28 Feb 2013)

  New Revision: 62416c670a31a0eaa7bad829e07f15e6d438f4f0
  https://github.com/mroonga/homebrew/commit/62416c670a31a0eaa7bad829e07f15e6d438f4f0

  Log:
    Don't use -r option for sed
    
    Patch for
    https://github.com/mroonga/mroonga/commit/dd5c06a5cc5ddd4da5b8ab8c6f269524856969b6

  Modified files:
    mroonga.rb

  Modified: mroonga.rb (+16 -2)
===================================================================
--- mroonga.rb    2013-02-28 11:30:55 +0900 (c8ba4f2)
+++ mroonga.rb    2013-02-28 18:33:41 +0900 (2866778)
@@ -25,8 +25,9 @@ class Mroonga < Formula
   end
 
   def patches
-    [
-    ]
+    # [
+    # ]
+    DATA
   end
 
   def install
@@ -151,3 +152,16 @@ class Mroonga < Formula
     nil
   end
 end
+
+__END__
+--- configure.orig	2013-02-26 15:25:26.825654083 +0900
++++ configure	2013-02-28 18:29:17.808177883 +0900
+@@ -16744,7 +16744,7 @@
+   MYSQL_CFLAGS="$MYSQL_CFLAGS $($ac_mysql_config --cflags)"
+   MYSQL_INCLUDES="$MYSQL_INCLUDES $($ac_mysql_config --include)"
+   MYSQL_VERSION="$($ac_mysql_config --version)"
+-  MYSQL_MAJOR_MINOR_VERSION=`echo $MYSQL_VERSION | sed -r 's/(0-9+)\.(0-9+)\.(0-9+)$/\1.\2/'`
++  MYSQL_MAJOR_MINOR_VERSION=`echo $MYSQL_VERSION | sed -e 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)$/\1.\2/'`
+   case "$MYSQL_MAJOR_MINOR_VERSION" in
+   5.6*)
+       USE_LIBMYSQLSERVICES="yes"
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-mysql-commit mailing list
Back to archive index