Revert "glib: fix compilation on SmartOS/Illumos (close #12477)"

This reverts commit 3f9ff30f6d.
Let's go without changing hash instead: e67717bc8d
This commit is contained in:
Vladimír Čunát 2016-01-19 17:39:35 +01:00
parent 3f9ff30f6d
commit a7ca9c2105

View File

@ -68,17 +68,12 @@ stdenv.mkDerivation rec {
configureFlags =
optional stdenv.isDarwin "--disable-compile-warnings"
++ optional (stdenv.isFreeBSD || stdenv.isSunOS) "--with-libiconv=gnu"
++ optional stdenv.isSunOS "--disable-dtrace";
++ optional stdenv.isFreeBSD "--with-libiconv=gnu"
++ optional stdenv.isSunOS ["--disable-modular-tests" "--with-libiconv"];
NIX_CFLAGS_COMPILE = optionalString stdenv.isDarwin " -lintl"
+ optionalString stdenv.isSunOS " -DBSD_COMP";
preConfigure = optionalString stdenv.isSunOS
''
sed -i -e 's|inotify.h|foobar-inotify.h|g' configure
'';
preBuild = optionalString stdenv.isDarwin
''
export MACOSX_DEPLOYMENT_TARGET=