summaryrefslogtreecommitdiff
path: root/graphics/tiff
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2002-01-05 22:30:12 +0000
committertron <tron@pkgsrc.org>2002-01-05 22:30:12 +0000
commit14e9242870968019d1ac46a1175b064dfe537de5 (patch)
treed17f6b579738c901664d06097eb0ed3d6ea51f4e /graphics/tiff
parent0b0cfdcd6a44ff85ab0d2f9353146a37f610f6c9 (diff)
downloadpkgsrc-14e9242870968019d1ac46a1175b064dfe537de5.tar.gz
Add work arround for problem with Solaris's "sed" so that the "post-patch"
target works there.
Diffstat (limited to 'graphics/tiff')
-rw-r--r--graphics/tiff/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/graphics/tiff/Makefile b/graphics/tiff/Makefile
index 3126c74e969..9700db84197 100644
--- a/graphics/tiff/Makefile
+++ b/graphics/tiff/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.35 2001/07/08 13:01:44 tron Exp $
+# $NetBSD: Makefile,v 1.36 2002/01/05 22:30:12 tron Exp $
DISTNAME= tiff-v3.5.5
PKGNAME= tiff-3.5.5
@@ -30,6 +30,7 @@ LZWWRKDIR= ${WRKDIR}/libtiff-lzw-compression-kit
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