netpbm: fix build

This commit is contained in:
Vladimír Čunát 2013-12-25 10:30:44 +01:00
parent 2abbce201a
commit c744a7e106

View File

@ -18,9 +18,7 @@ stdenv.mkDerivation {
cp config.mk.in config.mk cp config.mk.in config.mk
substituteInPlace "config.mk" \ substituteInPlace "config.mk" \
--replace "TIFFLIB = NONE" "TIFFLIB = ${libtiff}/lib/libtiff.so" \ --replace "TIFFLIB = NONE" "TIFFLIB = ${libtiff}/lib/libtiff.so" \
--replace "TIFFHDR_DIR =" "TIFFHDR_DIR = ${libtiff}/include" \ --replace "TIFFHDR_DIR =" "TIFFHDR_DIR = ${libtiff}/include"
--replace "TIFFLIB_NEEDS_JPEG = Y" "TIFFLIB_NEEDS_JPEG = N" \
--replace "TIFFLIB_NEEDS_Z = Y" "TIFFLIB_NEEDS_Z = N"
''; '';
preBuild = '' preBuild = ''