From e24f8d48f73c78f08f621501c493fda66a48b32a Mon Sep 17 00:00:00 2001 From: agc Date: Wed, 13 May 1998 09:51:39 +0000 Subject: Fix for tiff package on pmax, from Chris Jones in PR 4944. Munged about by me slightly. --- graphics/tiff/patches/patch-ac | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) (limited to 'graphics/tiff/patches') 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 -- cgit v1.2.3