Fix SWI-Prolog build
svn path=/nixpkgs/trunk/; revision=26407
This commit is contained in:
parent
92a26c823c
commit
36af24fc05
@ -1,4 +1,6 @@
|
||||
{ stdenv, fetchurl, gmp, readline, openssl, libjpeg, unixODBC, zlib, libXinerama, libXft, libXpm, libSM, libXt }:
|
||||
{ stdenv, fetchurl, gmp, readline, openssl, libjpeg, unixODBC, zlib,
|
||||
libXinerama, libXft, libXpm, libSM, libXt, freetype, pkgconfig,
|
||||
fontconfig }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "5.10.2";
|
||||
@ -9,10 +11,15 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "1a3ebbcd649f429a41b64561d38423692e00524c29227432d0eb5a0e24e2a4c9";
|
||||
};
|
||||
|
||||
buildInputs = [gmp readline openssl libjpeg unixODBC libXinerama libXft libXpm libSM libXt zlib];
|
||||
buildInputs = [gmp readline openssl libjpeg unixODBC libXinerama
|
||||
libXft libXpm libSM libXt zlib freetype pkgconfig fontconfig];
|
||||
configureFlags = "--with-world --enable-gmp --enable-shared";
|
||||
makeFlags = "world";
|
||||
|
||||
preConfigure = ''
|
||||
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I${freetype}/include/freetype2"
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = http://www.swi-prolog.org/;
|
||||
description = "A Prolog compiler and interpreter";
|
||||
|
Loading…
Reference in New Issue
Block a user