Permalink
Browse files

openldap: don't clean run folder

  • Loading branch information...
1 parent e1a73d7 commit 3081df6537a373722eaa41e3c344b2ea743186aa @adamv adamv committed Mar 16, 2012
Showing with 6 additions and 5 deletions.
  1. +6 −5 duplicates/openldap.rb
View
@@ -1,20 +1,21 @@
require 'formula'
class Openldap < Formula
- url 'ftp://ftp.openldap.org/pub/OpenLDAP/openldap-release/openldap-2.4.24.tgz'
homepage 'http://www.openldap.org/software/'
+ url 'ftp://ftp.openldap.org/pub/OpenLDAP/openldap-release/openldap-2.4.24.tgz'
md5 '116fe1e23a7b67686d5e62274367e6c0'
depends_on 'berkeley-db' if ARGV.include? "--with-berkeley-db"
+ skip_clean 'var/run'
+
def options
- [
- ["--with-berkeley-db", "compile openldap with berkeley-db support"],
- ]
+ [["--with-berkeley-db", "compile openldap with berkeley-db support"]]
end
def install
- args = ["--disable-debug", "--disable-dependency-tracking", "--prefix=#{prefix}"]
+ args = ["--disable-debug", "--disable-dependency-tracking",
+ "--prefix=#{prefix}"]
args << "--enable-bdb=no" unless ARGV.include? "--with-berkeley-db"
args << "--enable-hdb=no" unless ARGV.include? "--with-berkeley-db"

0 comments on commit 3081df6

Please sign in to comment.