2010-01-17 13:02:03 +01:00
|
|
|
# $NetBSD: Makefile,v 1.15 2010/01/17 12:02:09 wiz Exp $
|
2008-06-20 03:09:05 +02:00
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
2001-04-06 23:59:59 +02:00
|
|
|
|
2002-10-19 05:51:00 +02:00
|
|
|
.include "Makefile.common"
|
2001-04-06 23:59:59 +02:00
|
|
|
|
2002-10-19 05:51:00 +02:00
|
|
|
PKGNAME= odbc-postgresql-${BASE_VERS}
|
2010-01-17 13:02:03 +01:00
|
|
|
PKGREVISION= 3
|
2002-04-03 11:29:55 +02:00
|
|
|
COMMENT= ODBC interface to PostgreSQL
|
|
|
|
|
2005-12-06 00:55:01 +01:00
|
|
|
CONFIGURE_ARGS+= --with-odbcinst=${PKG_SYSCONFDIR:Q}
|
2001-04-06 23:59:59 +02:00
|
|
|
|
2006-01-02 19:08:35 +01:00
|
|
|
post-extract:
|
2007-02-15 16:45:07 +01:00
|
|
|
set -e; \
|
|
|
|
cd ${WRKSRC}; \
|
|
|
|
[ ! -d src/backend/port/dynloader ] || ( \
|
|
|
|
cd src/backend/port/dynloader; \
|
|
|
|
cp freebsd.c dragonfly.c; \
|
|
|
|
cp freebsd.h dragonfly.h; \
|
|
|
|
); \
|
|
|
|
[ ! -d src/template ] \
|
|
|
|
|| touch src/template/dragonfly; \
|
|
|
|
[ ! -d src/include/port ] \
|
|
|
|
|| cp src/include/port/freebsd.h src/include/port/dragonfly.h; \
|
|
|
|
[ ! -d src/makefiles ] \
|
|
|
|
|| cp src/makefiles/Makefile.freebsd src/makefiles/Makefile.dragonfly
|
2006-01-02 19:08:35 +01:00
|
|
|
|
2001-04-06 23:59:59 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|