diff options
| author | Adam Vandenberg | 2011-12-21 16:51:06 -0800 |
|---|---|---|
| committer | Adam Vandenberg | 2011-12-21 16:51:51 -0800 |
| commit | 4d20b7e5f82adb4f5e6cbd48f7cb04ec0430ace6 (patch) | |
| tree | 7dbcfd105459fbc2c3a63359c2b55c0072ebbde3 /Library/Formula | |
| parent | 11ab9663d12fb2c020740820cb74075f48b6d050 (diff) | |
| download | homebrew-4d20b7e5f82adb4f5e6cbd48f7cb04ec0430ace6.tar.bz2 | |
isc-dhcp 4.2.3-P1
* Also fix compilation on Lion
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/isc-dhcp.rb | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/Library/Formula/isc-dhcp.rb b/Library/Formula/isc-dhcp.rb index 0275d999f..e10c9095c 100644 --- a/Library/Formula/isc-dhcp.rb +++ b/Library/Formula/isc-dhcp.rb @@ -1,9 +1,9 @@ require 'formula' class IscDhcp < Formula - url 'ftp://ftp.isc.org/isc/dhcp/dhcp-4.2.3/dhcp-4.2.3.tar.gz' + url 'ftp://ftp.isc.org/isc/dhcp/4.2.3-P1/dhcp-4.2.3-P1.tar.gz' homepage 'http://www.isc.org/software/dhcp' - md5 'a06649ec5336d284fc86a0232c0edd63' + sha256 '505c5754526ba92669bfd64daa8b529c6694c4528b45c3f35743c6fd4bd72897' def install # use one dir under var for all runtime state. @@ -31,6 +31,11 @@ class IscDhcp < Formula ENV.append 'CFLAGS', "-D#{symbol}='\"#{path}\"'" end + # See discussion at: https://gist.github.com/1157223 + if 10.7 <= MACOS_VERSION + ENV.append 'CFLAGS', "-D__APPLE_USE_RFC_3542" + end + system './configure', "--disable-dependency-tracking", "--prefix=#{prefix}", "--localstatedir=#{dhcpd_dir}" |
