summaryrefslogtreecommitdiff
path: root/graphics/tiff
diff options
context:
space:
mode:
authortron <tron>2001-07-08 20:20:23 +0000
committertron <tron>2001-07-08 20:20:23 +0000
commit767102a21a9eb1f0bb9c49f950ce1b1e6f8547ae (patch)
treee9e46fd15718d7ee9c78fab3e1e1a75b82d498b1 /graphics/tiff
parent5b188b7db84d769529bcd4365d36919a87b2e173 (diff)
downloadpkgsrc-767102a21a9eb1f0bb9c49f950ce1b1e6f8547ae.tar.gz
Replace OpenWindows's "libtiff.so", too, because applications might get
linked against it otherwise.
Diffstat (limited to 'graphics/tiff')
-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
;;