2012-10-02 23:25:15 +02:00
|
|
|
# $NetBSD: Makefile,v 1.16 2012/10/02 21:25:38 asau Exp $
|
2004-10-31 20:30:29 +01:00
|
|
|
|
|
|
|
MODNAME= dba
|
|
|
|
CATEGORIES+= databases
|
|
|
|
COMMENT= PHP extension for DBM database access
|
|
|
|
|
2006-06-04 18:26:52 +02:00
|
|
|
CONFLICTS= php-dba-[0-9]*
|
2004-10-31 20:30:29 +01:00
|
|
|
|
|
|
|
CONFIGURE_ARGS+= --enable-${MODNAME}=shared
|
|
|
|
|
2007-11-23 13:34:29 +01:00
|
|
|
CONFIGURE_ARGS+= --with-cdb
|
2004-10-31 20:30:29 +01:00
|
|
|
CONFIGURE_ARGS+= --without-dbm
|
2007-11-23 13:34:29 +01:00
|
|
|
CONFIGURE_ARGS+= --with-inifile
|
2004-10-31 20:30:29 +01:00
|
|
|
|
|
|
|
.if exists(/usr/include/ndbm.h)
|
|
|
|
CONFIGURE_ARGS+= --with-ndbm=/usr
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --without-ndbm
|
|
|
|
.endif
|
|
|
|
|
2007-11-23 13:34:29 +01:00
|
|
|
.include "options.mk"
|
|
|
|
|
2004-11-05 18:11:39 +01:00
|
|
|
.include "../../lang/php/ext.mk"
|
2004-10-31 20:30:29 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|