summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
Diffstat (limited to 'packages')
-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"