0b079766dc
--- 3.0.50 2009/11/02 Add support for extra request / response data for SRU codecs and GFS. The Z_SRW_PDU structure has two new members extraResponseData_{buf,len} for extra data response buffer and length. For the GFS, both request and response data (XML) is carried in extra_args and extra_response_data for the search handler. Patch by Ko van der Sloot. ZOOM: For queries that cannot be converted to the specified rpnCharset, ZOOM now returns a diagnostic on the client-side ('invalid query' / 10010). This fixes bug #2113. yaz-client fix: If cmdfile is passed to yaz-client (option -f) and that cmdfile included a 'quit' command that would result in a memory violation.
40 lines
1.2 KiB
Makefile
40 lines
1.2 KiB
Makefile
# $NetBSD: Makefile,v 1.26 2009/11/15 21:22:25 wiz Exp $
|
|
#
|
|
|
|
DISTNAME= yaz-3.0.50
|
|
CATEGORIES= net
|
|
MASTER_SITES= http://ftp.indexdata.dk/pub/yaz/
|
|
|
|
MAINTAINER= phil@NetBSD.org
|
|
HOMEPAGE= http://indexdata.dk/yaz/
|
|
COMMENT= C/C++ toolkit for the development of Z39.50v3/SRW clients and servers
|
|
LICENSE= modified-bsd
|
|
|
|
# needed during installation
|
|
BUILD_DEPENDS+= tcl-[0-9]*:../../lang/tcl
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
GNU_CONFIGURE= YES
|
|
USE_LIBTOOL= YES
|
|
USE_TOOLS+= pkg-config
|
|
CONFIGURE_ARGS+= --with-iconv=${BUILDLINK_PREFIX.libiconv}
|
|
CONFIGURE_ARGS+= --with-openssl=${BUILDLINK_PREFIX.openssl}
|
|
CONFIGURE_ARGS+= --with-xml2=${BUILDLINK_PREFIX.libxml2}
|
|
|
|
PTHREAD_OPTS+= native optional
|
|
|
|
# don't depend on tcl, but fix the path to tclsh anyway
|
|
CHECK_INTERPRETER_SKIP= util/yaz-asncomp
|
|
SUBST_CLASSES+= tclsh
|
|
SUBST_SED.tclsh+= -e 's,/usr/bin/tclsh,${PREFIX}/bin/tclsh,'
|
|
SUBST_FILES.tclsh+= util/yaz-asncomp
|
|
SUBST_STAGE.tclsh+= post-build
|
|
|
|
.include "../../converters/libiconv/buildlink3.mk"
|
|
.include "../../security/openssl/buildlink3.mk"
|
|
.include "../../textproc/icu/buildlink3.mk"
|
|
.include "../../textproc/libxslt/buildlink3.mk"
|
|
.include "../../textproc/libxml2/buildlink3.mk"
|
|
.include "../../mk/pthread.buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|