Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

openldap: don't clean run folder

  • Loading branch information...
commit 3081df6537a373722eaa41e3c344b2ea743186aa 1 parent e1a73d7
@adamv adamv authored
Showing with 6 additions and 5 deletions.
  1. +6 −5 duplicates/openldap.rb
View
11 duplicates/openldap.rb
@@ -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"
Please sign in to comment.
Something went wrong with that request. Please try again.