summaryrefslogtreecommitdiff
path: root/graphics/tiff
diff options
context:
space:
mode:
authormartti <martti@pkgsrc.org>2002-03-05 19:33:16 +0000
committermartti <martti@pkgsrc.org>2002-03-05 19:33:16 +0000
commitb36d79392e420e63116436ee1de5744f11906fbc (patch)
treef599fa9edd31dae00fb3c0908a039bbb69c0060b /graphics/tiff
parent49213ba61666e3b93f030d8c056be8ae3b43529c (diff)
downloadpkgsrc-b36d79392e420e63116436ee1de5744f11906fbc.tar.gz
Fixed compilation when USE_GIF is set.
Diffstat (limited to 'graphics/tiff')
-rw-r--r--graphics/tiff/Makefile13
-rw-r--r--graphics/tiff/distinfo4
2 files changed, 8 insertions, 9 deletions
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