anchor.diff:  
     doCheck = true;
   
  -  postInstall = glib.flattenInclude;
  +  postInstall = glib.flattenInclude + ''
  +    wrapProgram "$dev/bin/freetype-config" \
  +      --set PKG_CONFIG_PATH "$PKG_CONFIG_PATH:$dev/lib/pkgconfig"
  +  '';
   
     crossAttrs = stdenv.lib.optionalAttrs (hostPlatform.libc or null != "msvcrt") {
       # Somehow it calls the unwrapped gcc, "i686-pc-linux-gnu-gcc", instead
  
positive.code: { stdenv, lib, fetchurl, copyPathsToStore
  , hostPlatform
  , pkgconfig, which
  , zlib, bzip2, libpng, gnumake, glib
  
  , # FreeType supports LCD filtering (colloquially referred to as sub-pixel rendering).
  
negative.code: 
    propagatedBuildInputs = [ zlib bzip2 libpng ]; # needed when linking against freetype
    # dependence on harfbuzz is looser than the reverse dependence
    nativeBuildInputs = [ pkgconfig which makeWrapper ]
      # FreeType requires GNU Make, which is not part of stdenv on FreeBSD.
      ++ optional (!stdenv.isLinux) gnumake;
  
  