diff options
author | Tijl Coosemans <tijl@FreeBSD.org> | 2014-12-08 16:48:38 +0000 |
---|---|---|
committer | Tijl Coosemans <tijl@FreeBSD.org> | 2014-12-08 16:48:38 +0000 |
commit | 60945f027780c21c987e0c642404a8383407edad (patch) | |
tree | fd2d9471767ad6e92fff12ef08f1cb015017f9f8 /audio/libmad | |
parent | e59096e905f88c35da2fdfb21e14d87a51cc6c9b (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)
Notes
Notes:
svn path=/head/; revision=374303
Diffstat (limited to 'audio/libmad')
-rw-r--r-- | audio/libmad/Makefile | 8 | ||||
-rw-r--r-- | audio/libmad/pkg-plist | 4 |
2 files changed, 5 insertions, 7 deletions
diff --git a/audio/libmad/Makefile b/audio/libmad/Makefile index 91c75f7b3bca..74a2f1899853 100644 --- a/audio/libmad/Makefile +++ b/audio/libmad/Makefile @@ -3,7 +3,7 @@ PORTNAME= libmad PORTVERSION= 0.15.1b -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= audio MASTER_SITES= SF/mad/${PORTNAME}/${PORTVERSION} @@ -15,8 +15,9 @@ SPEED_DESC= Optimize for speed over accuracy CONFIGURE_ARGS= --disable-debugging --enable-sso GNU_CONFIGURE= yes +INSTALL_TARGET= install-strip +USES= libtool USE_LDCONFIG= yes -USES= libtool:oldver SUB_LIST= VERSION=${PORTVERSION} SUB_FILES= mad.pc @@ -27,9 +28,6 @@ SPEED_CONFIGURE_OFF= --enable-accuracy post-patch: @${REINPLACE_CMD} -e 's| -fforce-mem||' ${WRKSRC}/configure -post-build: - @${STRIP_CMD} ${WRKSRC}/.libs/libmad.so.2 - post-install: ${INSTALL_DATA} ${WRKDIR}/mad.pc ${STAGEDIR}${PREFIX}/libdata/pkgconfig/ diff --git a/audio/libmad/pkg-plist b/audio/libmad/pkg-plist index 5f2d76d88f83..5df894177e6c 100644 --- a/audio/libmad/pkg-plist +++ b/audio/libmad/pkg-plist @@ -1,6 +1,6 @@ include/mad.h lib/libmad.a -lib/libmad.la lib/libmad.so -lib/libmad.so.2 +lib/libmad.so.0 +lib/libmad.so.0.2.1 libdata/pkgconfig/mad.pc |