summary refs log tree commit diff
path: root/pkgs/tools/text
diff options
context:
space:
mode:
authorMatthew Bauer <mjbauer95@gmail.com>2018-03-14 14:15:06 -0500
committerMatthew Bauer <mjbauer95@gmail.com>2018-03-22 16:50:11 -0500
commited2a9cf65fe2bf02bc3e7070ca4b124260d99585 (patch)
treeeabfdcf2e6203d6da7f1ada80a785455533c9c80 /pkgs/tools/text
parent9e75fb5eb4f26de4e551137c3caaa78b9bf8b050 (diff)
downloadnixlib-ed2a9cf65fe2bf02bc3e7070ca4b124260d99585.tar
nixlib-ed2a9cf65fe2bf02bc3e7070ca4b124260d99585.tar.gz
nixlib-ed2a9cf65fe2bf02bc3e7070ca4b124260d99585.tar.bz2
nixlib-ed2a9cf65fe2bf02bc3e7070ca4b124260d99585.tar.lz
nixlib-ed2a9cf65fe2bf02bc3e7070ca4b124260d99585.tar.xz
nixlib-ed2a9cf65fe2bf02bc3e7070ca4b124260d99585.tar.zst
nixlib-ed2a9cf65fe2bf02bc3e7070ca4b124260d99585.zip
treewide: remove libintl hacks
Diffstat (limited to 'pkgs/tools/text')
-rw-r--r--pkgs/tools/text/recode/default.nix9
1 files changed, 3 insertions, 6 deletions
diff --git a/pkgs/tools/text/recode/default.nix b/pkgs/tools/text/recode/default.nix
index acf657d2292c..9cc09a702102 100644
--- a/pkgs/tools/text/recode/default.nix
+++ b/pkgs/tools/text/recode/default.nix
@@ -1,5 +1,5 @@
-{ stdenv, fetchFromGitHub, python, perl, intltool, flex, autoreconfHook,
-texinfo, libiconv }:
+{ stdenv, fetchFromGitHub, python, perl, intltool, flex, autoreconfHook
+, texinfo, libiconv, libintl }:
 
 stdenv.mkDerivation rec {
   name = "recode-3.7-2fd838565";
@@ -11,16 +11,13 @@ stdenv.mkDerivation rec {
     sha256 = "06vyjqaraamcc5vka66mlvxj27ihccqc74aymv2wn8nphr2rhh03";
   };
 
-  nativeBuildInputs = [ python perl intltool flex texinfo autoreconfHook libiconv ];
+  nativeBuildInputs = [ python perl intltool flex texinfo autoreconfHook libiconv libintl ];
 
   preAutoreconf = ''
     # fix build with new automake, https://bugs.gentoo.org/show_bug.cgi?id=419455
     substituteInPlace Makefile.am --replace "ACLOCAL = ./aclocal.sh @ACLOCAL@" ""
     sed -i '/^AM_C_PROTOTYPES/d' configure.ac
     substituteInPlace src/Makefile.am --replace "ansi2knr" ""
-  ''
-  + stdenv.lib.optionalString stdenv.isDarwin ''
-    export LDFLAGS=-lintl
   '';
 
   #doCheck = true; # doesn't work yet