23 lines
480 B
Makefile
23 lines
480 B
Makefile
# $NetBSD: Makefile,v 1.19 2020/05/31 16:44:18 rillig Exp $
|
|
|
|
MODNAME= dba
|
|
CATEGORIES+= databases
|
|
COMMENT= PHP extension for DBM database access
|
|
|
|
CONFLICTS= php-dba-[0-9]*
|
|
|
|
CONFIGURE_ARGS+= --enable-${MODNAME}=shared
|
|
|
|
CONFIGURE_ARGS+= --with-cdb
|
|
CONFIGURE_ARGS+= --without-dbm
|
|
|
|
.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"
|