aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorMisty De Meo2014-10-03 17:21:55 -0700
committerMisty De Meo2014-10-03 17:23:54 -0700
commit6ac736a10d50202de39cb1af24045c3763b264e7 (patch)
treef995a220d884f1be008c2e9d98b10e1003d3b563 /Library/Formula
parentc958c43cb8959a139378bd7e0d4ea4d4336bfd67 (diff)
downloadhomebrew-6ac736a10d50202de39cb1af24045c3763b264e7.tar.bz2
yaws: find pam headers on Xcode-only
Fixes #32922.
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/yaws.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/Library/Formula/yaws.rb b/Library/Formula/yaws.rb
index b0625a2fc..a49c59a87 100644
--- a/Library/Formula/yaws.rb
+++ b/Library/Formula/yaws.rb
@@ -25,7 +25,9 @@ class Yaws < Formula
end
system "autoreconf", "-fvi"
- system "./configure", "--prefix=#{prefix}"
+ system "./configure", "--prefix=#{prefix}",
+ # Ensure pam headers are found on Xcode-only installs
+ "--with-extrainclude=#{MacOS.sdk_path}/usr/include/security"
system "make install"
if build.with? "yapp"