summaryrefslogtreecommitdiff
path: root/databases/postgresql84
diff options
context:
space:
mode:
authormarino <marino@pkgsrc.org>2011-09-11 10:53:31 +0000
committermarino <marino@pkgsrc.org>2011-09-11 10:53:31 +0000
commitafdecd211be37539b887927a556850a684f9979b (patch)
treef1b7d0db11b36d6e1f8c4148a00ce45c61a573a0 /databases/postgresql84
parentb165c18c17f3e2fd8eea6c49600ae01f7a837097 (diff)
downloadpkgsrc-afdecd211be37539b887927a556850a684f9979b.tar.gz
PR#45150: Fix DragonFly build
Add DragonFly entry to Makefile.shlib to allow client to build.
Diffstat (limited to 'databases/postgresql84')
-rw-r--r--databases/postgresql84/distinfo3
-rw-r--r--databases/postgresql84/patches/patch-ba18
2 files changed, 20 insertions, 1 deletions
diff --git a/databases/postgresql84/distinfo b/databases/postgresql84/distinfo
index 1ab826ecb31..1ab6812bfc3 100644
--- a/databases/postgresql84/distinfo
+++ b/databases/postgresql84/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.11 2011/04/22 13:01:30 adam Exp $
+$NetBSD: distinfo,v 1.12 2011/09/11 10:53:31 marino Exp $
SHA1 (postgresql-8.4.8.tar.bz2) = f4936de8b8a31f5579e094c928df9612fffe62b5
RMD160 (postgresql-8.4.8.tar.bz2) = ad4c81e7f22ed3018ff4f37e1e6ad54ce1a5fd4e
@@ -12,3 +12,4 @@ SHA1 (patch-ag) = 85dac95e40efc16270885087f868aeb76e1b9214
SHA1 (patch-ah) = 25102dce1b9b22385353af23500636fb18e3bf64
SHA1 (patch-ai) = 0d6f536f7593e362ec216eafa73c718ad6bed8fc
SHA1 (patch-ao) = 045a25457da09aff30ac93f1c299064c9f6079a8
+SHA1 (patch-ba) = 2cc374fdf4351a4c03ecad30fb99d2aff2cf0bdf
diff --git a/databases/postgresql84/patches/patch-ba b/databases/postgresql84/patches/patch-ba
new file mode 100644
index 00000000000..dc474dbd553
--- /dev/null
+++ b/databases/postgresql84/patches/patch-ba
@@ -0,0 +1,18 @@
+$NetBSD: patch-ba,v 1.1 2011/09/11 10:53:31 marino Exp $
+
+--- src/Makefile.shlib.orig 2011-07-15 20:03:13.383961000 +0000
++++ src/Makefile.shlib
+@@ -175,6 +175,13 @@ ifeq ($(PORTNAME), bsdi)
+ endif
+ endif
+
++ifeq ($(PORTNAME), dragonfly)
++ LINK.shared = $(COMPILER) -shared
++ ifdef soname
++ LINK.shared += -Wl,-x,-soname,$(soname)
++ endif
++endif
++
+ ifeq ($(PORTNAME), freebsd)
+ ifdef ELF_SYSTEM
+ ifdef SO_MAJOR_VERSION