aboutsummaryrefslogtreecommitdiff
path: root/graphics/tiff
diff options
context:
space:
mode:
authorTijl Coosemans <tijl@FreeBSD.org>2014-12-08 16:48:38 +0000
committerTijl Coosemans <tijl@FreeBSD.org>2014-12-08 16:48:38 +0000
commit60945f027780c21c987e0c642404a8383407edad (patch)
treefd2d9471767ad6e92fff12ef08f1cb015017f9f8 /graphics/tiff
parente59096e905f88c35da2fdfb21e14d87a51cc6c9b (diff)
downloadports-60945f027780c21c987e0c642404a8383407edad.tar.gz
ports-60945f027780c21c987e0c642404a8383407edad.zip
Replace USES=libtool:oldver with USES=libtool or USES=libtool:keepla in
the 32 ports that still use it. Bump PORTREVISION on their dependent ports except the ones that depend on these: audio/libogg audio/libvorbis devel/pcre ftp/curl graphics/jpeg graphics/libart_lgpl graphics/tiff textproc/expat2 textproc/libxslt In these cases the same trick as in the recent gettext update is used. The ports install a symlink with the old library version. When enough of their dependent ports have had regular updates the remaining ones can get a PORTREVISION bump and the links can be removed. Also remove the devel/pcre dependency from USE_GNOME=glib20. It causes over 2200 packages to depend on devel/pcre while less than 200 actually link with it. The glib20 package still depends on devel/pcre so this should not make a difference for ports with USE_GNOME=glib20. Also, libdata/pkgconfig/glib-2.0.pc lists pcre as a private library so USE_GNOME=glib20 should not propagate it. PR: 195724 Exp-run by: antoine Approved by: portmgr (antoine)
Notes
Notes: svn path=/head/; revision=374303
Diffstat (limited to 'graphics/tiff')
-rw-r--r--graphics/tiff/Makefile9
-rw-r--r--graphics/tiff/pkg-plist7
2 files changed, 7 insertions, 9 deletions
diff --git a/graphics/tiff/Makefile b/graphics/tiff/Makefile
index c368033305c8..cd1f4bbede95 100644
--- a/graphics/tiff/Makefile
+++ b/graphics/tiff/Makefile
@@ -3,7 +3,7 @@
PORTNAME= tiff
PORTVERSION= 4.0.3
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= graphics
MASTER_SITES= ftp://ftp.remotesensing.org/pub/libtiff/ \
http://download.osgeo.org/libtiff/
@@ -17,8 +17,7 @@ LICENSE_FILE= ${WRKSRC}/COPYRIGHT
LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg \
libjbig.so:${PORTSDIR}/graphics/jbigkit
-#TODO: Remove :oldver together with VERSION_INFO patching in pre-configure.
-USES= libtool:oldver
+USES= libtool
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-jpeg-include-dir=${LOCALBASE}/include \
@@ -102,15 +101,13 @@ post-patch:
pre-configure:
${REINPLACE_CMD} \
- -e 's|^LIBTIFF_VERSION_INFO =.*$$|LIBTIFF_VERSION_INFO = 4:0:0|' \
- ${WRKSRC}/libtiff/Makefile.in
- ${REINPLACE_CMD} \
-e 's|tiffgt.1 ||' \
${WRKSRC}/man/Makefile.in
${REINPLACE_CMD} -e 's|^docfiles|no-docfiles|' \
-e 's|man html|man|' ${WRKSRC}/Makefile.in
post-install:
+ ${LN} -s libtiff.so.5 ${STAGEDIR}${PREFIX}/lib/libtiff.so.4
( cd ${STAGEDIR}${PREFIX}/man/man3 && ${__pmlinks3} )
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${STAGEDIR}${DOCSDIR}/images ${STAGEDIR}${DOCSDIR}/man
diff --git a/graphics/tiff/pkg-plist b/graphics/tiff/pkg-plist
index 3b6b88fbbdd7..28af9c1cd724 100644
--- a/graphics/tiff/pkg-plist
+++ b/graphics/tiff/pkg-plist
@@ -27,13 +27,14 @@ include/tiffio.h
include/tiffio.hxx
include/tiffvers.h
lib/libtiff.a
-lib/libtiff.la
lib/libtiff.so
lib/libtiff.so.4
+lib/libtiff.so.5
+lib/libtiff.so.5.2.0
lib/libtiffxx.a
-lib/libtiffxx.la
lib/libtiffxx.so
-lib/libtiffxx.so.4
+lib/libtiffxx.so.5
+lib/libtiffxx.so.5.2.0
libdata/pkgconfig/libtiff-4.pc
man/man1/bmp2tiff.1.gz
man/man1/fax2ps.1.gz