aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4>2006-08-08 23:34:27 +0000
committerrhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4>2006-08-08 23:34:27 +0000
commit5e704e71fa7cd24758988b041501a555bdfd6a31 (patch)
tree4aa2669073eaf401e840819161eee53689455e52
parent81327ce2879b767b78216f1d0878151c4099bfe6 (diff)
downloadslackbuilds-5e704e71fa7cd24758988b041501a555bdfd6a31.tar.gz
slackbuilds-5e704e71fa7cd24758988b041501a555bdfd6a31.tar.bz2
php update
git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@25 370017ae-e619-0410-ac65-c121f96126d4
-rwxr-xr-xpatches/php/php.SlackBuild12
1 files changed, 6 insertions, 6 deletions
diff --git a/patches/php/php.SlackBuild b/patches/php/php.SlackBuild
index b61b39d0..c7773887 100755
--- a/patches/php/php.SlackBuild
+++ b/patches/php/php.SlackBuild
@@ -93,12 +93,6 @@ if [ "$RTOOL" == "wget" ]; then
fi
-TMP="$TMP/$PACKAGE"
-PKG="$TMP/package-php"
-rm -rf $TMP
-mkdir -p $TMP
-cd $TMP
-
if [ "$ARCH" = "i386" ]; then
SLKCFLAGS="-O2 -march=i386 -mcpu=i686"
elif [ "$ARCH" = "i486" ]; then
@@ -137,6 +131,12 @@ else
)
fi
+TMP="$TMP/$PACKAGE"
+PKG="$TMP/package-php"
+rm -rf $TMP
+mkdir -p $TMP
+cd $TMP
+
php_configure() {
EXTENSION_DIR=/usr/$LIB/php/extensions \
CFLAGS="$SLKCFLAGS" \