Add /usr/local/include/ncurses to the CFLAGS to work with ncurses correctly

parent c473b1a9
...@@ -9,13 +9,13 @@ class Scrollz < Package ...@@ -9,13 +9,13 @@ class Scrollz < Package
depends_on 'buildessential' depends_on 'buildessential'
depends_on 'ncurses' depends_on 'ncurses'
def self.build def self.build
system "./configure" system "CFLAGS=-I/usr/local/include/ncurses ./configure"
system "make" system "make"
end end
def self.install def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end end
end end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment