summaryrefslogtreecommitdiff
path: root/graphics/tiff
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>1998-05-13 09:51:39 +0000
committeragc <agc@pkgsrc.org>1998-05-13 09:51:39 +0000
commite24f8d48f73c78f08f621501c493fda66a48b32a (patch)
treec72bbded7f740cdbc809574d836257ba7976deff /graphics/tiff
parent8a07b0fc840ac61c2b74a912ed82868b0f754014 (diff)
downloadpkgsrc-e24f8d48f73c78f08f621501c493fda66a48b32a.tar.gz
Fix for tiff package on pmax, from Chris Jones in PR 4944. Munged about
by me slightly.
Diffstat (limited to 'graphics/tiff')
-rw-r--r--graphics/tiff/patches/patch-ac16
1 files changed, 11 insertions, 5 deletions
diff --git a/graphics/tiff/patches/patch-ac b/graphics/tiff/patches/patch-ac
index 185ac856552..87e727f2c52 100644
--- a/graphics/tiff/patches/patch-ac
+++ b/graphics/tiff/patches/patch-ac
@@ -1,12 +1,18 @@
---- libtiff/Makefile.in.orig Tue Sep 2 19:54:19 1997
-+++ libtiff/Makefile.in Mon Dec 1 00:20:35 1997
-@@ -197,7 +197,8 @@
+--- libtiff/Makefile.in.orig Tue Sep 2 18:54:19 1997
++++ libtiff/Makefile.in Wed May 13 10:26:19 1998
+@@ -197,7 +197,14 @@
@rm -f libtiff_pic.a
@${AR} cq libtiff_pic.a `lorder ${OBJS} | tsort -q`
${RANLIB} libtiff_pic.a
- ${LD} -x -Bshareable -Bforcearchive -o libtiff.@DSOSUF@ libtiff_pic.a
-+ if [ `uname -m` != "alpha" ]; then ${LD} -x -Bshareable -Bforcearchive -o libtiff.@DSOSUF@ libtiff_pic.a ; fi
-+ if [ `uname -m` = "alpha" ]; then ${LD} -x -Bshareable -o libtiff.@DSOSUF@ libtiff_pic.a ; fi
++ case `uname -m` in \
++ alpha) \
++ ${LD} -x -Bshareable -o libtiff.@DSOSUF@ libtiff_pic.a ;; \
++ pmax) \
++ ${LD} -x -shared -o libtiff.@DSOSUF@ -soname libtiff.so.${DIST_MAJOR} --whole-archive libtiff_pic.a --no-whole-archive ;; \
++ *) \
++ ${LD} -x -Bshareable -Bforcearchive -o libtiff.@DSOSUF@ libtiff_pic.a ;; \
++ esac
rm -f libtiff_pic.a
touch $@
# linux ELF shared lib rule