summaryrefslogtreecommitdiff
path: root/textproc/libxslt
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2016-02-26 10:24:10 +0000
committerjperkin <jperkin@pkgsrc.org>2016-02-26 10:24:10 +0000
commitc049a2ca48d1150abe59446f3082ca4116323bc6 (patch)
tree0296198370532d82efd6efd523c7ca1570359f37 /textproc/libxslt
parent0538ec5b33e56381337ee00b1bb6243bc3bc3c7a (diff)
downloadpkgsrc-c049a2ca48d1150abe59446f3082ca4116323bc6.tar.gz
Use OPSYSVARS.
Diffstat (limited to 'textproc/libxslt')
-rw-r--r--textproc/libxslt/Makefile14
1 files changed, 6 insertions, 8 deletions
diff --git a/textproc/libxslt/Makefile b/textproc/libxslt/Makefile
index 077be5e0799..34465a50730 100644
--- a/textproc/libxslt/Makefile
+++ b/textproc/libxslt/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.101 2015/07/08 10:34:46 richard Exp $
+# $NetBSD: Makefile,v 1.102 2016/02/26 10:32:47 jperkin Exp $
DISTNAME= libxslt-1.1.28
PKGREVISION= 5
@@ -11,6 +11,9 @@ HOMEPAGE= http://xmlsoft.org/XSLT/
COMMENT= XSLT parser library from the GNOME project
LICENSE= mit # with advertisement clause
+BUILD_DEPENDS+= docbook-xml-[0-9]*:../../textproc/docbook-xml
+BUILD_DEPENDS+= docbook-xsl-[0-9]*:../../textproc/docbook-xsl
+
USE_LIBTOOL= yes
USE_TOOLS+= gmake perl
GNU_CONFIGURE= yes
@@ -22,6 +25,8 @@ PKGCONFIG_OVERRIDE= libxslt.pc.in
PKGCONFIG_OVERRIDE+= libexslt.pc.in
TEST_TARGET= check
+BUILDLINK_TRANSFORM.SunOS+= opt:-Wl,./libxslt.syms:-Wl,./libxslt_solaris.syms
+
.include "../../mk/bsd.prefs.mk"
.if !empty(MACHINE_PLATFORM:MIRIX-5*)
CPPFLAGS+= -Dsocklen_t=int
@@ -30,13 +35,6 @@ CPPFLAGS+= -Dsocklen_t=int
post-extract:
cp ${WRKSRC}/libxslt/libxslt.syms ${WRKSRC}/libxslt/libxslt_solaris.syms
-.if ${OPSYS} == "SunOS"
-BUILDLINK_TRANSFORM+= opt:-Wl,./libxslt.syms:-Wl,./libxslt_solaris.syms
-.endif
-
-BUILD_DEPENDS+= docbook-xml-[0-9]*:../../textproc/docbook-xml
-BUILD_DEPENDS+= docbook-xsl-[0-9]*:../../textproc/docbook-xsl
-
BUILDLINK_API_DEPENDS.libxml2+= libxml2>=2.6.27
.include "../../security/libgcrypt/buildlink3.mk"