summaryrefslogtreecommitdiff
path: root/packages/mysql/files
diff options
context:
space:
mode:
authorJunqian Gordon Xu <xjqian@gmail.com>2008-09-19 01:52:54 +0000
committerJunqian Gordon Xu <xjqian@gmail.com>2008-09-19 01:52:54 +0000
commit9373fde9796ab007908d18141783edef558eeff5 (patch)
tree9c93e3c18196447fb5afe54984249a33fdb3eccf /packages/mysql/files
parent39a685574e8bf85d8c3269bda81754f61c5d9043 (diff)
mysql: fix host path. close bug#1782
Diffstat (limited to 'packages/mysql/files')
-rw-r--r--packages/mysql/files/fix_host_path.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/packages/mysql/files/fix_host_path.patch b/packages/mysql/files/fix_host_path.patch
new file mode 100644
index 0000000000..4ba1cc0838
--- /dev/null
+++ b/packages/mysql/files/fix_host_path.patch
@@ -0,0 +1,24 @@
+--- mysql-4.1.22/configure.in.old 2008-09-18 20:11:15.000000000 -0500
++++ mysql-4.1.22/configure.in 2008-09-18 20:12:28.000000000 -0500
+@@ -456,9 +456,9 @@ else
+ fi
+ fi
+
+-AC_SUBST(HOSTNAME)
+-AC_SUBST(PERL)
+-AC_SUBST(PERL5)
++AC_SUBST(HOSTNAME,/bin/hostname)
++AC_SUBST(PERL,$(bindir)/perl)
++AC_SUBST(PERL5,$(bindir)/perl)
+
+ # for build ndb docs
+
+@@ -527,7 +527,7 @@ else
+ AC_MSG_WARN([kill -0 to check for pid seems to fail])
+ CHECK_PID="$ac_cv_path_KILL -s SIGCONT \$\$PID > /dev/null 2> /dev/null"
+ fi
+-AC_SUBST(CHECK_PID)
++AC_SUBST(CHECK_PID,/bin/kill)
+ AC_MSG_RESULT("$CHECK_PID")
+
+ # We need an ANSI C compiler