gettext: Remove old patch. Enable xz compression.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, libiconv }:
|
||||
{ stdenv, fetchurl, libiconv, xz }:
|
||||
|
||||
stdenv.mkDerivation (rec {
|
||||
name = "gettext-0.18.2";
|
||||
@@ -8,11 +8,9 @@ stdenv.mkDerivation (rec {
|
||||
sha256 = "516a6370b3b3f46e2fc5a5e222ff5ecd76f3089bc956a7587a6e4f89de17714c";
|
||||
};
|
||||
|
||||
patches = [ ./no-gets.patch ];
|
||||
|
||||
LDFLAGS = if stdenv.isSunOS then "-lm -lmd -lmp -luutil -lnvpair -lnsl -lidmap -lavl -lsec" else "";
|
||||
|
||||
configureFlags = [ "--disable-csharp" ]
|
||||
configureFlags = [ "--disable-csharp" "--with-xz" ]
|
||||
++ (stdenv.lib.optionals stdenv.isCygwin
|
||||
[ # We have a static libiconv, so we can only build the static lib.
|
||||
"--disable-shared" "--enable-static"
|
||||
@@ -32,7 +30,7 @@ stdenv.mkDerivation (rec {
|
||||
fi
|
||||
'';
|
||||
|
||||
buildInputs = stdenv.lib.optional (!stdenv.isLinux) libiconv;
|
||||
buildInputs = [ xz ] ++ stdenv.lib.optional (!stdenv.isLinux) libiconv;
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user