summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2001-07-08 20:20:23 +0000
committertron <tron@pkgsrc.org>2001-07-08 20:20:23 +0000
commit86adffde4b93aeb4479fb74623a5d425facb0f7b (patch)
treee9e46fd15718d7ee9c78fab3e1e1a75b82d498b1 /graphics
parentde43ad4426ae6b5d1fe9761a4fc9833e2f102e89 (diff)
downloadpkgsrc-86adffde4b93aeb4479fb74623a5d425facb0f7b.tar.gz
Replace OpenWindows's "libtiff.so", too, because applications might get
linked against it otherwise.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/tiff/pkg/INSTALL.OpenWindows17
1 files changed, 13 insertions, 4 deletions
diff --git a/graphics/tiff/pkg/INSTALL.OpenWindows b/graphics/tiff/pkg/INSTALL.OpenWindows
index 87f04954931..474494c0b5c 100644
--- a/graphics/tiff/pkg/INSTALL.OpenWindows
+++ b/graphics/tiff/pkg/INSTALL.OpenWindows
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $NetBSD: INSTALL.OpenWindows,v 1.1 2001/07/08 13:01:44 tron Exp $
+# $NetBSD: INSTALL.OpenWindows,v 1.2 2001/07/08 20:20:23 tron Exp $
PKGNAME=$1
STAGE=$2
@@ -8,9 +8,14 @@ STAGE=$2
case ${STAGE} in
PRE-INSTALL)
cd @X11BASE@/lib
+. if [ -f libtiff.so ]
+ then
+ @MV@ libtiff.so libtiff.so.openwin
+ @LN@ -s @PREFIX@/lib/libtiff.so
+ fi
if [ -f libtiff.so.3 ]
then
- @MV@ libtiff.so.3 libtiff.so.3.ow
+ @MV@ libtiff.so.3 libtiff.so.3.openwin
@LN@ -s @PREFIX@/lib/libtiff.so.3
fi
;;
@@ -23,9 +28,13 @@ DEINSTALL)
POST-DEINSTALL)
cd @X11BASE@/lib
- if [ -f libtiff.so.3.ow ]
+ if [ -f libtiff.so.3.openwin ]
+ then
+ @MV@ libtiff.so.3.openwin libtiff.so.3
+ fi
+ if [ -f libtiff.so.openwin ]
then
- @MV@ libtiff.so.3.ow libtiff.so.3
+ @MV@ libtiff.so.openwin libtiff.so
fi
;;