Skip to content
This repository has been archived by the owner on Jan 19, 2019. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
Allow to override php-build's definitions with custom ones.
We remove --with-openssl configure option for 5.2.17 to be able to build
it upon ubuntu 11.10 which comes with openssl-1.0.0.
  • Loading branch information
loicfrering committed Mar 15, 2012
1 parent 64b580a commit ac22b1e
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
12 changes: 12 additions & 0 deletions ci_environment/phpbuild/files/default/definitions/5.2.17
@@ -0,0 +1,12 @@
configure_option "--enable-fastcgi"

configure_option -D "--with-openssl"

configure_option -R "--with-mysql"
configure_option -R "--with-mysqli"
configure_option -R "--with-pdo-mysql"

with_pear

install_package "http://museum.php.net/php5/php-5.2.17.tar.bz2"
install_xdebug "2.1.3"
9 changes: 9 additions & 0 deletions ci_environment/phpbuild/recipes/default.rb
Expand Up @@ -80,3 +80,12 @@
group node.travis_build_environment.group
source "default_configure_options.erb"
end

remote_directory "#{phpbuild_path}/share/php-build/definitions" do
owner node.travis_build_environment.user
group node.travis_build_environment.group
files_owner node.travis_build_environment.user
files_group node.travis_build_environment.group
files_mode "0755"
source "definitions"
end

0 comments on commit ac22b1e

Please sign in to comment.