pkgsrc/databases/odbc-postgresql/Makefile
2008-06-20 01:09:05 +00:00

27 lines
778 B
Makefile

# $NetBSD: Makefile,v 1.14 2008/06/20 01:09:10 joerg Exp $
PKG_DESTDIR_SUPPORT= user-destdir
.include "Makefile.common"
PKGNAME= odbc-postgresql-${BASE_VERS}
PKGREVISION= 2
COMMENT= ODBC interface to PostgreSQL
CONFIGURE_ARGS+= --with-odbcinst=${PKG_SYSCONFDIR:Q}
post-extract:
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
.include "../../mk/bsd.pkg.mk"