aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/shapefile.rb
diff options
context:
space:
mode:
authorAdam Vandenberg2010-08-10 08:05:31 -0700
committerAdam Vandenberg2010-08-10 08:30:19 -0700
commit29af47c81d2bcfbbb5e10d925807ff0f3c9a5e75 (patch)
tree63e85e90f58013cd345a65ce17091d1ad24a11f1 /Library/Formula/shapefile.rb
parentf6f1af57906cb42a9d0ae323546fe7bfeff0fa99 (diff)
downloadhomebrew-29af47c81d2bcfbbb5e10d925807ff0f3c9a5e75.tar.bz2
Update formulae to use ENV.cflags
Diffstat (limited to 'Library/Formula/shapefile.rb')
-rw-r--r--Library/Formula/shapefile.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/shapefile.rb b/Library/Formula/shapefile.rb
index d9278de88..27740424d 100644
--- a/Library/Formula/shapefile.rb
+++ b/Library/Formula/shapefile.rb
@@ -9,7 +9,7 @@ class Shapefile <Formula
dylib = lib+"libshp.#{version}.dylib"
inreplace 'Makefile' do |s|
- s.change_make_var! "CFLAGS", ENV['CFLAGS']
+ s.change_make_var! "CFLAGS", ENV.cflags
end
system "make all"