ここの情報は php3 に言及しているので、古いです。
php4-pgsql を見て下さい。
database/php3-pgsql
/usr/pkgsrc/database/php3-pgsql
で make;
Makefile には
CONFIGURE_ARGS+= --with-pgsql=${BUILDLINK_DIR}
と書いてある。
===> Building for php-pgsql-3.0.18
cd /export/pkgsrc/databases/php3-pgsql/work/php-3.0.18/functions; cc
-I/export/pkgsrc/databases/php3-pgsql/work/.buildlink/include -O2
-I/export/pkgsrc/databases/php3-pgsql/work/.buildlink/include -c
-I/export/pkgsrc/databases/php3-pgsql/work/php-3.0.18
-I/export/pkgsrc/databases/php3-pgsql/work/php-3.0.18/functions -fPIC
-DPIC -DCOMPILE_DL
-I/export/pkgsrc/databases/php3-pgsql/work/.buildlink/include/pgsql
pgsql.c; ld -Bshareable -o pgsql.so pgsql.o
-L/export/pkgsrc/databases/php3-pgsql/work/.buildlink/lib
--export-dynamic -R/usr/pkg/lib -lpq -lcrypt
ttyp3:makoto@u 9:50:48/020523(...databases/php3-pgsql)>
make install
===> Please note the following:
======================================================================
$NetBSD: MESSAGE.module,v 1.1 2002/01/10 13:17:11 jlam Exp $
To enable this module, add the following to ${PKG_SYSCONFDIR}/php3.ini:
extension_dir=/usr/pkg/lib/php3
extension=pgsql.so
and restart your PHP3-enabled HTTP server to load this module.
======================================================================
===> Registering installation for php-pgsql-3.0.18
php-pgsql-3.0.18 requires installed package gdbm-1.8.0
php-pgsql-3.0.18 requires installed package php-3.0.18
php-pgsql-3.0.18 requires installed package postgresql-lib-7.1.3
|