blob: 17255d468e76e4230c6cdd0c08743260ce19a0ae (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
# $NetBSD: Makefile,v 1.48 2022/06/30 11:18:09 nia Exp $
DISTNAME= tdb-1.4.7
PKGREVISION= 1
CATEGORIES= databases
MASTER_SITES= http://www.samba.org/ftp/tdb/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://tdb.samba.org/
COMMENT= Small database system which uses files to store data
LICENSE= gnu-gpl-v3
BUILD_DEPENDS+= libxslt-[0-9]*:../../textproc/libxslt
BUILD_DEPENDS+= docbook-xsl-[0-9]*:../../textproc/docbook-xsl
# both install tdbtool and tdbdump
CONFLICTS+= samba<3.6.6nb3
PYTHON_VERSIONS_INCOMPATIBLE= 27
USE_TOOLS+= gmake
HAS_CONFIGURE= yes
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= tdb.pc.in
TEST_TARGET= test
USE_GCC_RUNTIME= yes
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"
|