blob: eaff1ad220b8565ee5e855714f44a7a678b99b80 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# $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"
|