Commit cb1ec757 authored by Casey Strouse's avatar Casey Strouse

Abstract prefix using constant

parent 3bdc86c8
......@@ -20,8 +20,9 @@ class Cmake < Package
if Dir.exist? "#{CREW_PREFIX}/include/ncursesw"
system 'sed -i "51s,$,\n set(CURSES_INCLUDE_PATH ' + "#{CREW_PREFIX}/include/ncursesw" + ')," Modules/FindCurses.cmake'
end
system "./bootstrap"
system "make"
system './bootstrap',
"--prefix=#{CREW_PREFIX}"
system 'make'
end
def self.install
......
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