summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrans Meulenbroeks <fransmeulenbroeks@gmail.com>2009-11-03 20:38:31 +0100
committerFrans Meulenbroeks <fransmeulenbroeks@gmail.com>2009-11-03 20:38:31 +0100
commitefa3f5fd40de50063d000d60cca45969809f97e2 (patch)
tree8c36814b1793f68913ca175ffb00b23aaf430dc9
parentf0792ef5d7d067718450ba9584283844b324ee87 (diff)
mysql: fixed mysql_config in staging
-rw-r--r--recipes/mysql/mysql_4.1.22.bb6
1 files changed, 3 insertions, 3 deletions
diff --git a/recipes/mysql/mysql_4.1.22.bb b/recipes/mysql/mysql_4.1.22.bb
index 09c52ecbc2..b6718cb0cb 100644
--- a/recipes/mysql/mysql_4.1.22.bb
+++ b/recipes/mysql/mysql_4.1.22.bb
@@ -3,7 +3,7 @@ HOMEPAGE = "http://www.mysql.com/"
SECTION = "libs"
LICENSE = "GPL"
DEPENDS = "ncurses"
-PR = "r3"
+PR = "r4"
SRC_URI = "http://downloads.mysql.com/archives/mysql-4.1/mysql-${PV}.tar.gz \
file://autofoo.patch;patch=1 \
@@ -39,8 +39,8 @@ do_stage() {
}
do_stage_append() {
- sed -i -es,^pkgincludedir=\'/usr/include/mysql\',pkgincludedir=\'\', ${STAGING_BINDIR_CROSS}/mysql_config
- sed -i -es,^pkglibdir=\'/usr/lib/mysql\',pkglibdir=\'\', ${STAGING_BINDIR_CROSS}/mysql_config
+ sed -i -es,^pkgincludedir=\'/usr/include/mysql\',pkgincludedir=\'${STAGING_INCDIR}\', ${STAGING_BINDIR_CROSS}/mysql_config
+ sed -i -es,^pkglibdir=\'/usr/lib/mysql\',pkglibdir=\'${STAGING_LIBDIR}\', ${STAGING_BINDIR_CROSS}/mysql_config
}
do_install() {