# $NetBSD: Makefile,v 1.13 2008/01/18 05:06:28 tnn Exp $ .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"