Commit d0d0b92d authored by Ed Reel's avatar Ed Reel

Add crew constants to Makefile

parent a51dd013
...@@ -8,6 +8,8 @@ class Libpstat < Package ...@@ -8,6 +8,8 @@ class Libpstat < Package
source_sha256 '71e5d3f190fe045b38f31dfa9b5962fb6ea4099f46b25981b411122569ff6b30' source_sha256 '71e5d3f190fe045b38f31dfa9b5962fb6ea4099f46b25981b411122569ff6b30'
def self.build def self.build
system "sed -i 's,PREFIX ?= /usr/local,PREFIX ?= #{CREW_PREFIX},' Makefile"
system "sed -i 's,LIBDIR ?= $(DESTDIR)/$(PREFIX)/lib,LIBDIR ?= $(DESTDIR)/#{CREW_LIB_PREFIX},' Makefile"
system "make -I #{CREW_PREFIX}/include" system "make -I #{CREW_PREFIX}/include"
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