Change scrollz.rb to use CREW_PREFIX.

parent e0141b96
......@@ -13,7 +13,9 @@ class Scrollz < Package
def self.build
# Scrollz prefers termcap over ncurses, but scrollz doesn't work our termcap
# because of link errors. This configure option prohibits choosing termcap.
system "CFLAGS=-I/usr/local/include/ncurses ./configure ac_cv_header_termcap_h=no ac_cv_lib_termcap_tgetent=no"
system "CFLAGS=-I#{CREW_PREFIX}/include/ncurses " \
"./configure --prefix=#{CREW_PREFIX} " \
"ac_cv_header_termcap_h=no ac_cv_lib_termcap_tgetent=no"
system "make"
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