summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2005-12-02 20:00:18 +0000
committerjoerg <joerg@pkgsrc.org>2005-12-02 20:00:18 +0000
commit1754c04ba15806046e42f60bf3a479e7023433ac (patch)
tree58e7df618a798f8b99153d78d66f880e8a14032a /databases
parent6c3d2f6ae9708dd0f5668c924d86f40a0f57700e (diff)
downloadpkgsrc-1754c04ba15806046e42f60bf3a479e7023433ac.tar.gz
DragonFly support.
Diffstat (limited to 'databases')
-rw-r--r--databases/tcl-postgresql74/Makefile15
1 files changed, 14 insertions, 1 deletions
diff --git a/databases/tcl-postgresql74/Makefile b/databases/tcl-postgresql74/Makefile
index ce03188acaf..99cae1712e5 100644
--- a/databases/tcl-postgresql74/Makefile
+++ b/databases/tcl-postgresql74/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2005/06/30 01:50:11 wiz Exp $
+# $NetBSD: Makefile,v 1.4 2005/12/02 20:00:18 joerg Exp $
PKGNAME= tcl-postgresql74-${BASE_VERS}
COMMENT= Tcl interface to PostgreSQL
@@ -16,6 +16,19 @@ BUILD_DIRS= ${WRKSRC}/src/port
BUILD_DIRS+= ${WRKSRC}/src/interfaces/libpgtcl
BUILD_DIRS+= ${WRKSRC}/src/bin/pgtclsh
+pre-configure:
+ ${TOUCH} ${WRKSRC}/src/template/dragonfly
+ ${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
+ ${CP} ${WRKSRC}/src/include/port/freebsd.h \
+ ${WRKSRC}/src/include/port/dragonfly.h
+ ${CP} ${WRKSRC}/src/makefiles/Makefile.freebsd \
+ ${WRKSRC}/src/makefiles/Makefile.dragonfly
+
post-install:
cd ${PREFIX}/man && ${TAR} -zxf ${WRKSRC}/doc/man.tar.gz \
`${SED} -e "s|#.*||" ${FILESDIR}/man.tcl`