aboutsummaryrefslogtreecommitdiff
path: root/patches/php/php.SlackBuild
diff options
context:
space:
mode:
authorrhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4>2007-11-22 13:11:59 +0000
committerrhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4>2007-11-22 13:11:59 +0000
commit95ceece8633ae7bf260162eae9e1a9ba2534478a (patch)
treeceaa513b21e3e74218948be4b44033fa51d42b6c /patches/php/php.SlackBuild
parenta871aa64aa72afb0f410f663632ec07c87583266 (diff)
downloadslackbuilds-95ceece8633ae7bf260162eae9e1a9ba2534478a.tar.gz
slackbuilds-95ceece8633ae7bf260162eae9e1a9ba2534478a.tar.bz2
php: series 5.x doesnt need php-with-_lib patch anymore
git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@1462 370017ae-e619-0410-ac65-c121f96126d4
Diffstat (limited to 'patches/php/php.SlackBuild')
-rwxr-xr-xpatches/php/php.SlackBuild10
1 files changed, 6 insertions, 4 deletions
diff --git a/patches/php/php.SlackBuild b/patches/php/php.SlackBuild
index 31644d87..c4795d68 100755
--- a/patches/php/php.SlackBuild
+++ b/patches/php/php.SlackBuild
@@ -223,10 +223,12 @@ fi
cd php-$VERSION
if [ "$ARCH" == "x86_64" ]; then
- # Fix lib64 - thanks SuSE
- echo patching with $CWD/php-with-_lib-$VERSION.diff.gz...
- zcat $CWD/php-with-_lib-$VERSION.diff.gz | patch -p1 --verbose || exit $ERROR_PATCH
- autoconf
+ if [ "$PHP_SERIES" == "4" ]; then
+ # Fix lib64 - thanks SuSE
+ echo patching with $CWD/php-with-_lib-$VERSION.diff.gz...
+ zcat $CWD/php-with-_lib-$VERSION.diff.gz | patch -p1 --verbose || exit $ERROR_PATCH
+ autoconf
+ fi
fi
# Fixup perms/owners: