aboutsummaryrefslogtreecommitdiff
path: root/graphics/tiff
diff options
context:
space:
mode:
authorJustin M. Seger <jseger@FreeBSD.org>1998-11-25 05:06:28 +0000
committerJustin M. Seger <jseger@FreeBSD.org>1998-11-25 05:06:28 +0000
commitd57d33c65548773bf1859e72b5505ce398a739ca (patch)
treea656e451c71e7e7c0b7004a09a731c2b990891a0 /graphics/tiff
parentd9b79d68f5e5a44544bb56a3d789382674806261 (diff)
downloadports-d57d33c65548773bf1859e72b5505ce398a739ca.tar.gz
ports-d57d33c65548773bf1859e72b5505ce398a739ca.zip
Notes
Diffstat (limited to 'graphics/tiff')
-rw-r--r--graphics/tiff/Makefile4
-rw-r--r--graphics/tiff/files/patch-aa121
-rw-r--r--graphics/tiff/files/patch-ac4
-rw-r--r--graphics/tiff/pkg-plist11
4 files changed, 17 insertions, 123 deletions
diff --git a/graphics/tiff/Makefile b/graphics/tiff/Makefile
index 47dcff37309a..6a0e40d83d5d 100644
--- a/graphics/tiff/Makefile
+++ b/graphics/tiff/Makefile
@@ -5,7 +5,7 @@
# Mikhail Teterin <mi@aldan.ziplink.net>
# Jun-ichiro itojun Itoh <itojun@itojun.org>
#
-# $Id: Makefile,v 1.9 1998/09/15 11:45:58 asami Exp $
+# $Id: Makefile,v 1.10 1998/09/18 22:04:16 smace Exp $
#
DISTNAME= tiff-v3.4
@@ -21,7 +21,7 @@ LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --with-ZIP --with-JPEG --with-DIR_BIN=${PREFIX}/bin \
--with-DIR_LIB=${PREFIX}/lib \
- --with-DIR_INC=${PREFIX}/include/tiff34 \
+ --with-DIR_INC=${PREFIX}/include \
--with-CC="${CC}" --with-GCOPTS="${CFLAGS}" \
--with-DIRS_LIBINC=${PREFIX}/include \
--with-DIR_GZLIB=/usr/lib \
diff --git a/graphics/tiff/files/patch-aa b/graphics/tiff/files/patch-aa
index c395d2f467a3..aa3fffb91973 100644
--- a/graphics/tiff/files/patch-aa
+++ b/graphics/tiff/files/patch-aa
@@ -1,5 +1,5 @@
---- libtiff/Makefile.in.orig Mon Apr 29 17:16:21 1996
-+++ libtiff/Makefile.in Fri Sep 18 16:46:03 1998
+--- libtiff/Makefile.in.orig Mon Apr 29 18:16:21 1996
++++ libtiff/Makefile.in Mon Nov 23 22:11:22 1998
@@ -62,7 +62,7 @@
#
CONF_LIBRARY=@CONF_JPEG@ @CONF_ZIP@
@@ -9,126 +9,21 @@
CFLAGS = @ENVOPTS@ @LIBCOPTS@ ${COPTS} ${OPTIMIZER} ${IPATH} ${CONF_LIBRARY}
#
SRCS = \
-@@ -133,7 +133,7 @@
- tif_write.o \
- tif_zip.o \
- ${NULL}
--TARGETS = libtiff.a
-+TARGETS = libtiff34.a
-
- all: ${TARGETS}
- if [ @DSO@dso != nodso ]; then \
-@@ -142,9 +142,9 @@
- true; \
- fi
-
--libtiff.a: ${OBJS}
-- ${AR} ${AROPTS} libtiff.a $?
-- ${RANLIB} libtiff.a
-+libtiff34.a: ${OBJS}
-+ ${AR} ${AROPTS} libtiff34.a $?
-+ ${RANLIB} libtiff34.a
-
- #
- # NB: The configure script verifies that the configured
-@@ -159,47 +159,56 @@
-
- # default IRIX DSO building rule
- IRIXdso: ${OBJS}
-- ${CC} -o libtiff.@DSOSUF@ -shared -rdata_shared \
-+ ${CC} -o libtiff34.@DSOSUF@ -shared -rdata_shared \
- -check_registry ${SRCDIR}/../port/irix/so_locations \
- -quickstart_info \
- ${OBJS} @LIBJPEG@ @LIBGZ@
- touch $@
- # special rule for IRIX 5.2
- IRIX52dso: ${OBJS}
-- ${LD} -elf -o libtiff.@DSOSUF@ -shared -no_unresolved -all ${OBJS} \
-+ ${LD} -elf -o libtiff34.@DSOSUF@ -shared -no_unresolved -all ${OBJS} \
- @LIBJPEG@ @LIBGZ@ -lc -lm
- touch $@
- # Solaris 2.4
- SOLARISdso: ${OBJS}
-- ${LD} -L@DIR_LIB@ -G -o libtiff.@DSOSUF@ ${OBJS}
-+ ${LD} -L@DIR_LIB@ -G -o libtiff34.@DSOSUF@ ${OBJS}
- touch $@
- # HP-UX A.09.03
- HPUXdso: ${OBJS}
-- ${LD} +b@DIR_LIB@ -b -o libtiff.@DSOSUF@ ${OBJS}
-+ ${LD} +b@DIR_LIB@ -b -o libtiff34.@DSOSUF@ ${OBJS}
- touch $@
- # AIX 2.3.5 and 4.1.1
- AIXdso: ${OBJS}
-- rm -f libtiff.syms shr.o
-- echo "#!" > libtiff.syms
-- /bin/dump -g libtiff.a | sed -n -e \
-+ rm -f libtiff34.syms shr.o
-+ echo "#!" > libtiff34.syms
-+ /bin/dump -g libtiff34.a | sed -n -e \
- 's/^[ ]*[0-9][0-9]*[ ]*\([^ .][^ ]*\)$$/\1/p' \
-- >> libtiff.syms
-- ${LD} -o shr.o libtiff.a -H512 -T512 -bM\:SRE \
-- -bE\:libtiff.syms @LIBJPEG@ @LIBGZ@ -lc -lm -L@DIR_LIB@
-- rm -f libtiff.syms libtiff.@DSOSUF@
-- ${AR} ${AROPTS} libtiff.@DSOSUF@ shr.o
-+ >> libtiff34.syms
-+ ${LD} -o shr.o libtiff34.a -H512 -T512 -bM\:SRE \
-+ -bE\:libtiff34.syms @LIBJPEG@ @LIBGZ@ -lc -lm -L@DIR_LIB@
-+ rm -f libtiff34.syms libtiff34.@DSOSUF@
-+ ${AR} ${AROPTS} libtiff34.@DSOSUF@ shr.o
- rm -f shr.o
- touch $@
- # linux ELF shared lib rule
- LINUXdso: ${OBJS}
-- ${CC} -shared -Wl,-soname,libtiff.@DSOSUF@ \
-- -o libtiff.@DSOSUF_VERSION@ ${OBJS} @LIBJPEG@ @LIBGZ@
-- @LN@ @LN_S@ libtiff.@DSOSUF_VERSION@ libtiff.@DSOSUF@
-+ ${CC} -shared -Wl,-soname,libtiff34.@DSOSUF@ \
-+ -o libtiff34.@DSOSUF_VERSION@ ${OBJS} @LIBJPEG@ @LIBGZ@
-+ @LN@ @LN_S@ libtiff34.@DSOSUF_VERSION@ libtiff34.@DSOSUF@
- touch $@
+@@ -199,7 +199,16 @@
# OSF/1 3.2 shared lib rule
OSFdso: ${OBJS}
-- ${LD} -o libtiff.@DSOSUF@ -shared -error_unresolved ${OBJS} @LIBJPEG@ @LIBGZ@ -lc -lm
+ ${LD} -o libtiff.@DSOSUF@ -shared -error_unresolved ${OBJS} @LIBJPEG@ @LIBGZ@ -lc -lm
-
-+ ${LD} -o libtiff34.@DSOSUF@ -shared -error_unresolved ${OBJS} @LIBJPEG@ @LIBGZ@ -lc -lm
+FREEBSD_AOUTdso: ${OBJS}
-+ ${LD} -Bshareable -x ${LIBDIR}/c++rt0.o -o libtiff34.@DSOSUF_VERSION@ \
++ ${LD} -Bshareable -x ${LIBDIR}/c++rt0.o -o libtiff.@DSOSUF_VERSION@ \
+ ${OBJS} @LIBJPEG@ @LIBGZ@
-+ @LN@ @LN_S@ libtiff34.@DSOSUF_VERSION@ libtiff34.@DSOSUF@
++ @LN@ @LN_S@ libtiff.@DSOSUF_VERSION@ libtiff.@DSOSUF@
+ touch $@
+FREEBSD_ELFdso: ${OBJS}
-+ ${CC} -shared -Wl,-soname,libtiff34.@DSOSUF_VERSION@ -o libtiff34.@DSOSUF_VERSION@ \
++ ${CC} -shared -Wl,-soname,libtiff.@DSOSUF_VERSION@ -o libtiff.@DSOSUF_VERSION@ \
+ ${OBJS} @LIBJPEG@ @LIBGZ@
-+ @LN@ @LN_S@ libtiff34.@DSOSUF_VERSION@ libtiff34.@DSOSUF@
++ @LN@ @LN_S@ libtiff.@DSOSUF_VERSION@ libtiff.@DSOSUF@
+ touch $@
${OBJS}: ${SRCDIR}/tiffio.h ${SRCDIR}/tiff.h ${SRCDIR}/tif_dir.h
${OBJS}: ${SRCDIR}/tiffcomp.h ${SRCDIR}/tiffiop.h ${SRCDIR}/tiffconf.h
-@@ -307,16 +316,16 @@
- installDSO: @DSO@dso
- if [ @DSOSUF_VERSION@ != @DSOSUF@ ]; then \
- ${INSTALL} -idb tiff.sw.tools -m 555 -F @DIR_LIB@ \
-- -O libtiff.@DSOSUF_VERSION@; \
-+ -O libtiff34.@DSOSUF_VERSION@; \
- ${INSTALL} -idb tiff.sw.tools -F @DIR_LIB@ \
-- -ln libtiff.@DSOSUF_VERSION@ -O libtiff.@DSOSUF@; \
-+ -lns libtiff34.@DSOSUF_VERSION@ -O libtiff34.@DSOSUF@; \
- else \
- ${INSTALL} -idb tiff.sw.tools -m 444 -F @DIR_LIB@ \
-- -O libtiff.@DSOSUF@; \
-+ -O libtiff34.@DSOSUF@; \
- fi
- install: all installHdrs
- ${INSTALL} -idb tiff.sw.dev -m 755 -dir @DIR_LIB@
-- ${INSTALL} -idb tiff.sw.dev -m 444 -F @DIR_LIB@ -O libtiff.a
-+ ${INSTALL} -idb tiff.sw.dev -m 444 -F @DIR_LIB@ -O libtiff34.a
- if [ @DSO@dso != nodso ]; then \
- ${MAKE} installDSO; \
- else \
-@@ -327,4 +336,4 @@
- rm -f ${TARGETS} ${OBJS} core a.out \
- mkg3states tif_fax3sm.c \
- mkversion version.h \
-- libtiff.a libtiff.@DSOSUF@ libtiff.@DSOSUF_VERSION@ *dso
-+ libtiff34.a libtiff34.@DSOSUF@ libtiff34.@DSOSUF_VERSION@ *dso
diff --git a/graphics/tiff/files/patch-ac b/graphics/tiff/files/patch-ac
index 6b2d32e5b5d9..0c9fb4a77e3f 100644
--- a/graphics/tiff/files/patch-ac
+++ b/graphics/tiff/files/patch-ac
@@ -11,11 +11,11 @@
+CFLAGS = @ENVOPTS@ ${COPTS} ${OPTIMIZER} ${IPATH} -L../libtiff
#
-LIBTIFF = ${DEPTH}/libtiff/libtiff.@DSOSUF@
-+LIBTIFF = ${DEPTH}/libtiff/libtiff34.@DSOSUF_VERSION@
++LIBTIFF = ${DEPTH}/libtiff/libtiff.@DSOSUF_VERSION@
LIBJPEG = @LIBJPEG@
LIBGZ = @LIBGZ@
-LIBS = ${LIBTIFF} ${LIBJPEG} ${LIBGZ} @LIBPORT@ @MACHDEPLIBS@
-+LIBS = ${LIBJPEG} ${LIBGZ} @LIBPORT@ @MACHDEPLIBS@ -ltiff34
++LIBS = ${LIBJPEG} ${LIBGZ} @LIBPORT@ @MACHDEPLIBS@ -ltiff
#
OBJS= \
fax2tiff.o \
diff --git a/graphics/tiff/pkg-plist b/graphics/tiff/pkg-plist
index 34c586b9f57f..3b46e7950703 100644
--- a/graphics/tiff/pkg-plist
+++ b/graphics/tiff/pkg-plist
@@ -1,6 +1,6 @@
-lib/libtiff34.a
-lib/libtiff34.so.1
-lib/libtiff34.so
+lib/libtiff.a
+lib/libtiff.so.1
+lib/libtiff.so
@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %D/lib
@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
bin/fax2tiff
@@ -20,8 +20,8 @@ bin/tiffdump
bin/tiffinfo
bin/tiffmedian
bin/tiffsplit
-include/tiff34/tiff.h
-include/tiff34/tiffio.h
+include/tiff.h
+include/tiffio.h
share/doc/tiff/bugs.html
share/doc/tiff/build.html
share/doc/tiff/contrib.html
@@ -61,4 +61,3 @@ share/doc/tiff/images/strike.gif
share/doc/tiff/images/warning.gif
@dirrm share/doc/tiff/images
@dirrm share/doc/tiff
-@dirrm include/tiff34