net6: clean up install
This commit is contained in:
parent
7cc36208b8
commit
e4e67cc7cb
1 changed files with 2 additions and 6 deletions
|
@ -11,11 +11,7 @@ class Net6 < Formula
|
|||
depends_on 'libsigc++'
|
||||
|
||||
def install
|
||||
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
||||
"--prefix=#{prefix}"
|
||||
cflags = `pkg-config --cflags net6-1.3.pc` # for some reason, won't pick up sigc++ otherwise
|
||||
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
||||
"--prefix=#{prefix}", "libnet6_CFLAGS=#{cflags}" # and now we need a second pass to properly set the includes...yuck!
|
||||
system "make install"
|
||||
system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
|
||||
system "make", "install"
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue