Search
j0ke.net Open Build Service
>
Projects
>
internetx
:
php5
:
extensions
>
php5-pecl_http
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 29
[-]
[+]
Changed
php5-pecl_http.spec
@@ -62,6 +62,14 @@ #%{__mkdir} %{name} %build +if [ -x /usr/bin/php ] ; then +export PHP_EXECUTABLE="/usr/bin/php" +elif [ -x /usr/bin/php5 ] ; then +export PHP_EXECUTABLE="/usr/bin/php5" +else +export PHP_EXECUTABLE="/usr/local/bin/php" +fi + /usr/bin/phpize #pushd %{name} @@ -76,14 +84,6 @@ export CFLAGS export CXXFLAGS -if [ -x /usr/bin/php ] ; then -export PHP_EXECUTABLE="/usr/bin/php" -elif [ -x /usr/bin/php5 ] ; then -export PHP_EXECUTABLE="/usr/bin/php5" -else -export PHP_EXECUTABLE="/usr/local/bin/php" -fi - %configure \ --with-http-magic-mime=%{_usr} \ --with-http-zlib-compression=%{_usr} \