293016d308
Portability: * Fix python build by using libxsltmod_la_CPPFLAGS instead of AM_CPPFLAGS, * configure should be more careful with linker script, * add gcrypt library in LIBADD, not LDFLAGS, as recommended Bug fixes: * Fix generate-id() to avoid generating the same ID, * Fix crash with empty xsl:key/@match attribute, * Crash when passing an uninitialized variable to document(), * Add missing test docs to EXTRA_DIST, * Fix regression: Default namespace not correctly used Cleanups: * Remove xsltTransStorageAdd and xsltTransStorageRemove from symbols.xml, * autogen.sh cleanup, * consistent use of xslt processor, * Add object files in tests/plugins to .gitignore, * Fix error on bug-165 regression test, * Remove xsltTransStorageAdd and xsltTransStorageRemove
42 lines
1.1 KiB
Makefile
42 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.93 2012/11/27 12:17:50 adam Exp $
|
|
|
|
DISTNAME= libxslt-1.1.28
|
|
CATEGORIES= textproc
|
|
MASTER_SITES= ftp://xmlsoft.org/libxslt/ \
|
|
http://xmlsoft.org/sources/
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://xmlsoft.org/XSLT/
|
|
COMMENT= XSLT parser library from the GNOME project
|
|
LICENSE= mit # with advertisement clause
|
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
|
|
|
USE_LIBTOOL= yes
|
|
USE_TOOLS+= gmake perl
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS+= --with-libxml-prefix=${BUILDLINK_PREFIX.libxml2}
|
|
CONFIGURE_ARGS+= --without-python
|
|
CONFIGURE_ARGS+= --with-html-subdir=libxslt
|
|
|
|
PKGCONFIG_OVERRIDE= libxslt.pc.in
|
|
PKGCONFIG_OVERRIDE+= libexslt.pc.in
|
|
TEST_TARGET= check
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
.if !empty(MACHINE_PLATFORM:MIRIX-5*)
|
|
CPPFLAGS+= -Dsocklen_t=int
|
|
.endif
|
|
|
|
post-extract:
|
|
cp ${WRKSRC}/libxslt/libxslt.syms ${WRKSRC}/libxslt/libxslt_solaris.syms
|
|
|
|
.if ${OPSYS} == "SunOS"
|
|
BUILDLINK_TRANSFORM+= rename:-Wl,./libxslt.syms:-Wl,./libxslt_solaris.syms
|
|
.endif
|
|
|
|
BUILDLINK_API_DEPENDS.libxml2+= libxml2>=2.6.27
|
|
|
|
.include "../../security/libgcrypt/buildlink3.mk"
|
|
.include "../../textproc/libxml2/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|