summaryrefslogtreecommitdiff
path: root/graphics/tiff
diff options
context:
space:
mode:
authoragc <agc>1998-05-13 09:51:39 +0000
committeragc <agc>1998-05-13 09:51:39 +0000
commit4e70c8d70fdfd7ccb8fc5602012e153d1d326b03 (patch)
treec72bbded7f740cdbc809574d836257ba7976deff /graphics/tiff
parentaeab5bd77ae3f9e2be117884f5a0182544508d49 (diff)
downloadpkgsrc-4e70c8d70fdfd7ccb8fc5602012e153d1d326b03.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