summaryrefslogtreecommitdiff
path: root/homebrew/newt/.make.sh-auto
blob: 96193c34b5a8acbcc9e0efff972950a693975f81 (plain)
1
2
3
4
5
6
7
pkg:setup
args = ["--prefix=#{prefix}", "--without-tcl"]
inreplace "Makefile.in" do |s|
s.gsub! "libnewt.$(SOEXT).$(SONAME)", "libnewt.$(SONAME).dylib"
s.gsub! "libnewt.$(SOEXT).$(VERSION)", "libnewt.$(VERSION).dylib"
s.gsub! "`$$pyconfig --ldflags`", '"-undefined dynamic_lookup"'
s.gsub! "`$$pyconfig --libs`", '""'