blob: 1b1e13458e74f7d4b768b527259f059a438e8ae3 (
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
|
# $NetBSD: Makefile,v 1.6 2006/02/05 23:08:33 joerg Exp $
MODNAME= dba
PKGREVISION= 1
CATEGORIES+= databases
COMMENT= PHP extension for DBM database access
CONFIGURE_ARGS+= --enable-${MODNAME}=shared
CONFIGURE_ARGS+= --without-cdb
CONFIGURE_ARGS+= --without-db2
CONFIGURE_ARGS+= --without-db3
CONFIGURE_ARGS+= --without-dbm
.if exists(/usr/include/ndbm.h)
CONFIGURE_ARGS+= --without-gdbm
CONFIGURE_ARGS+= --with-ndbm=/usr
.else
CONFIGURE_ARGS+= --with-gdbm=shared,${BUILDLINK_PREFIX.gdbm}
CONFIGURE_ARGS+= --without-ndbm
.include "../../databases/gdbm/buildlink3.mk"
.endif
.include "../../lang/php/ext.mk"
.include "../../mk/bsd.pkg.mk"
|