ncurses: split into multiple outputs
Some programs (e.g. tput) might better be moved somewhere else than $dev/bin, but that can be improved later if need be.
This commit is contained in:
parent
9a1aa51fed
commit
91407a8bdf
@ -35,7 +35,7 @@ stdenv.mkDerivation rec {
|
|||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
patchelf \
|
patchelf \
|
||||||
--set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
|
--set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
|
||||||
--set-rpath "$out/opt/google/musicmanager:${readline}/lib:${ncurses}/lib:${stdenv.cc.libc.out}/lib:${qt48}/lib:${stdenv.cc.cc}/lib:${libidn}/lib:${expat}/lib:${flac}/lib:${libvorbis}/lib" opt/google/musicmanager/MusicManager
|
--set-rpath "$out/opt/google/musicmanager:${stdenv.lib.makeLibraryPath [ readline ncurses stdenv.cc.libc.out qt48 stdenv.cc.cc libidn expat flac libvorbis ]}" opt/google/musicmanager/MusicManager
|
||||||
'';
|
'';
|
||||||
|
|
||||||
dontPatchELF = true;
|
dontPatchELF = true;
|
||||||
|
@ -33,12 +33,12 @@ stdenv.mkDerivation rec {
|
|||||||
# Further, we need to make sure that the -L option occurs before mention
|
# Further, we need to make sure that the -L option occurs before mention
|
||||||
# of the library, so that it finds it within the Nix store.
|
# of the library, so that it finds it within the Nix store.
|
||||||
sed -i 's/tinfo ncurses/tinfo ncursesw/' configure
|
sed -i 's/tinfo ncurses/tinfo ncursesw/' configure
|
||||||
ncurseslib=$(echo ${ncurses}/lib | sed 's#/#\\/#g')
|
ncurseslib=$(echo ${ncurses.lib}/lib | sed 's#/#\\/#g')
|
||||||
sed -i "s/OLIBS=\$LIBS/OLIBS=\"-L$ncurseslib \$LIBS\"/" configure
|
sed -i "s/OLIBS=\$LIBS/OLIBS=\"-L$ncurseslib \$LIBS\"/" configure
|
||||||
sed -i 's/LIBS="\$LIBS_TERMCAP \$LIBS"/LIBS="\$LIBS \$LIBS_TERMCAP"/' configure
|
sed -i 's/LIBS="\$LIBS_TERMCAP \$LIBS"/LIBS="\$LIBS \$LIBS_TERMCAP"/' configure
|
||||||
|
|
||||||
configureFlagsArray=(
|
configureFlagsArray=(
|
||||||
LDFLAGS=-L${ncurses}/lib
|
LDFLAGS=-L${ncurses.lib}/lib
|
||||||
--with-xml2=yes
|
--with-xml2=yes
|
||||||
--with-gnutls=yes
|
--with-gnutls=yes
|
||||||
--with-mac
|
--with-mac
|
||||||
@ -46,7 +46,7 @@ stdenv.mkDerivation rec {
|
|||||||
)
|
)
|
||||||
makeFlagsArray=(
|
makeFlagsArray=(
|
||||||
CFLAGS=-O3
|
CFLAGS=-O3
|
||||||
LDFLAGS="-O3 -L${ncurses}/lib"
|
LDFLAGS="-O3 -L${ncurses.lib}/lib"
|
||||||
);
|
);
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
@ -10,10 +10,11 @@ stdenv.mkDerivation rec {
|
|||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace Makefile \
|
substituteInPlace Makefile \
|
||||||
--replace "/usr/local" "$out" \
|
--replace "/usr/local" "$out" \
|
||||||
--replace "CFLAGS = " "CFLAGS = -I${ncurses}/include " \
|
--replace "CFLAGS = " "CFLAGS = -I${ncurses.dev}/include " \
|
||||||
--replace "LDFLAGS = " "LDFLAGS = -L${ncurses}/lib " \
|
--replace "LDFLAGS = " "LDFLAGS = -L${ncurses.lib}/lib " \
|
||||||
--replace "-lcurses" "-lncurses"
|
--replace "-lcurses" "-lncurses"
|
||||||
'';
|
'';
|
||||||
|
buildInputs = [ ncurses ];
|
||||||
preBuild = ''
|
preBuild = ''
|
||||||
mkdir -p $out/bin
|
mkdir -p $out/bin
|
||||||
mkdir -p $out/man/man1
|
mkdir -p $out/man/man1
|
||||||
|
@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
|
|||||||
buildInputs = [ pkgconfig gtk gettext ];
|
buildInputs = [ pkgconfig gtk gettext ];
|
||||||
|
|
||||||
makeFlags = [ "PREFIX=$(out)" ]
|
makeFlags = [ "PREFIX=$(out)" ]
|
||||||
++ optional withBuildColors "TPUT=${ncurses}/bin/tput"
|
++ optional withBuildColors "TPUT=${ncurses.dev}/bin/tput"
|
||||||
++ optional (!withBuildColors) "TPUT_AVAILABLE=0"
|
++ optional (!withBuildColors) "TPUT_AVAILABLE=0"
|
||||||
;
|
;
|
||||||
|
|
||||||
|
@ -12,7 +12,7 @@ stdenv.mkDerivation {
|
|||||||
|
|
||||||
buildInputs = [ autoreconfHook gettext texinfo ncurses readline ];
|
buildInputs = [ autoreconfHook gettext texinfo ncurses readline ];
|
||||||
|
|
||||||
configureFlags = [ "--with-curses=${ncurses}" "--with-readline=${readline}" ];
|
configureFlags = [ "--with-curses=${ncurses.dev}" "--with-readline=${readline}" ];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "A viewer for info files";
|
description = "A viewer for info files";
|
||||||
|
@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
|
|||||||
"PREFIX=$(out)"
|
"PREFIX=$(out)"
|
||||||
"RSTTOMAN=${docutils}/bin/rst2man.py"
|
"RSTTOMAN=${docutils}/bin/rst2man.py"
|
||||||
"VERBOSE=1"
|
"VERBOSE=1"
|
||||||
"TPUT=${ncurses}/bin/tput"
|
"TPUT=${ncurses.dev}/bin/tput"
|
||||||
];
|
];
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
|
@ -35,7 +35,7 @@ stdenv.mkDerivation rec {
|
|||||||
mv doc $out/share
|
mv doc $out/share
|
||||||
|
|
||||||
# Hack around lack of libtinfo in NixOS
|
# Hack around lack of libtinfo in NixOS
|
||||||
ln -s ${ncurses}/lib/libncursesw.so.5 $out/lib/libtinfo.so.5
|
ln -s ${ncurses.lib}/lib/libncursesw.so.5 $out/lib/libtinfo.so.5
|
||||||
ln -s ${stdenv.cc.libc}/lib/libpthread.so.0 $out/lib/libpthread.so.0
|
ln -s ${stdenv.cc.libc}/lib/libpthread.so.0 $out/lib/libpthread.so.0
|
||||||
|
|
||||||
# Add a clang symlink for easy building with a suitable compiler.
|
# Add a clang symlink for easy building with a suitable compiler.
|
||||||
|
@ -130,7 +130,7 @@ stdenv.mkDerivation {
|
|||||||
--replace /usr/bin/pkill ${procps}/bin/pkill
|
--replace /usr/bin/pkill ${procps}/bin/pkill
|
||||||
|
|
||||||
substituteInPlace tools/xenstat/Makefile \
|
substituteInPlace tools/xenstat/Makefile \
|
||||||
--replace /usr/include/curses.h ${ncurses}/include/curses.h
|
--replace /usr/include/curses.h ${ncurses.dev}/include/curses.h
|
||||||
|
|
||||||
substituteInPlace tools/qemu-xen-traditional/xen-hooks.mak \
|
substituteInPlace tools/qemu-xen-traditional/xen-hooks.mak \
|
||||||
--replace /usr/include/pci ${pciutils}/include/pci
|
--replace /usr/include/pci ${pciutils}/include/pci
|
||||||
|
@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
|
|||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
substituteInPlace $out/lib/libvte2_90.la --replace "-lncurses" "-L${ncurses}/lib -lncurses"
|
substituteInPlace $out/lib/libvte2_90.la --replace "-lncurses" "-L${ncurses.lib}/lib -lncurses"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
|
|||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
substituteInPlace $out/lib/libvte2_90.la --replace "-lncurses" "-L${ncurses}/lib -lncurses"
|
substituteInPlace $out/lib/libvte2_90.la --replace "-lncurses" "-L${ncurses.lib}/lib -lncurses"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
|
|||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
substituteInPlace $out/lib/libvte2_90.la --replace "-lncurses" "-L${ncurses}/lib -lncurses"
|
substituteInPlace $out/lib/libvte2_90.la --replace "-lncurses" "-L${ncurses.lib}/lib -lncurses"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
|
|||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
substituteInPlace $out/lib/libvte2_90.la --replace "-lncurses" "-L${ncurses}/lib -lncurses"
|
substituteInPlace $out/lib/libvte2_90.la --replace "-lncurses" "-L${ncurses.lib}/lib -lncurses"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
@ -31,7 +31,7 @@ stdenv.mkDerivation {
|
|||||||
for f in $(find $out); do
|
for f in $(find $out); do
|
||||||
if [ -f "$f" ] && patchelf "$f" 2> /dev/null; then
|
if [ -f "$f" ] && patchelf "$f" 2> /dev/null; then
|
||||||
patchelf --set-interpreter ${glibc.out}/lib/ld-linux.so.2 \
|
patchelf --set-interpreter ${glibc.out}/lib/ld-linux.so.2 \
|
||||||
--set-rpath $out/lib:${gcc}/lib:${ncurses}/lib \
|
--set-rpath $out/lib:${gcc.lib}/lib:${ncurses.lib}/lib \
|
||||||
"$f" || true
|
"$f" || true
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
@ -40,7 +40,7 @@ stdenv.mkDerivation rec {
|
|||||||
(if stdenv.isLinux then ''
|
(if stdenv.isLinux then ''
|
||||||
find . -type f -perm -0100 \
|
find . -type f -perm -0100 \
|
||||||
-exec patchelf --interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
|
-exec patchelf --interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
|
||||||
--set-rpath "${libedit}/lib:${ncurses}/lib:${gmp}/lib" {} \;
|
--set-rpath "${libedit}/lib:${ncurses.lib}/lib:${gmp}/lib" {} \;
|
||||||
for prog in ld ar gcc strip ranlib; do
|
for prog in ld ar gcc strip ranlib; do
|
||||||
find . -name "setup-config" -exec sed -i "s@/usr/bin/$prog@$(type -p $prog)@g" {} \;
|
find . -name "setup-config" -exec sed -i "s@/usr/bin/$prog@$(type -p $prog)@g" {} \;
|
||||||
done
|
done
|
||||||
|
@ -15,8 +15,8 @@ stdenv.mkDerivation rec {
|
|||||||
buildMK = ''
|
buildMK = ''
|
||||||
libraries/integer-gmp_CONFIGURE_OPTS += --configure-option=--with-gmp-libraries="${gmp}/lib"
|
libraries/integer-gmp_CONFIGURE_OPTS += --configure-option=--with-gmp-libraries="${gmp}/lib"
|
||||||
libraries/integer-gmp_CONFIGURE_OPTS += --configure-option=--with-gmp-includes="${gmp}/include"
|
libraries/integer-gmp_CONFIGURE_OPTS += --configure-option=--with-gmp-includes="${gmp}/include"
|
||||||
libraries/terminfo_CONFIGURE_OPTS += --configure-option=--with-curses-includes="${ncurses}/include"
|
libraries/terminfo_CONFIGURE_OPTS += --configure-option=--with-curses-includes="${ncurses.dev}/include"
|
||||||
libraries/terminfo_CONFIGURE_OPTS += --configure-option=--with-curses-libraries="${ncurses}/lib"
|
libraries/terminfo_CONFIGURE_OPTS += --configure-option=--with-curses-libraries="${ncurses.lib}/lib"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
|
@ -62,7 +62,7 @@ stdenv.mkDerivation rec {
|
|||||||
stdenv.lib.optionalString stdenv.isLinux ''
|
stdenv.lib.optionalString stdenv.isLinux ''
|
||||||
find . -type f -perm -0100 \
|
find . -type f -perm -0100 \
|
||||||
-exec patchelf --interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
|
-exec patchelf --interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
|
||||||
--set-rpath "${ncurses}/lib:${gmp}/lib" {} \;
|
--set-rpath "${ncurses.lib}/lib:${gmp}/lib" {} \;
|
||||||
sed -i "s|/usr/bin/perl|perl\x00 |" ghc-${version}/ghc/stage2/build/tmp/ghc-stage2
|
sed -i "s|/usr/bin/perl|perl\x00 |" ghc-${version}/ghc/stage2/build/tmp/ghc-stage2
|
||||||
sed -i "s|/usr/bin/gcc|gcc\x00 |" ghc-${version}/ghc/stage2/build/tmp/ghc-stage2
|
sed -i "s|/usr/bin/gcc|gcc\x00 |" ghc-${version}/ghc/stage2/build/tmp/ghc-stage2
|
||||||
for prog in ld ar gcc strip ranlib; do
|
for prog in ld ar gcc strip ranlib; do
|
||||||
|
@ -16,8 +16,8 @@ stdenv.mkDerivation rec {
|
|||||||
buildMK = ''
|
buildMK = ''
|
||||||
libraries/integer-gmp_CONFIGURE_OPTS += --configure-option=--with-gmp-libraries="${gmp}/lib"
|
libraries/integer-gmp_CONFIGURE_OPTS += --configure-option=--with-gmp-libraries="${gmp}/lib"
|
||||||
libraries/integer-gmp_CONFIGURE_OPTS += --configure-option=--with-gmp-includes="${gmp}/include"
|
libraries/integer-gmp_CONFIGURE_OPTS += --configure-option=--with-gmp-includes="${gmp}/include"
|
||||||
libraries/terminfo_CONFIGURE_OPTS += --configure-option=--with-curses-includes="${ncurses}/include"
|
libraries/terminfo_CONFIGURE_OPTS += --configure-option=--with-curses-includes="${ncurses.dev}/include"
|
||||||
libraries/terminfo_CONFIGURE_OPTS += --configure-option=--with-curses-libraries="${ncurses}/lib"
|
libraries/terminfo_CONFIGURE_OPTS += --configure-option=--with-curses-libraries="${ncurses.lib}/lib"
|
||||||
${stdenv.lib.optionalString stdenv.isDarwin ''
|
${stdenv.lib.optionalString stdenv.isDarwin ''
|
||||||
libraries/base_CONFIGURE_OPTS += --configure-option=--with-iconv-includes="${libiconv}/include"
|
libraries/base_CONFIGURE_OPTS += --configure-option=--with-iconv-includes="${libiconv}/include"
|
||||||
libraries/base_CONFIGURE_OPTS += --configure-option=--with-iconv-libraries="${libiconv}/lib"
|
libraries/base_CONFIGURE_OPTS += --configure-option=--with-iconv-libraries="${libiconv}/lib"
|
||||||
|
@ -7,8 +7,8 @@ let
|
|||||||
buildMK = ''
|
buildMK = ''
|
||||||
libraries/integer-gmp_CONFIGURE_OPTS += --configure-option=--with-gmp-libraries="${gmp}/lib"
|
libraries/integer-gmp_CONFIGURE_OPTS += --configure-option=--with-gmp-libraries="${gmp}/lib"
|
||||||
libraries/integer-gmp_CONFIGURE_OPTS += --configure-option=--with-gmp-includes="${gmp}/include"
|
libraries/integer-gmp_CONFIGURE_OPTS += --configure-option=--with-gmp-includes="${gmp}/include"
|
||||||
libraries/terminfo_CONFIGURE_OPTS += --configure-option=--with-curses-includes="${ncurses}/include"
|
libraries/terminfo_CONFIGURE_OPTS += --configure-option=--with-curses-includes="${ncurses.dev}/include"
|
||||||
libraries/terminfo_CONFIGURE_OPTS += --configure-option=--with-curses-libraries="${ncurses}/lib"
|
libraries/terminfo_CONFIGURE_OPTS += --configure-option=--with-curses-libraries="${ncurses.lib}/lib"
|
||||||
${stdenv.lib.optionalString stdenv.isDarwin ''
|
${stdenv.lib.optionalString stdenv.isDarwin ''
|
||||||
libraries/base_CONFIGURE_OPTS += --configure-option=--with-iconv-includes="${libiconv}/include"
|
libraries/base_CONFIGURE_OPTS += --configure-option=--with-iconv-includes="${libiconv}/include"
|
||||||
libraries/base_CONFIGURE_OPTS += --configure-option=--with-iconv-libraries="${libiconv}/lib"
|
libraries/base_CONFIGURE_OPTS += --configure-option=--with-iconv-libraries="${libiconv}/lib"
|
||||||
|
@ -16,8 +16,8 @@ stdenv.mkDerivation rec {
|
|||||||
buildMK = ''
|
buildMK = ''
|
||||||
libraries/integer-gmp_CONFIGURE_OPTS += --configure-option=--with-gmp-libraries="${gmp}/lib"
|
libraries/integer-gmp_CONFIGURE_OPTS += --configure-option=--with-gmp-libraries="${gmp}/lib"
|
||||||
libraries/integer-gmp_CONFIGURE_OPTS += --configure-option=--with-gmp-includes="${gmp}/include"
|
libraries/integer-gmp_CONFIGURE_OPTS += --configure-option=--with-gmp-includes="${gmp}/include"
|
||||||
libraries/terminfo_CONFIGURE_OPTS += --configure-option=--with-curses-includes="${ncurses}/include"
|
libraries/terminfo_CONFIGURE_OPTS += --configure-option=--with-curses-includes="${ncurses.dev}/include"
|
||||||
libraries/terminfo_CONFIGURE_OPTS += --configure-option=--with-curses-libraries="${ncurses}/lib"
|
libraries/terminfo_CONFIGURE_OPTS += --configure-option=--with-curses-libraries="${ncurses.lib}/lib"
|
||||||
${stdenv.lib.optionalString stdenv.isDarwin ''
|
${stdenv.lib.optionalString stdenv.isDarwin ''
|
||||||
libraries/base_CONFIGURE_OPTS += --configure-option=--with-iconv-includes="${libiconv}/include"
|
libraries/base_CONFIGURE_OPTS += --configure-option=--with-iconv-includes="${libiconv}/include"
|
||||||
libraries/base_CONFIGURE_OPTS += --configure-option=--with-iconv-libraries="${libiconv}/lib"
|
libraries/base_CONFIGURE_OPTS += --configure-option=--with-iconv-libraries="${libiconv}/lib"
|
||||||
|
@ -61,7 +61,7 @@ stdenv.mkDerivation rec {
|
|||||||
# find editline/gmp.
|
# find editline/gmp.
|
||||||
stdenv.lib.optionalString stdenv.isLinux ''
|
stdenv.lib.optionalString stdenv.isLinux ''
|
||||||
mkdir -p "$out/lib"
|
mkdir -p "$out/lib"
|
||||||
ln -sv "${ncurses}/lib/libncurses.so" "$out/lib/libncurses${stdenv.lib.optionalString stdenv.is64bit "w"}.so.5"
|
ln -sv "${ncurses.lib}/lib/libncurses.so" "$out/lib/libncurses${stdenv.lib.optionalString stdenv.is64bit "w"}.so.5"
|
||||||
find . -type f -perm -0100 \
|
find . -type f -perm -0100 \
|
||||||
-exec patchelf --interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
|
-exec patchelf --interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
|
||||||
--set-rpath "$out/lib:${gmp}/lib" {} \;
|
--set-rpath "$out/lib:${gmp}/lib" {} \;
|
||||||
|
@ -17,8 +17,8 @@ stdenv.mkDerivation rec {
|
|||||||
buildMK = ''
|
buildMK = ''
|
||||||
libraries/integer-gmp_CONFIGURE_OPTS += --configure-option=--with-gmp-libraries="${gmp}/lib"
|
libraries/integer-gmp_CONFIGURE_OPTS += --configure-option=--with-gmp-libraries="${gmp}/lib"
|
||||||
libraries/integer-gmp_CONFIGURE_OPTS += --configure-option=--with-gmp-includes="${gmp}/include"
|
libraries/integer-gmp_CONFIGURE_OPTS += --configure-option=--with-gmp-includes="${gmp}/include"
|
||||||
libraries/terminfo_CONFIGURE_OPTS += --configure-option=--with-curses-includes="${ncurses}/include"
|
libraries/terminfo_CONFIGURE_OPTS += --configure-option=--with-curses-includes="${ncurses.dev}/include"
|
||||||
libraries/terminfo_CONFIGURE_OPTS += --configure-option=--with-curses-libraries="${ncurses}/lib"
|
libraries/terminfo_CONFIGURE_OPTS += --configure-option=--with-curses-libraries="${ncurses.lib}/lib"
|
||||||
${stdenv.lib.optionalString stdenv.isDarwin ''
|
${stdenv.lib.optionalString stdenv.isDarwin ''
|
||||||
libraries/base_CONFIGURE_OPTS += --configure-option=--with-iconv-includes="${libiconv}/include"
|
libraries/base_CONFIGURE_OPTS += --configure-option=--with-iconv-includes="${libiconv}/include"
|
||||||
libraries/base_CONFIGURE_OPTS += --configure-option=--with-iconv-libraries="${libiconv}/lib"
|
libraries/base_CONFIGURE_OPTS += --configure-option=--with-iconv-libraries="${libiconv}/lib"
|
||||||
|
@ -24,8 +24,8 @@ in stdenv.mkDerivation rec {
|
|||||||
buildMK = ''
|
buildMK = ''
|
||||||
libraries/integer-gmp_CONFIGURE_OPTS += --configure-option=--with-gmp-libraries="${gmp}/lib"
|
libraries/integer-gmp_CONFIGURE_OPTS += --configure-option=--with-gmp-libraries="${gmp}/lib"
|
||||||
libraries/integer-gmp_CONFIGURE_OPTS += --configure-option=--with-gmp-includes="${gmp}/include"
|
libraries/integer-gmp_CONFIGURE_OPTS += --configure-option=--with-gmp-includes="${gmp}/include"
|
||||||
libraries/terminfo_CONFIGURE_OPTS += --configure-option=--with-curses-includes="${ncurses}/include"
|
libraries/terminfo_CONFIGURE_OPTS += --configure-option=--with-curses-includes="${ncurses.dev}/include"
|
||||||
libraries/terminfo_CONFIGURE_OPTS += --configure-option=--with-curses-libraries="${ncurses}/lib"
|
libraries/terminfo_CONFIGURE_OPTS += --configure-option=--with-curses-libraries="${ncurses.lib}/lib"
|
||||||
${stdenv.lib.optionalString stdenv.isDarwin ''
|
${stdenv.lib.optionalString stdenv.isDarwin ''
|
||||||
libraries/base_CONFIGURE_OPTS += --configure-option=--with-iconv-includes="${libiconv}/include"
|
libraries/base_CONFIGURE_OPTS += --configure-option=--with-iconv-includes="${libiconv}/include"
|
||||||
libraries/base_CONFIGURE_OPTS += --configure-option=--with-iconv-libraries="${libiconv}/lib"
|
libraries/base_CONFIGURE_OPTS += --configure-option=--with-iconv-libraries="${libiconv}/lib"
|
||||||
|
@ -16,8 +16,8 @@ stdenv.mkDerivation rec {
|
|||||||
buildMK = ''
|
buildMK = ''
|
||||||
libraries/integer-gmp_CONFIGURE_OPTS += --configure-option=--with-gmp-libraries="${gmp}/lib"
|
libraries/integer-gmp_CONFIGURE_OPTS += --configure-option=--with-gmp-libraries="${gmp}/lib"
|
||||||
libraries/integer-gmp_CONFIGURE_OPTS += --configure-option=--with-gmp-includes="${gmp}/include"
|
libraries/integer-gmp_CONFIGURE_OPTS += --configure-option=--with-gmp-includes="${gmp}/include"
|
||||||
libraries/terminfo_CONFIGURE_OPTS += --configure-option=--with-curses-includes="${ncurses}/include"
|
libraries/terminfo_CONFIGURE_OPTS += --configure-option=--with-curses-includes="${ncurses.dev}/include"
|
||||||
libraries/terminfo_CONFIGURE_OPTS += --configure-option=--with-curses-libraries="${ncurses}/lib"
|
libraries/terminfo_CONFIGURE_OPTS += --configure-option=--with-curses-libraries="${ncurses.lib}/lib"
|
||||||
DYNAMIC_BY_DEFAULT = NO
|
DYNAMIC_BY_DEFAULT = NO
|
||||||
${stdenv.lib.optionalString stdenv.isDarwin ''
|
${stdenv.lib.optionalString stdenv.isDarwin ''
|
||||||
libraries/base_CONFIGURE_OPTS += --configure-option=--with-iconv-includes="${libiconv}/include"
|
libraries/base_CONFIGURE_OPTS += --configure-option=--with-iconv-includes="${libiconv}/include"
|
||||||
|
@ -16,8 +16,8 @@ stdenv.mkDerivation (rec {
|
|||||||
buildMK = ''
|
buildMK = ''
|
||||||
libraries/integer-gmp_CONFIGURE_OPTS += --configure-option=--with-gmp-libraries="${gmp}/lib"
|
libraries/integer-gmp_CONFIGURE_OPTS += --configure-option=--with-gmp-libraries="${gmp}/lib"
|
||||||
libraries/integer-gmp_CONFIGURE_OPTS += --configure-option=--with-gmp-includes="${gmp}/include"
|
libraries/integer-gmp_CONFIGURE_OPTS += --configure-option=--with-gmp-includes="${gmp}/include"
|
||||||
libraries/terminfo_CONFIGURE_OPTS += --configure-option=--with-curses-includes="${ncurses}/include"
|
libraries/terminfo_CONFIGURE_OPTS += --configure-option=--with-curses-includes="${ncurses.dev}/include"
|
||||||
libraries/terminfo_CONFIGURE_OPTS += --configure-option=--with-curses-libraries="${ncurses}/lib"
|
libraries/terminfo_CONFIGURE_OPTS += --configure-option=--with-curses-libraries="${ncurses.lib}/lib"
|
||||||
DYNAMIC_BY_DEFAULT = NO
|
DYNAMIC_BY_DEFAULT = NO
|
||||||
${stdenv.lib.optionalString stdenv.isDarwin ''
|
${stdenv.lib.optionalString stdenv.isDarwin ''
|
||||||
libraries/base_CONFIGURE_OPTS += --configure-option=--with-iconv-includes="${libiconv}/include"
|
libraries/base_CONFIGURE_OPTS += --configure-option=--with-iconv-includes="${libiconv}/include"
|
||||||
|
@ -5,8 +5,8 @@ let
|
|||||||
buildMK = ''
|
buildMK = ''
|
||||||
libraries/integer-gmp_CONFIGURE_OPTS += --configure-option=--with-gmp-libraries="${gmp}/lib"
|
libraries/integer-gmp_CONFIGURE_OPTS += --configure-option=--with-gmp-libraries="${gmp}/lib"
|
||||||
libraries/integer-gmp_CONFIGURE_OPTS += --configure-option=--with-gmp-includes="${gmp}/include"
|
libraries/integer-gmp_CONFIGURE_OPTS += --configure-option=--with-gmp-includes="${gmp}/include"
|
||||||
libraries/terminfo_CONFIGURE_OPTS += --configure-option=--with-curses-includes="${ncurses}/include"
|
libraries/terminfo_CONFIGURE_OPTS += --configure-option=--with-curses-includes="${ncurses.dev}/include"
|
||||||
libraries/terminfo_CONFIGURE_OPTS += --configure-option=--with-curses-libraries="${ncurses}/lib"
|
libraries/terminfo_CONFIGURE_OPTS += --configure-option=--with-curses-libraries="${ncurses.lib}/lib"
|
||||||
DYNAMIC_BY_DEFAULT = NO
|
DYNAMIC_BY_DEFAULT = NO
|
||||||
${stdenv.lib.optionalString stdenv.isDarwin ''
|
${stdenv.lib.optionalString stdenv.isDarwin ''
|
||||||
libraries/base_CONFIGURE_OPTS += --configure-option=--with-iconv-includes="${libiconv}/include"
|
libraries/base_CONFIGURE_OPTS += --configure-option=--with-iconv-includes="${libiconv}/include"
|
||||||
|
@ -5,8 +5,8 @@ let
|
|||||||
buildMK = ''
|
buildMK = ''
|
||||||
libraries/integer-gmp_CONFIGURE_OPTS += --configure-option=--with-gmp-libraries="${gmp}/lib"
|
libraries/integer-gmp_CONFIGURE_OPTS += --configure-option=--with-gmp-libraries="${gmp}/lib"
|
||||||
libraries/integer-gmp_CONFIGURE_OPTS += --configure-option=--with-gmp-includes="${gmp}/include"
|
libraries/integer-gmp_CONFIGURE_OPTS += --configure-option=--with-gmp-includes="${gmp}/include"
|
||||||
libraries/terminfo_CONFIGURE_OPTS += --configure-option=--with-curses-includes="${ncurses}/include"
|
libraries/terminfo_CONFIGURE_OPTS += --configure-option=--with-curses-includes="${ncurses.dev}/include"
|
||||||
libraries/terminfo_CONFIGURE_OPTS += --configure-option=--with-curses-libraries="${ncurses}/lib"
|
libraries/terminfo_CONFIGURE_OPTS += --configure-option=--with-curses-libraries="${ncurses.lib}/lib"
|
||||||
DYNAMIC_BY_DEFAULT = NO
|
DYNAMIC_BY_DEFAULT = NO
|
||||||
SRC_HC_OPTS = -H64m -O -fasm
|
SRC_HC_OPTS = -H64m -O -fasm
|
||||||
GhcLibHcOpts = -O -dcore-lint
|
GhcLibHcOpts = -O -dcore-lint
|
||||||
|
@ -34,7 +34,7 @@ let
|
|||||||
|
|
||||||
# GDB needs ncurses
|
# GDB needs ncurses
|
||||||
case "$file" in
|
case "$file" in
|
||||||
*gdb) patchelf --set-rpath "${ncurses}/lib" "$file";;
|
*gdb) patchelf --set-rpath "${ncurses.lib}/lib" "$file";;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
||||||
|
@ -43,9 +43,9 @@ let
|
|||||||
|
|
||||||
# hint pypy to find nix ncurses
|
# hint pypy to find nix ncurses
|
||||||
substituteInPlace pypy/module/_minimal_curses/fficurses.py \
|
substituteInPlace pypy/module/_minimal_curses/fficurses.py \
|
||||||
--replace "/usr/include/ncurses/curses.h" "${ncurses}/include/curses.h" \
|
--replace "/usr/include/ncurses/curses.h" "${ncurses.dev}/include/curses.h" \
|
||||||
--replace "ncurses/curses.h" "${ncurses}/include/curses.h" \
|
--replace "ncurses/curses.h" "${ncurses.dev}/include/curses.h" \
|
||||||
--replace "ncurses/term.h" "${ncurses}/include/term.h" \
|
--replace "ncurses/term.h" "${ncurses.dev}/include/term.h" \
|
||||||
--replace "libraries=['curses']" "libraries=['ncurses']"
|
--replace "libraries=['curses']" "libraries=['ncurses']"
|
||||||
|
|
||||||
# tkinter hints
|
# tkinter hints
|
||||||
@ -72,7 +72,7 @@ let
|
|||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
export TERMINFO="${ncurses}/share/terminfo/";
|
export TERMINFO="${ncurses.out}/share/terminfo/";
|
||||||
export TERM="xterm";
|
export TERM="xterm";
|
||||||
export HOME="$TMPDIR";
|
export HOME="$TMPDIR";
|
||||||
# disable shutils because it assumes gid 0 exists
|
# disable shutils because it assumes gid 0 exists
|
||||||
|
@ -54,8 +54,8 @@ in
|
|||||||
ncursesw = attrs: {
|
ncursesw = attrs: {
|
||||||
buildInputs = [ ncurses ];
|
buildInputs = [ ncurses ];
|
||||||
buildFlags = [
|
buildFlags = [
|
||||||
"--with-cflags=-I${ncurses}/include"
|
"--with-cflags=-I${ncurses.dev}/include"
|
||||||
"--with-ldflags=-L${ncurses}/lib"
|
"--with-ldflags=-L${ncurses.lib}/lib"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
find $out/lib -type f | grep '\.\(la\|pc\)''$' | xargs sed -i \
|
find $out/lib -type f | grep '\.\(la\|pc\)''$' | xargs sed -i \
|
||||||
-e 's,-lncurses[a-z]*,-L${ncurses}/lib -lncursesw,g'
|
-e 's,-lncurses[a-z]*,-L${ncurses.lib}/lib -lncursesw,g'
|
||||||
'';
|
'';
|
||||||
|
|
||||||
configureFlags = [ "--enable-widec" ];
|
configureFlags = [ "--enable-widec" ];
|
||||||
|
@ -16,6 +16,9 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
patches = [ ./clang.patch ];
|
patches = [ ./clang.patch ];
|
||||||
|
|
||||||
|
outputs = [ "dev" "lib" "out" ];
|
||||||
|
setOutputFlags = false; # some aren't supported
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
"--with-shared"
|
"--with-shared"
|
||||||
"--with-cxx-shared"
|
"--with-cxx-shared"
|
||||||
@ -24,14 +27,14 @@ stdenv.mkDerivation rec {
|
|||||||
"--enable-overwrite" # Needed for proper header installation
|
"--enable-overwrite" # Needed for proper header installation
|
||||||
"--enable-pc-files"
|
"--enable-pc-files"
|
||||||
"--enable-symlinks"
|
"--enable-symlinks"
|
||||||
|
"--libdir=$(lib)/lib" "--includedir=$(dev)/include" "--bindir=$(dev)/bin"
|
||||||
] ++ lib.optional unicode "--enable-widec";
|
] ++ lib.optional unicode "--enable-widec";
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig libtool ];
|
nativeBuildInputs = [ pkgconfig libtool ];
|
||||||
buildInputs = lib.optional (mouseSupport && stdenv.isLinux) gpm;
|
buildInputs = lib.optional (mouseSupport && stdenv.isLinux) gpm;
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
configureFlagsArray+=("--includedir=$out/include")
|
export PKG_CONFIG_LIBDIR="$dev/lib/pkgconfig"
|
||||||
export PKG_CONFIG_LIBDIR="$out/lib/pkgconfig"
|
|
||||||
mkdir -p "$PKG_CONFIG_LIBDIR"
|
mkdir -p "$PKG_CONFIG_LIBDIR"
|
||||||
configureFlagsArray+=("--with-pkg-config-libdir=$PKG_CONFIG_LIBDIR")
|
configureFlagsArray+=("--with-pkg-config-libdir=$PKG_CONFIG_LIBDIR")
|
||||||
'' + lib.optionalString stdenv.isCygwin ''
|
'' + lib.optionalString stdenv.isCygwin ''
|
||||||
@ -47,37 +50,37 @@ stdenv.mkDerivation rec {
|
|||||||
# When building a wide-character (Unicode) build, create backward
|
# When building a wide-character (Unicode) build, create backward
|
||||||
# compatibility links from the the "normal" libraries to the
|
# compatibility links from the the "normal" libraries to the
|
||||||
# wide-character libraries (e.g. libncurses.so to libncursesw.so).
|
# wide-character libraries (e.g. libncurses.so to libncursesw.so).
|
||||||
postInstall = ''
|
postFixup = ''
|
||||||
# Determine what suffixes our libraries have
|
# Determine what suffixes our libraries have
|
||||||
suffix="$(awk -F': ' 'f{print $3; f=0} /default library suffix/{f=1}' config.log)"
|
suffix="$(awk -F': ' 'f{print $3; f=0} /default library suffix/{f=1}' config.log)"
|
||||||
libs="$(ls $out/lib/pkgconfig | tr ' ' '\n' | sed "s,\(.*\)$suffix\.pc,\1,g")"
|
libs="$(ls $dev/lib/pkgconfig | tr ' ' '\n' | sed "s,\(.*\)$suffix\.pc,\1,g")"
|
||||||
suffixes="$(echo "$suffix" | awk '{for (i=1; i < length($0); i++) {x=substr($0, i+1, length($0)-i); print x}}')"
|
suffixes="$(echo "$suffix" | awk '{for (i=1; i < length($0); i++) {x=substr($0, i+1, length($0)-i); print x}}')"
|
||||||
|
|
||||||
# Get the path to the config util
|
# Get the path to the config util
|
||||||
cfg=$(basename $out/bin/ncurses*-config)
|
cfg=$(basename $dev/bin/ncurses*-config)
|
||||||
|
|
||||||
# symlink the full suffixed include directory
|
# symlink the full suffixed include directory
|
||||||
ln -svf . $out/include/ncurses$suffix
|
ln -svf . $dev/include/ncurses$suffix
|
||||||
|
|
||||||
for newsuffix in $suffixes ""; do
|
for newsuffix in $suffixes ""; do
|
||||||
# Create a non-abi versioned config util links
|
# Create a non-abi versioned config util links
|
||||||
ln -svf $cfg $out/bin/ncurses$newsuffix-config
|
ln -svf $cfg $dev/bin/ncurses$newsuffix-config
|
||||||
|
|
||||||
# Allow for end users who #include <ncurses?w/*.h>
|
# Allow for end users who #include <ncurses?w/*.h>
|
||||||
ln -svf . $out/include/ncurses$newsuffix
|
ln -svf . $dev/include/ncurses$newsuffix
|
||||||
|
|
||||||
for lib in $libs; do
|
for library in $libs; do
|
||||||
for dylibtype in so dll dylib; do
|
for dylibtype in so dll dylib; do
|
||||||
if [ -e "$out/lib/lib''${lib}$suffix.$dylibtype" ]; then
|
if [ -e "$lib/lib/lib''${library}$suffix.$dylibtype" ]; then
|
||||||
ln -svf lib''${lib}$suffix.$dylibtype $out/lib/lib$lib$newsuffix.$dylibtype
|
ln -svf lib''${library}$suffix.$dylibtype $lib/lib/lib$library$newsuffix.$dylibtype
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
for statictype in a dll.a la; do
|
for statictype in a dll.a la; do
|
||||||
if [ -e "$out/lib/lib''${lib}$suffix.$statictype" ]; then
|
if [ -e "$lib/lib/lib''${library}$suffix.$statictype" ]; then
|
||||||
ln -svf lib''${lib}$suffix.$statictype $out/lib/lib$lib$newsuffix.$statictype
|
ln -svf lib''${library}$suffix.$statictype $lib/lib/lib$library$newsuffix.$statictype
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
ln -svf ''${lib}$suffix.pc $out/lib/pkgconfig/$lib$newsuffix.pc
|
ln -svf ''${library}$suffix.pc $dev/lib/pkgconfig/$library$newsuffix.pc
|
||||||
done
|
done
|
||||||
done
|
done
|
||||||
'';
|
'';
|
||||||
|
@ -9,9 +9,10 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
# Fix some wrong hardcoded paths
|
# Fix some wrong hardcoded paths
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
sed -i -e "s|/usr/lib/terminfo|${ncurses}/lib/terminfo|" configure
|
sed -i -e "s|/usr/lib/terminfo|${ncurses.out}/lib/terminfo|" configure
|
||||||
sed -i -e "s|/usr/lib/terminfo|${ncurses}/lib/terminfo|" src/sltermin.c
|
sed -i -e "s|/usr/lib/terminfo|${ncurses.out}/lib/terminfo|" src/sltermin.c
|
||||||
sed -i -e "s|/bin/ln|ln|" src/Makefile.in
|
sed -i -e "s|/bin/ln|ln|" src/Makefile.in
|
||||||
|
sed -i -e "s|-ltermcap|-lncurses|" ./configure
|
||||||
'';
|
'';
|
||||||
configureFlags = "--with-png=${libpng} --with-z=${zlib} --with-pcre=${pcre} --with-readline=${readline}";
|
configureFlags = "--with-png=${libpng} --with-z=${zlib} --with-pcre=${pcre} --with-readline=${readline}";
|
||||||
buildInputs = [ncurses pcre libpng zlib readline];
|
buildInputs = [ncurses pcre libpng zlib readline];
|
||||||
|
@ -55,7 +55,7 @@ stdenv.mkDerivation rec {
|
|||||||
\( -type f -a -name "*.so*" \) -o \
|
\( -type f -a -name "*.so*" \) -o \
|
||||||
\( -type f -a -perm -0100 \) \
|
\( -type f -a -perm -0100 \) \
|
||||||
\) -exec patchelf --set-interpreter ${stdenv.cc.libc.out}/lib/ld-*so.? \
|
\) -exec patchelf --set-interpreter ${stdenv.cc.libc.out}/lib/ld-*so.? \
|
||||||
--set-rpath ${zlib}/lib:${ncurses}/lib {} \;
|
--set-rpath ${stdenv.lib.makeLibraryPath [ zlib ncurses ]} {} \;
|
||||||
# fix ineffective PROGDIR / MYNDKDIR determination
|
# fix ineffective PROGDIR / MYNDKDIR determination
|
||||||
for i in ndk-build ndk-gdb ndk-gdb-py
|
for i in ndk-build ndk-gdb ndk-gdb-py
|
||||||
do
|
do
|
||||||
|
@ -32,7 +32,7 @@ stdenv.mkDerivation rec {
|
|||||||
mkdir -p "$out"
|
mkdir -p "$out"
|
||||||
cp -r . "$out/src"
|
cp -r . "$out/src"
|
||||||
mkdir "$out/bin"
|
mkdir "$out/bin"
|
||||||
wrapProgram "$out/src/drush" --prefix PATH : "${which}/bin:${php}/bin:${bash}/bin:${coreutils}/bin:${ncurses}/bin"
|
wrapProgram "$out/src/drush" --prefix PATH : "${which}/bin:${php}/bin:${bash}/bin:${coreutils}/bin:${ncurses.dev}/bin"
|
||||||
ln -s "$out/src/drush" "$out/bin/drush"
|
ln -s "$out/src/drush" "$out/bin/drush"
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
"--with-ltdl-include=${libtool}/include"
|
"--with-ltdl-include=${libtool}/include"
|
||||||
"--with-ltdl-lib=${libtool}/lib"
|
"--with-ltdl-lib=${libtool.lib}/lib"
|
||||||
"--with-ncurses=${ncurses}"
|
"--with-ncurses=${ncurses}"
|
||||||
"--with-sqlite3=${sqlite}"
|
"--with-sqlite3=${sqlite}"
|
||||||
"--with-exuberant-ctags=${ctags}/bin/ctags"
|
"--with-exuberant-ctags=${ctags}/bin/ctags"
|
||||||
|
@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
|
|||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace Makefile.bsd --replace /bin/echo echo
|
substituteInPlace Makefile.bsd --replace /bin/echo echo
|
||||||
substituteInPlace entr.c --replace /bin/cat ${coreutils}/bin/cat
|
substituteInPlace entr.c --replace /bin/cat ${coreutils}/bin/cat
|
||||||
substituteInPlace entr.c --replace /usr/bin/clear ${ncurses}/bin/clear
|
substituteInPlace entr.c --replace /usr/bin/clear ${ncurses.dev}/bin/clear
|
||||||
substituteInPlace entr.1 --replace /bin/cat cat
|
substituteInPlace entr.1 --replace /bin/cat cat
|
||||||
substituteInPlace entr.1 --replace /usr/bin/clear clear
|
substituteInPlace entr.1 --replace /usr/bin/clear clear
|
||||||
'';
|
'';
|
||||||
|
@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
buildInputs = [ ncurses /* for `talk' */ ];
|
buildInputs = [ ncurses /* for `talk' */ ];
|
||||||
|
|
||||||
configureFlags = "--with-ncurses-include-dir=${ncurses}/include";
|
configureFlags = "--with-ncurses-include-dir=${ncurses.dev}/include";
|
||||||
|
|
||||||
# Test fails with "UNIX socket name too long", probably because our
|
# Test fails with "UNIX socket name too long", probably because our
|
||||||
# $TMPDIR is too long.
|
# $TMPDIR is too long.
|
||||||
|
@ -37,7 +37,7 @@ stdenv.mkDerivation rec {
|
|||||||
for i in $(cd $out/bin && ls); do
|
for i in $(cd $out/bin && ls); do
|
||||||
wrapProgram $out/bin/$i \
|
wrapProgram $out/bin/$i \
|
||||||
--prefix PYTHONPATH : "$(toPythonPath $out):$(toPythonPath ${pythonPackages.curses}):$out/libexec:$PYTHONPATH" \
|
--prefix PYTHONPATH : "$(toPythonPath $out):$(toPythonPath ${pythonPackages.curses}):$out/libexec:$PYTHONPATH" \
|
||||||
--set TERMINFO "${ncurses}/share/terminfo" \
|
--set TERMINFO "${ncurses.out}/share/terminfo" \
|
||||||
--set TERM "xterm"
|
--set TERM "xterm"
|
||||||
done
|
done
|
||||||
'';
|
'';
|
||||||
|
@ -10448,7 +10448,7 @@ let self = _self // overrides; _self = with self; {
|
|||||||
preConfigure =
|
preConfigure =
|
||||||
''
|
''
|
||||||
substituteInPlace Makefile.PL --replace '$Config{libpth}' \
|
substituteInPlace Makefile.PL --replace '$Config{libpth}' \
|
||||||
"'${pkgs.ncurses}/lib'"
|
"'${pkgs.ncurses.lib}/lib'"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
# Tests don't work because they require /dev/tty.
|
# Tests don't work because they require /dev/tty.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user