blob: c4e2f5906d87070622915d1d67a8ec20c061341c (
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
|
# $NetBSD: Makefile,v 1.14 2012/01/24 09:10:59 sbd Exp $
MODNAME= dba
PKGREVISION= 2
CATEGORIES+= databases
COMMENT= PHP extension for DBM database access
PKG_DESTDIR_SUPPORT= user-destdir
CONFLICTS= php-dba-[0-9]*
CONFIGURE_ARGS+= --enable-${MODNAME}=shared
CONFIGURE_ARGS+= --with-cdb
CONFIGURE_ARGS+= --without-dbm
CONFIGURE_ARGS+= --with-inifile
.if exists(/usr/include/ndbm.h)
CONFIGURE_ARGS+= --with-ndbm=/usr
.else
CONFIGURE_ARGS+= --without-ndbm
.endif
.include "options.mk"
.include "../../lang/php/ext.mk"
.include "../../mk/bsd.pkg.mk"
|