2001-12-03 09:06:24 +01:00
|
|
|
# $NetBSD: Makefile,v 1.6 2001/12/03 08:06:24 jlam Exp $
|
2001-04-06 23:59:59 +02:00
|
|
|
|
|
|
|
.include "../../databases/postgresql/Makefile.common"
|
2001-05-14 16:52:06 +02:00
|
|
|
.include "../../databases/postgresql/Makefile.ssl"
|
2001-04-06 23:59:59 +02:00
|
|
|
|
2001-12-03 09:06:24 +01:00
|
|
|
PKGNAME= odbc-postgresql-${PG_BASE_VERS}
|
2001-04-06 23:59:59 +02:00
|
|
|
COMMENT= ODBC interface to PostgreSQL
|
|
|
|
|
2001-05-14 16:52:06 +02:00
|
|
|
MAINTAINER= jwise@netbsd.org
|
2001-05-23 09:19:12 +02:00
|
|
|
HOMEPAGE= http://odbc.postgresql.org/
|
2001-04-06 23:59:59 +02:00
|
|
|
|
2001-06-21 23:40:07 +02:00
|
|
|
USE_BUILDLINK_ONLY= # defined
|
|
|
|
|
2001-05-14 16:52:06 +02:00
|
|
|
CONFIGURE_ARGS+= --with-odbc
|
|
|
|
CONFIGURE_ARGS+= --with-odbcinst=/etc
|
2001-04-06 23:59:59 +02:00
|
|
|
|
2001-05-14 16:52:06 +02:00
|
|
|
DIRS_TO_BUILD= src/interfaces/odbc
|
2001-04-06 23:59:59 +02:00
|
|
|
|
|
|
|
do-build:
|
|
|
|
.for DIR in ${DIRS_TO_BUILD}
|
2001-05-14 16:52:06 +02:00
|
|
|
cd ${WRKSRC}/${DIR} && ${SETENV} ${MAKE_ENV} \
|
2001-04-06 23:59:59 +02:00
|
|
|
${MAKE_PROGRAM} ${MAKE_FLAGS} ${ALL_TARGET}
|
|
|
|
.endfor
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
.for DIR in ${DIRS_TO_BUILD}
|
2001-05-14 16:52:06 +02:00
|
|
|
cd ${WRKSRC}/${DIR} && ${SETENV} ${MAKE_ENV} \
|
2001-04-06 23:59:59 +02:00
|
|
|
${MAKE_PROGRAM} ${MAKE_FLAGS} ${INSTALL_TARGET}
|
|
|
|
.endfor
|
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|