summaryrefslogtreecommitdiff
path: root/textproc/libxslt/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/libxslt/Makefile')
-rw-r--r--textproc/libxslt/Makefile10
1 files changed, 8 insertions, 2 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