ncurses: support termlib

+2
+2
pkgs/development/libraries/ncurses/default.nix
··· 9 9 , enableStatic ? stdenv.hostPlatform.isStatic 10 10 , withCxx ? !stdenv.hostPlatform.useAndroidPrebuilt 11 11 , mouseSupport ? false, gpm 12 + , withTermlib ? false 12 13 , unicodeSupport ? true 13 14 , testers 14 15 , binlore ··· 38 39 ++ lib.optional (!withCxx) "--without-cxx" 39 40 ++ lib.optional (abiVersion == "5") "--with-abi-version=5" 40 41 ++ lib.optional stdenv.hostPlatform.isNetBSD "--enable-rpath" 42 + ++ lib.optional withTermlib "--with-termlib" 41 43 ++ lib.optionals stdenv.hostPlatform.isWindows [ 42 44 "--enable-sp-funcs" 43 45 "--enable-term-driver"