summaryrefslogtreecommitdiff
path: root/graphics/jpeg
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/jpeg
parent- Remove unnecessary BUILD_DEPENDS (diff)
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)
Diffstat (limited to 'graphics/jpeg')
-rw-r--r--graphics/jpeg/Makefile6
-rw-r--r--graphics/jpeg/files/patch-configure10
-rw-r--r--graphics/jpeg/pkg-plist3
3 files changed, 5 insertions, 14 deletions
diff --git a/graphics/jpeg/Makefile b/graphics/jpeg/Makefile
index ff23880f294c..6f19044b0d2f 100644
--- a/graphics/jpeg/Makefile
+++ b/graphics/jpeg/Makefile
@@ -3,7 +3,7 @@
PORTNAME= jpeg
PORTVERSION= 8
-PORTREVISION= 5
+PORTREVISION= 6
CATEGORIES= graphics
MASTER_SITES= http://www.ijg.org/files/ \
http://sylvana.net/jpegcrop/:exif
@@ -20,8 +20,7 @@ COMMENT= IJG's jpeg compression utilities
WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION2}
DISTVERSION2= 8d
-# TODO: Remove :oldver together with patch-configure.
-USES= libtool:oldver
+USES= libtool
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
@@ -49,6 +48,7 @@ test: build
regression-test: test
post-install:
+ ${LN} -s libjpeg.so.8 ${STAGEDIR}${PREFIX}/lib/libjpeg.so.11
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/jpeg
@${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${PREFIX}/share/doc/jpeg/
diff --git a/graphics/jpeg/files/patch-configure b/graphics/jpeg/files/patch-configure
deleted file mode 100644
index b2855aa9f506..000000000000
--- a/graphics/jpeg/files/patch-configure
+++ /dev/null
@@ -1,10 +0,0 @@
---- configure.orig 2011-12-22 14:48:42.000000000 +0100
-+++ configure 2012-11-15 20:56:39.000000000 +0100
-@@ -13539,6 +13539,7 @@
-
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JPEG_LIB_VERSION" >&5
- $as_echo "$JPEG_LIB_VERSION" >&6; }
-+JPEG_LIB_VERSION="11"
-
- ac_config_files="$ac_config_files Makefile"
-
diff --git a/graphics/jpeg/pkg-plist b/graphics/jpeg/pkg-plist
index 90322cac1d86..a3107e861c0d 100644
--- a/graphics/jpeg/pkg-plist
+++ b/graphics/jpeg/pkg-plist
@@ -12,9 +12,10 @@ include/jmorecfg.h
include/jpegint.h
include/jpeglib.h
lib/libjpeg.a
-lib/libjpeg.la
lib/libjpeg.so
lib/libjpeg.so.11
+lib/libjpeg.so.8
+lib/libjpeg.so.8.4.0
man/man1/cjpeg.1.gz
man/man1/djpeg.1.gz
man/man1/jpegtran.1.gz