From 9a4588d32783fb997395c337f30f8b959930fb92 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sun, 04 Aug 2013 09:19:32 -0400 Subject: build: Fix installation. ncurses's custom makefile doesn't seem to support DESTDIR very well. --- diff --git a/build b/build index 39de86c..5132d44 100755 --- a/build +++ b/build @@ -2,6 +2,7 @@ build-ncurses: oh-autoconfigure -B obj-ncurses -- \ + --with-install-prefix="$${PWD}/dest" \ --without-profile \ --without-debug \ --without-ada \ @@ -16,6 +17,9 @@ build-ncurses: build-ncursesw: oh-autoconfigure -B obj-ncursesw -- \ --includedir=/usr/include/ncursesw \ + --with-install-prefix="$${PWD}/dest" \ + --without-manpages \ + --without-progs \ --without-profile \ --without-debug \ --without-ada \ @@ -31,6 +35,6 @@ build-ncursesw: build: build-ncurses build-ncursesw install: build - oh-autoinstall -B obj-ncurses - oh-autoinstall -B obj-ncursesw + (cd obj-ncurses && make install) + (cd obj-ncursesw && make install.libs) oh-installfiles -- cgit v0.9.1