diff options
author | martti <martti> | 2002-03-05 19:33:16 +0000 |
---|---|---|
committer | martti <martti> | 2002-03-05 19:33:16 +0000 |
commit | 7948b3abac48f8fbbb521b09a689292d99aafe10 (patch) | |
tree | f599fa9edd31dae00fb3c0908a039bbb69c0060b /graphics/tiff/Makefile | |
parent | b2b8b90d2f733a246067b4999ed410539796b247 (diff) | |
download | pkgsrc-7948b3abac48f8fbbb521b09a689292d99aafe10.tar.gz |
Fixed compilation when USE_GIF is set.
Diffstat (limited to 'graphics/tiff/Makefile')
-rw-r--r-- | graphics/tiff/Makefile | 13 |
1 files changed, 5 insertions, 8 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 |