diff --git a/lib/buildphp/packages/apache.rb b/lib/buildphp/packages/apache.rb index 6e49392..dbc2ee0 100644 --- a/lib/buildphp/packages/apache.rb +++ b/lib/buildphp/packages/apache.rb @@ -12,7 +12,7 @@ def initialize def package_depends_on [ - 'openssl', +# 'openssl', 'zlib', ] end @@ -39,7 +39,6 @@ def get_build_string "--with-included-apr", "--enable-mods-shared=all", "--enable-ssl", - "--with-ssl=#{FACTORY['Openssl'].prefix}", "--with-z=#{FACTORY['Zlib'].prefix}", ] parts.join(' ') diff --git a/lib/buildphp/packages/curl.rb b/lib/buildphp/packages/curl.rb index cad3096..962757e 100644 --- a/lib/buildphp/packages/curl.rb +++ b/lib/buildphp/packages/curl.rb @@ -41,7 +41,7 @@ def get_build_string parts << './configure' parts << "--with-pic" if RUBY_PLATFORM.index("x86_64") != nil parts << "--prefix=#{@prefix}" - # parts << "--with-ssl=#{FACTORY['openssl'].prefix}" + parts << "--with-ssl" parts << "--with-zlib=#{FACTORY['zlib'].prefix}" parts.join(' ') end @@ -51,4 +51,4 @@ def is_installed end end end -end \ No newline at end of file +end