2006-02-06 00:08:03 +01:00
|
|
|
# $NetBSD: Makefile,v 1.11 2006/02/05 23:08:32 joerg Exp $
|
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}
|
2006-02-06 00:08:03 +01:00
|
|
|
PKGREVISION= 1
|
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:
|
|
|
|
if [ -d ${WRKSRC}/src/backend/port/dynloader ]; then \
|
|
|
|
${CP} ${WRKSRC}/src/backend/port/dynloader/freebsd.c \
|
|
|
|
${WRKSRC}/src/backend/port/dynloader/dragonfly.c; \
|
|
|
|
${CP} ${WRKSRC}/src/backend/port/dynloader/freebsd.h \
|
|
|
|
${WRKSRC}/src/backend/port/dynloader/dragonfly.h; \
|
|
|
|
${CP} ${WRKSRC}/src/backend/port/dynloader/freebsd.h \
|
|
|
|
${WRKSRC}/src/backend/port/dynloader/dragonfly.h; \
|
|
|
|
fi
|
|
|
|
if [ -d ${WRKSRC}/src/template ]; then \
|
|
|
|
${TOUCH} ${WRKSRC}/src/template/dragonfly; \
|
|
|
|
fi
|
|
|
|
if [ -d ${WRKSRC}/src/include/port ]; then \
|
|
|
|
${CP} ${WRKSRC}/src/include/port/freebsd.h \
|
|
|
|
${WRKSRC}/src/include/port/dragonfly.h; \
|
|
|
|
fi
|
|
|
|
if [ -d ${WRKSRC}/src/makefiles ]; then \
|
|
|
|
${CP} ${WRKSRC}/src/makefiles/Makefile.freebsd \
|
|
|
|
${WRKSRC}/src/makefiles/Makefile.dragonfly; \
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
2001-04-06 23:59:59 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|