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
commit78aa2b6e77d85110e4aa39625844051dd23eeecc (patch)
tree58e7df618a798f8b99153d78d66f880e8a14032a /databases
parente34ed3f274bcefce039fce6ce3d3b75c3d045ccf (diff)
downloadpkgsrc-78aa2b6e77d85110e4aa39625844051dd23eeecc.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`