diff options
author | explorer <explorer@pkgsrc.org> | 1999-05-15 20:07:54 +0000 |
---|---|---|
committer | explorer <explorer@pkgsrc.org> | 1999-05-15 20:07:54 +0000 |
commit | 136e50d243df993ffd1550a6fccbdf19643e8b0e (patch) | |
tree | 34bc3447a96a3ccd6aa5ca2f359b606dcc98f8ed /www/php3-pgsql/Makefile | |
parent | c003183487d97fb5afa19529b3e1f4d9bdff9057 (diff) | |
download | pkgsrc-136e50d243df993ffd1550a6fccbdf19643e8b0e.tar.gz |
php3 postgresql package
Diffstat (limited to 'www/php3-pgsql/Makefile')
-rw-r--r-- | www/php3-pgsql/Makefile | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/www/php3-pgsql/Makefile b/www/php3-pgsql/Makefile new file mode 100644 index 00000000000..e6327eeaedc --- /dev/null +++ b/www/php3-pgsql/Makefile @@ -0,0 +1,20 @@ +# $NetBSD: Makefile,v 1.1.1.1 1999/05/15 20:07:54 explorer Exp $ +# + +PKGNAME= php-pgsql-${PHP_VERSION} + +DEPENDS+= postgresql-6.4.2:../../databases/postgresql + +CONFIGURE_ARGS+=--with-pgsql=/usr/pkg/pgsql + +BUILDING_EXTENSION_MODULE=yes + +do-build: + cd ${WRKSRC}/functions && \ + ${COMPILE.c} -I.. -I. -I${LOCALBASE}/pgsql/include -fPIC -DPIC -DCOMPILE_DL pgsql.c && \ + ld -Bshareable -o pgsql.so pgsql.o -L${LOCALBASE}/pgsql/lib -R${LOCALBASE}/pgsql/lib -lpq + +do-install: + ${INSTALL_DATA} ${WRKSRC}/functions/pgsql.so ${PREFIX}/lib/php3/ + +.include "../php3/Makefile" |