Permalink
Browse files

PHP53: Use libedit

  • Loading branch information...
e-nomem authored and josegonzalez committed Jun 26, 2012
1 parent a728f38 commit 9b996eaa82671d2ba26af195e6d61d233abc2e92
Showing with 1 addition and 6 deletions.
  1. +1 −6 Formula/php53.rb
View
@@ -26,7 +26,6 @@ class Php53 < Formula
depends_on 'libevent' if ARGV.include? '--with-fpm'
depends_on 'libxml2'
depends_on 'mcrypt'
- depends_on 'readline' unless ARGV.include? '--without-readline'
depends_on 'unixodbc' if ARGV.include? '--with-unixodbc'
# Sanity Checks
@@ -62,7 +61,6 @@ def options
['--without-apache', 'Build without shared Apache 2.0 Handler module'],
['--with-intl', 'Include internationalization support'],
['--with-imap', 'Include IMAP extension'],
- ['--without-readline', 'Build without readline support'],
['--with-gmp', 'Include GMP support'],
['--with-suhosin', 'Include Suhosin patch'],
['--without-pear', 'Build without PEAR']
@@ -126,6 +124,7 @@ def install
"--with-snmp=/usr",
"--with-tidy",
"--with-mhash",
+ "--with-libedit",
"--mandir=#{man}"
]
@@ -147,10 +146,6 @@ def install
args << "--libexecdir=#{libexec}"
end
- unless ARGV.include? '--without-readline'
- args << "--with-readline=#{Formula.factory('readline').prefix}"
- end
-
if ARGV.include? '--with-gmp'
args << "--with-gmp=#{Formula.factory('gmp').prefix}"
end

0 comments on commit 9b996ea

Please sign in to comment.