From b36d79392e420e63116436ee1de5744f11906fbc Mon Sep 17 00:00:00 2001 From: martti Date: Tue, 5 Mar 2002 19:33:16 +0000 Subject: Fixed compilation when USE_GIF is set. --- graphics/tiff/Makefile | 13 +++++-------- graphics/tiff/distinfo | 4 +++- 2 files changed, 8 insertions(+), 9 deletions(-) (limited to 'graphics/tiff') diff --git a/graphics/tiff/Makefile b/graphics/tiff/Makefile index b68e86b204a..5da149df4b8 100644 --- a/graphics/tiff/Makefile +++ b/graphics/tiff/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.37 2002/03/05 10:33:35 martti Exp $ +# $NetBSD: Makefile,v 1.38 2002/03/05 19:33:16 martti Exp $ DISTNAME= tiff-v3.5.7 PKGNAME= tiff-3.5.7 @@ -25,15 +25,12 @@ CONFIGURE_ENV+= CC="${CC}" USE_BUILDLINK_ONLY= # defined .if defined(USE_GIF) -DISTFILES+= libtiff-lzw-compression-kit-1.1.tar.gz -LZWWRKDIR= ${WRKDIR}/libtiff-lzw-compression-kit +LZW_VERSION= 1.3 +DISTFILES+= libtiff-lzw-compression-kit-${LZW_VERSION}.tar.gz +LZWWRKDIR= ${WRKDIR}/libtiff-lzw-compression-kit-${LZW_VERSION} post-patch: - ${MV} ${LZWWRKDIR}/Makefile ${LZWWRKDIR}/Makefile.orig - ${ECHO} >>${LZWWRKDIR}/Makefile.orig - ${SED} "s@TIFF_SRC_DIR = /tmp/libtiff@TIFF_SRC_DIR = ../${DISTNAME}@" \ - ${LZWWRKDIR}/Makefile.orig > ${LZWWRKDIR}/Makefile - cd ${LZWWRKDIR} && make install + ${CP} ${LZWWRKDIR}/tif_lzw.c ${WRKSRC}/libtiff .endif CPPFLAGS+= -Dunix diff --git a/graphics/tiff/distinfo b/graphics/tiff/distinfo index 132e8f412a2..d2431d271bb 100644 --- a/graphics/tiff/distinfo +++ b/graphics/tiff/distinfo @@ -1,7 +1,9 @@ -$NetBSD: distinfo,v 1.7 2002/03/05 10:33:35 martti Exp $ +$NetBSD: distinfo,v 1.8 2002/03/05 19:33:16 martti Exp $ SHA1 (tiff-v3.5.7.tar.gz) = a4c3e27b6625ee9daec7c7c35ec3dedf59c14ca7 Size (tiff-v3.5.7.tar.gz) = 951139 bytes +SHA1 (libtiff-lzw-compression-kit-1.3.tar.gz) = 88809c8950e168a4d374b9f39d01a07282070717 +Size (libtiff-lzw-compression-kit-1.3.tar.gz) = 8847 bytes SHA1 (patch-aa) = 620c81f83da6af5ea89398a78fef4c86befc0325 SHA1 (patch-ab) = 60a01fd74f271e512a7262964f5c7540164ac301 SHA1 (patch-ac) = 754a02bb0561f8944fa1c870ab8dd6c1d6bf0c49 -- cgit v1.2.3