bd78948c08
Changes: unknown.
50 lines
1.6 KiB
Makefile
50 lines
1.6 KiB
Makefile
# $NetBSD: Makefile,v 1.42 2021/07/29 10:19:14 wiz Exp $
|
|
|
|
DISTNAME= talloc-2.3.3
|
|
CATEGORIES= devel
|
|
MASTER_SITES= https://www.samba.org/ftp/talloc/
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://talloc.samba.org/talloc/doc/html/index.html
|
|
COMMENT= Hierarchical pool based memory allocator with destructors
|
|
LICENSE= gnu-gpl-v3 AND gnu-lgpl-v3
|
|
|
|
BUILD_DEPENDS+= libxslt-[0-9]*:../../textproc/libxslt
|
|
BUILD_DEPENDS+= docbook-xsl-[0-9]*:../../textproc/docbook-xsl
|
|
|
|
# include/talloc.h
|
|
CONFLICTS+= samba<=4.6.8nb3
|
|
|
|
PYTHON_VERSIONS_INCOMPATIBLE= 27
|
|
|
|
USE_TOOLS+= pkg-config
|
|
HAS_CONFIGURE= yes
|
|
CONFIG_SHELL= ${PYTHONBIN}
|
|
CONFIGURE_SCRIPT= ${WRKSRC}/buildtools/bin/waf
|
|
CONFIGURE_ARGS+= configure
|
|
CONFIGURE_ARGS+= --mandir=${PREFIX}/${PKGMANDIR}
|
|
CONFIGURE_ARGS+= --abi-check-disable
|
|
CONFIGURE_ARGS+= --disable-symbol-versions
|
|
.if defined(MAKE_JOBS) && !empty(MAKE_JOBS) && !(defined(MAKE_JOBS_SAFE) && !empty(MAKE_JOBS_SAFE:M[nN][oO]))
|
|
CONFIGURE_ARGS+= --jobs=${MAKE_JOBS}
|
|
.else
|
|
CONFIGURE_ARGS+= --jobs=1
|
|
.endif
|
|
PKGCONFIG_OVERRIDE+= talloc.pc.in
|
|
PKGCONFIG_OVERRIDE+= pytalloc-util.pc.in
|
|
TEST_TARGET= test
|
|
|
|
PY_PATCHPLIST= yes
|
|
REPLACE_PYTHON+= buildtools/bin/waf
|
|
MAKE_FLAGS+= WAF_BINARY=${PYTHONBIN}\ ${WRKSRC}/buildtools/bin/waf
|
|
|
|
SUBST_CLASSES+= docbook
|
|
SUBST_MESSAGE.docbook= Fixing docbook URLs.
|
|
SUBST_FILES.docbook+= buildtools/wafsamba/samba_conftests.py
|
|
SUBST_FILES.docbook+= buildtools/wafsamba/wafsamba.py
|
|
SUBST_STAGE.docbook= pre-configure
|
|
SUBST_SED.docbook+= -e 's,http://docbook.sourceforge.net/release/xsl/current,${PREFIX}/share/xsl/docbook,g'
|
|
|
|
.include "../../lang/python/application.mk"
|
|
.include "../../lang/python/extension.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|