mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-11-26 19:09:48 -05:00
psftools: fix buggy configure script under superenv
This commit is contained in:
1 parent
c46a70b81b
commit
911566db11
1 file changed
+11
-1
@@ -11,9 +11,19 @@ class Psftools < Formula
|
||||
sha1 '4e8b2e7686532a25c18cacaeb90a8f0ed57a30c6'
|
||||
|
||||
def install
|
||||
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
||||
# This very old configure script does not anticipate that passing -g
|
||||
# will result in .dSYM directories being created. -g is only passed
|
||||
# when CFLAGS is unset (superenv), so let's set it to the empty string
|
||||
cflags = ENV['CFLAGS']
|
||||
ENV['CFLAGS'] = ''
|
||||
|
||||
system "./configure", "--disable-debug",
|
||||
"--disable-dependency-tracking",
|
||||
"--prefix=#{prefix}",
|
||||
"--mandir=#{man}"
|
||||
|
||||
ENV['CFLAGS'] = cflags
|
||||
|
||||
system "make install"
|
||||
end
|
||||
|
||||
|
||||
Reference in new issue
Block a user