summaryrefslogtreecommitdiff
path: root/databases/odbc-postgresql/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'databases/odbc-postgresql/Makefile')
-rw-r--r--databases/odbc-postgresql/Makefile24
1 files changed, 23 insertions, 1 deletions
diff --git a/databases/odbc-postgresql/Makefile b/databases/odbc-postgresql/Makefile
index cd65ee00c00..7151054310d 100644
--- a/databases/odbc-postgresql/Makefile
+++ b/databases/odbc-postgresql/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2005/12/05 23:55:04 rillig Exp $
+# $NetBSD: Makefile,v 1.10 2006/01/02 18:08:35 joerg Exp $
.include "Makefile.common"
@@ -7,4 +7,26 @@ COMMENT= ODBC interface to PostgreSQL
CONFIGURE_ARGS+= --with-odbcinst=${PKG_SYSCONFDIR:Q}
+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
+
+
.include "../../mk/bsd.pkg.mk"