blob: 8995e5c6eeb68e233f85ab602a6320be690a3143 (
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
|
# $NetBSD: Makefile,v 1.4 2002/02/28 06:16:48 jlam Exp $
MODNAME= dba
CATEGORIES+= databases
PKGREVISION= # empty
COMMENT= PHP4 extension for DBM database access
USE_BUILDLINK_ONLY= YES
.include "../../www/php4/Makefile.module"
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_DIR}
CONFIGURE_ARGS+= --without-ndbm
.include "../../databases/gdbm/buildlink.mk"
.endif
.include "../../mk/bsd.pkg.mk"
|