mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-22 14:45:27 +00:00
FreeType: Add dependency on GNU Make on FreeBSD.
svn path=/nixpkgs/trunk/; revision=27397
This commit is contained in:
parent
0ed22f9e3c
commit
74a7f5122e
|
@ -1,11 +1,11 @@
|
|||
{ stdenv, fetchurl
|
||||
{ stdenv, fetchurl, gnumake
|
||||
, # FreeType supports sub-pixel rendering. This is patented by
|
||||
# Microsoft, so it is disabled by default. This option allows it to
|
||||
# be enabled. See http://www.freetype.org/patents.html.
|
||||
useEncumberedCode ? false
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
stdenv.mkDerivation (rec {
|
||||
name = "freetype-2.4.4";
|
||||
|
||||
src = fetchurl {
|
||||
|
@ -26,4 +26,11 @@ stdenv.mkDerivation rec {
|
|||
homepage = http://www.freetype.org/;
|
||||
license = "GPLv2+"; # or the FreeType License (BSD + advertising clause)
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
//
|
||||
|
||||
# FreeType requires GNU Make, which is not part of stdenv on FreeBSD.
|
||||
(if stdenv.system == "i686-freebsd"
|
||||
then { buildInputs = [ gnumake ]; }
|
||||
else {}))
|
||||
|
|
Loading…
Reference in a new issue