diff options
| -rw-r--r-- | meta-oe/recipes-support/mysql/mysql5_5.1.40.inc | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/meta-oe/recipes-support/mysql/mysql5_5.1.40.inc b/meta-oe/recipes-support/mysql/mysql5_5.1.40.inc index 3867a12467..af0ddbb5c0 100644 --- a/meta-oe/recipes-support/mysql/mysql5_5.1.40.inc +++ b/meta-oe/recipes-support/mysql/mysql5_5.1.40.inc | |||
| @@ -5,7 +5,7 @@ LICENSE = "GPLv2" | |||
| 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=477ab0a4c8ca64b482b3f2a365d0fdfa" | 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=477ab0a4c8ca64b482b3f2a365d0fdfa" |
| 6 | 6 | ||
| 7 | DEPENDS = "ncurses" | 7 | DEPENDS = "ncurses" |
| 8 | PR = "r10" | 8 | PR = "r11" |
| 9 | 9 | ||
| 10 | SRC_URI = "http://downloads.mysql.com/archives/mysql-5.1/mysql-${PV}.tar.gz \ | 10 | SRC_URI = "http://downloads.mysql.com/archives/mysql-5.1/mysql-${PV}.tar.gz \ |
| 11 | file://configure.in.patch \ | 11 | file://configure.in.patch \ |
| @@ -13,7 +13,7 @@ SRC_URI = "http://downloads.mysql.com/archives/mysql-5.1/mysql-${PV}.tar.gz \ | |||
| 13 | file://misc.m4.patch \ | 13 | file://misc.m4.patch \ |
| 14 | file://Makefile.am.patch \ | 14 | file://Makefile.am.patch \ |
| 15 | file://fix_host_path.patch \ | 15 | file://fix_host_path.patch \ |
| 16 | file://configure-ps-cache-check.patch \ | 16 | file://configure-ps-cache-check.patch \ |
| 17 | file://fix-abi-check-gcc45.patch \ | 17 | file://fix-abi-check-gcc45.patch \ |
| 18 | file://my.cnf \ | 18 | file://my.cnf \ |
| 19 | file://mysqld.sh" | 19 | file://mysqld.sh" |
| @@ -36,6 +36,12 @@ EXTRA_OECONF = " --with-atomic-ops=up --with-embedded-server --prefix=/usr --sys | |||
| 36 | 36 | ||
| 37 | do_configure_append() { | 37 | do_configure_append() { |
| 38 | sed -i /comp_err/d ${S}/sql/share/Makefile | 38 | sed -i /comp_err/d ${S}/sql/share/Makefile |
| 39 | |||
| 40 | # handle distros with different values of ${libexecdir} | ||
| 41 | libexecdir2=`echo ${libexecdir} | sed -e 's+/usr/++g'` | ||
| 42 | sed -i -e "s:/libexec:/$libexecdir2:g" ${S}/scripts/mysql_install_db.sh | ||
| 43 | sed -i -e "s:mysqld libexec:mysqld $libexecdir2:g" ${S}/scripts/mysql_install_db.sh | ||
| 44 | sed -i -e "s:/libexec:/$libexecdir2:g" ${S}/scripts/mysqld_safe.sh | ||
| 39 | } | 45 | } |
| 40 | 46 | ||
| 41 | SYSROOT_PREPROCESS_FUNCS += "mysql5_sysroot_preprocess" | 47 | SYSROOT_PREPROCESS_FUNCS += "mysql5_sysroot_preprocess" |
