summaryrefslogtreecommitdiff
path: root/packages/php
diff options
context:
space:
mode:
authorRolf Leggewie <oe-devel@rolf.leggewie.biz>2008-05-19 01:45:30 +0000
committerRolf Leggewie <oe-devel@rolf.leggewie.biz>2008-05-19 01:45:30 +0000
commit751d710b0b347b7807eee4e8a9134badf5b175dc (patch)
tree28abf58afeb5be8c2b87990cfa9e63a812668e27 /packages/php
parent4a4999c77d491cca314ac82464d89c76718a6277 (diff)
php-native: add mysql-native to DEPENDS
Diffstat (limited to 'packages/php')
-rw-r--r--packages/php/php-native_5.2.5.bb12
-rw-r--r--packages/php/php.inc2
2 files changed, 8 insertions, 6 deletions
diff --git a/packages/php/php-native_5.2.5.bb b/packages/php/php-native_5.2.5.bb
index b04103c90b..19558c559d 100644
--- a/packages/php/php-native_5.2.5.bb
+++ b/packages/php/php-native_5.2.5.bb
@@ -1,11 +1,13 @@
-SECTION = "console/network"
require php_${PV}.bb
+
+SECTION = "console/network"
+DEPENDS = "zlib-native libxml2-native mysql-native"
+PR = "r2"
+
+S = "${WORKDIR}/php-${PV}"
+
inherit autotools native pkgconfig
export LIBS=" -lxml2 "
export LD_LIBRARY_PATH = "${STAGING_LIBDIR}"
FILESPATH = "${FILE_DIRNAME}/php-${PV}:${FILE_DIRNAME}/php:${FILE_DIRNAME}/files"
-DEPENDS = "zlib-native libxml2-native"
-PR = "r2"
-
-S = "${WORKDIR}/php-${PV}"
diff --git a/packages/php/php.inc b/packages/php/php.inc
index 569a6cd12c..e2ab04f486 100644
--- a/packages/php/php.inc
+++ b/packages/php/php.inc
@@ -2,7 +2,7 @@ DESCRIPTION = "A server-side, HTML-embedded scripting language. This package pro
HOMEPAGE = "http://www.php.net"
SECTION = "console/network"
LICENSE = "PHP"
-DEPENDS = "zlib libxml2 mysql virtual/libiconv php-native"
+DEPENDS = "zlib libxml2 mysql mysql-native virtual/libiconv php-native"
SRC_URI = "http://us2.php.net/distributions/php-${PV}.tar.bz2\
file://acinclude-xml2-config.patch;patch=1"