4fdb70ce2b
to include "../../lang/php/ext.mk" after extension CONFIGURE_ARGS setting; successful build confirmed with both PHP 4.x and PHP 5.x
27 lines
678 B
Makefile
27 lines
678 B
Makefile
# $NetBSD: Makefile,v 1.3 2004/11/05 17:11:39 jdolecek Exp $
|
|
|
|
MODNAME= dba
|
|
CATEGORIES+= databases
|
|
PKGREVISION= # empty
|
|
COMMENT= PHP extension for DBM database access
|
|
|
|
USE_BUILDLINK3= YES
|
|
|
|
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"
|