diff options
author | joerg <joerg> | 2005-12-02 19:41:18 +0000 |
---|---|---|
committer | joerg <joerg> | 2005-12-02 19:41:18 +0000 |
commit | bf7117f3929b85907737ff9367352c0ad9329b24 (patch) | |
tree | c1170f9a72dbd6b10dcdf7af1c080fd3cbcf7931 /databases | |
parent | 56880902a442202fa17a9d257f24a650fb4e298b (diff) | |
download | pkgsrc-bf7117f3929b85907737ff9367352c0ad9329b24.tar.gz |
Allow build on DragonFly.
Diffstat (limited to 'databases')
-rw-r--r-- | databases/postgresql73/Makefile.common | 19 | ||||
-rw-r--r-- | databases/postgresql73/distinfo | 4 | ||||
-rw-r--r-- | databases/postgresql73/patches/patch-ab | 16 |
3 files changed, 34 insertions, 5 deletions
diff --git a/databases/postgresql73/Makefile.common b/databases/postgresql73/Makefile.common index a38696866a6..574c279ab5f 100644 --- a/databases/postgresql73/Makefile.common +++ b/databases/postgresql73/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.11 2005/08/07 18:19:16 adrianp Exp $ +# $NetBSD: Makefile.common,v 1.12 2005/12/02 19:41:18 joerg Exp $ # # This Makefile fragment is included by all PostgreSQL packages built from # the main sources of the PostgreSQL distribution except jdbc-postgresql. @@ -88,6 +88,23 @@ post-extract: ${RM} -f ${WRKSRC}/src/backend/port/dynloader/netbsd.[ch];\ ${CP} -f ${COMMON_FILESDIR}/netbsd.[ch] \ ${WRKSRC}/src/backend/port/dynloader/; \ + ${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 pre-configure: diff --git a/databases/postgresql73/distinfo b/databases/postgresql73/distinfo index ffa55cef9bd..574b7f35bda 100644 --- a/databases/postgresql73/distinfo +++ b/databases/postgresql73/distinfo @@ -1,10 +1,10 @@ -$NetBSD: distinfo,v 1.10 2005/08/07 18:19:16 adrianp Exp $ +$NetBSD: distinfo,v 1.11 2005/12/02 19:41:18 joerg Exp $ SHA1 (postgresql-7.3.10.tar.gz) = 173bfb9c4ae7d4bd84a90babdbf34d420fcb90c2 RMD160 (postgresql-7.3.10.tar.gz) = 544602d752a8e2f0d2b90e1e2e4c50431b98c44b Size (postgresql-7.3.10.tar.gz) = 11296380 bytes SHA1 (patch-aa) = 61fbeb664b0d89c83a36c79cca3fbdc78d6f5059 -SHA1 (patch-ab) = d45df2da17b1ff67f5f82b4ff743afe350500786 +SHA1 (patch-ab) = 5e7a555ed0a2fd1c6678600f98f809072663d10e SHA1 (patch-ac) = 5a647cc31873ae81a5bd5a6cf4ec6f44a43448e7 SHA1 (patch-ad) = a7bdfab69fdc9063d03adae7229f55ba356f2282 SHA1 (patch-ae) = 5b46ea9782da574ee0c4b1c02534e0f74d640559 diff --git a/databases/postgresql73/patches/patch-ab b/databases/postgresql73/patches/patch-ab index 957eac3b0e8..e65cd2364e1 100644 --- a/databases/postgresql73/patches/patch-ab +++ b/databases/postgresql73/patches/patch-ab @@ -1,8 +1,20 @@ -$NetBSD: patch-ab,v 1.1 2004/12/18 15:59:55 jlam Exp $ +$NetBSD: patch-ab,v 1.2 2005/12/02 19:41:18 joerg Exp $ --- src/Makefile.shlib.orig 2003-01-11 12:22:34.000000000 -0500 +++ src/Makefile.shlib -@@ -204,7 +204,7 @@ ifeq ($(PORTNAME), beos) +@@ -125,6 +125,11 @@ ifeq ($(PORTNAME), netbsd) + endif + endif + ++ifeq ($(PORTNAME), dragonfly) ++ shlib := lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION) ++ LINK.shared = $(COMPILER) -shared -Wl,-x,-soname,$(soname) ++endif ++ + ifeq ($(PORTNAME), hpux) + shlib := lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION) + LINK.shared = $(LD) +h $(soname) -b +b $(libdir) +@@ -204,7 +209,7 @@ ifeq ($(PORTNAME), beos) SHLIB_LINK += -ltermcap -lstdc++.r4 -lbind -lsocket -L/boot/develop/lib/x86 endif |