diff --git a/srcpkgs/jbigkit/template b/srcpkgs/jbigkit/template index f16826f6673..e1bb0cb7525 100644 --- a/srcpkgs/jbigkit/template +++ b/srcpkgs/jbigkit/template @@ -11,9 +11,8 @@ distfiles="http://www.cl.cam.ac.uk/~mgk25/download/jbigkit-$version.tar.gz" checksum=de7106b6bfaf495d6865c7dd7ac6ca1381bd12e0d81405ea81e7f2167263d932 do_build() { - CFLAGS+=-I${wrksrc}/libjbig make -e + make CC=$CC CFLAGS="${CFLAGS} -I${wrksrc}/libjbig ${LDFLAGS}" ${makejobs} } - do_install() { # Install pbm tools for tool in $(find pbmtools/ -executable -type f); do