diff options
author | Junqian Gordon Xu <xjqian@gmail.com> | 2008-09-19 01:52:54 +0000 |
---|---|---|
committer | Junqian Gordon Xu <xjqian@gmail.com> | 2008-09-19 01:52:54 +0000 |
commit | 9373fde9796ab007908d18141783edef558eeff5 (patch) | |
tree | 9c93e3c18196447fb5afe54984249a33fdb3eccf | |
parent | 39a685574e8bf85d8c3269bda81754f61c5d9043 (diff) |
mysql: fix host path. close bug#1782
-rw-r--r-- | packages/mysql/files/fix_host_path.patch | 24 | ||||
-rw-r--r-- | packages/mysql/mysql_4.1.22.bb | 3 |
2 files changed, 26 insertions, 1 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 diff --git a/packages/mysql/mysql_4.1.22.bb b/packages/mysql/mysql_4.1.22.bb index 15a342653b..c60758b19f 100644 --- a/packages/mysql/mysql_4.1.22.bb +++ b/packages/mysql/mysql_4.1.22.bb @@ -3,10 +3,11 @@ HOMEPAGE = "http://www.mysql.com/" SECTION = "libs" LICENSE = "GPL" DEPENDS = "ncurses" -PR = "r0" +PR = "r1" SRC_URI = "http://downloads.mysql.com/archives/mysql-4.1/mysql-${PV}.tar.gz \ file://autofoo.patch;patch=1 \ + file://fix_host_path.patch;patch=1 \ file://my.cnf \ file://mysqld.sh" |