24 lines
663 B
Makefile
24 lines
663 B
Makefile
# $NetBSD: Makefile,v 1.12 2010/02/27 03:35:12 taca Exp $
|
|
|
|
MODNAME= pdo_dblib
|
|
CATEGORIES+= databases
|
|
COMMENT= PHP extension for PHP Data Objects (FreeTDS/Sybase/MS SQL)
|
|
|
|
PHP_VERSIONS_ACCEPTED= 5
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
USE_PHP_EXT_PATCHES= yes
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
.include "../../lang/php/ext.mk"
|
|
|
|
CONFIGURE_ARGS+= --with-${MODNAME}
|
|
CONFIGURE_ARGS+= --with-${PKGMODNAME}=shared,${BUILDLINK_DIR}
|
|
|
|
# requires 0.63 version to compile, doesn't compile with 0.61
|
|
BUILDLINK_API_DEPENDS.freetds+= freetds>=0.63
|
|
|
|
.include "../../databases/freetds/buildlink3.mk"
|
|
.include "../../databases/php-pdo/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|