stfl: don't overwrite buildPhase, potentially make makeFlags working
This commit is contained in:
parent
58948dcc4e
commit
421976c3e3
|
@ -11,13 +11,11 @@ stdenv.mkDerivation rec {
|
|||
|
||||
buildInputs = [ ncurses libiconv ];
|
||||
|
||||
buildPhase = ''
|
||||
preBuild = ''
|
||||
sed -i s/gcc/cc/g Makefile
|
||||
sed -i s%ncursesw/ncurses.h%ncurses.h% stfl_internals.h
|
||||
'' + (lib.optionalString stdenv.isDarwin ''
|
||||
'' + lib.optionalString stdenv.isDarwin ''
|
||||
sed -i s/-soname/-install_name/ Makefile
|
||||
'') + ''
|
||||
make
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
|
|
Loading…
Reference in a new issue