pkgsrc/security/openvas-libraries/Makefile
marino 3c58e1e2a1 security/openvas-libraries: Fix regression due to upgrade to gnutils 3.0
GNUTLS deprecated gnutils_transport_set_lowat function in version 2.12.0
and finally removed it with version 3.0, breaking any packages that
still reference it.

The lowat feature is now disabled permanently I think.
The patch uses the GNUTLS_VERSION_NUMBER macro to appropriately conceal
the function reference.  The same patch is widely seen on the 'net with
other packages that use gnutls like OpenVAS.
2012-07-18 09:52:44 +00:00

36 lines
964 B
Makefile

# $NetBSD: Makefile,v 1.10 2012/07/18 09:52:44 marino Exp $
#
DISTNAME= openvas-libraries-2.0.0
PKGREVISION= 5
CATEGORIES= security
MASTER_SITES= http://wald.intevation.org/frs/download.php/548/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.openvas.org/
COMMENT= Libraries for the Open Vulnerability Assessment System
PKG_DESTDIR_SUPPORT=user-destdir
GNU_CONFIGURE= YES
USE_LIBTOOL= YES
MAKE_JOBS_SAFE= NO
BUILD_DEFS+= VARBASE
USE_LANGUAGES= c++ c
USE_TOOLS+= pkg-config
CONFIGURE_ARGS+= --localstatedir=${VARBASE}
.include "../../mk/bsd.prefs.mk"
# DragonFly-2.8.2 has dn_expand(3) in libc, and not have libresolv.
.if ${OPSYS} == "DragonFly"
BUILDLINK_TRANSFORM+= rm:-lresolv
.endif
.include "../../security/libgcrypt/buildlink3.mk"
.include "../../security/gnutls/buildlink3.mk"
.include "../../security/gpgme/buildlink3.mk"
.include "../../net/libpcap/buildlink3.mk"
.include "../../devel/glib2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"