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 /textproc/libxslt | |
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)
Notes
Notes:
svn path=/head/; revision=374303
Diffstat (limited to 'textproc/libxslt')
-rw-r--r-- | textproc/libxslt/Makefile | 10 | ||||
-rw-r--r-- | textproc/libxslt/pkg-plist | 6 |
2 files changed, 12 insertions, 4 deletions
diff --git a/textproc/libxslt/Makefile b/textproc/libxslt/Makefile index 3a9a1c3089ff..6445f6393063 100644 --- a/textproc/libxslt/Makefile +++ b/textproc/libxslt/Makefile @@ -3,7 +3,7 @@ PORTNAME= libxslt PORTVERSION= 1.1.28 -PORTREVISION?= 4 +PORTREVISION?= 5 CATEGORIES?= textproc gnome MASTER_SITES= ftp://xmlsoft.org/libxml2/ \ http://xmlsoft.org/sources/ \ @@ -15,7 +15,7 @@ COMMENT?= The XSLT C library for GNOME .if !defined(REFERENCE_PORT) -USES+= gmake libtool:oldver pathfix +USES+= gmake libtool pathfix GNU_CONFIGURE= yes INSTALL_TARGET= install-strip USE_LDCONFIG= yes @@ -48,6 +48,12 @@ post-patch: s|[$$](bindir)/xmllint|../xmllint/xmllint|g' \ ${WRKSRC}/doc/Makefile.in +.if !defined(MASTERDIR) +post-stage: + ${LN} -s libxslt.so.1 ${STAGEDIR}${PREFIX}/lib/libxslt.so.2 + ${LN} -s libexslt.so.0 ${STAGEDIR}${PREFIX}/lib/libexslt.so.8 +.endif + .include <bsd.port.mk> .endif diff --git a/textproc/libxslt/pkg-plist b/textproc/libxslt/pkg-plist index ee1e00c5c3d9..9910d7c3d590 100644 --- a/textproc/libxslt/pkg-plist +++ b/textproc/libxslt/pkg-plist @@ -25,12 +25,14 @@ include/libxslt/xsltexports.h include/libxslt/xsltlocale.h include/libxslt/xsltutils.h lib/libexslt.a -lib/libexslt.la lib/libexslt.so +lib/libexslt.so.0 +lib/libexslt.so.0.8.17 lib/libexslt.so.8 lib/libxslt.a -lib/libxslt.la lib/libxslt.so +lib/libxslt.so.1 +lib/libxslt.so.1.1.28 lib/libxslt.so.2 lib/xsltConf.sh libdata/pkgconfig/libexslt.pc |