pkgsrc/databases/odbc-postgresql/Makefile

28 lines
776 B
Makefile
Raw Normal View History

# $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
.include "Makefile.common"
PKGNAME= odbc-postgresql-${BASE_VERS}
PKGREVISION= 3
COMMENT= ODBC interface to PostgreSQL
CONFIGURE_ARGS+= --with-odbcinst=${PKG_SYSCONFDIR:Q}
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
.include "../../mk/bsd.pkg.mk"