summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarino <marino@pkgsrc.org>2011-09-11 10:07:34 +0000
committermarino <marino@pkgsrc.org>2011-09-11 10:07:34 +0000
commitb165c18c17f3e2fd8eea6c49600ae01f7a837097 (patch)
treec565bc63310cbbac88de31c68ba273e189d5b2d2
parent6b6d432890116b91e7c9b63ff72e92c041b04170 (diff)
downloadpkgsrc-b165c18c17f3e2fd8eea6c49600ae01f7a837097.tar.gz
PR#45149: Fix DragonFly build
Add DragonFly entry to Makefile.shlib to allow client to build.
-rw-r--r--databases/postgresql83/distinfo3
-rw-r--r--databases/postgresql83/patches/patch-ba15
2 files changed, 17 insertions, 1 deletions
diff --git a/databases/postgresql83/distinfo b/databases/postgresql83/distinfo
index bbb2611d976..ec409ce2399 100644
--- a/databases/postgresql83/distinfo
+++ b/databases/postgresql83/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.16 2011/04/22 13:50:38 adam Exp $
+$NetBSD: distinfo,v 1.17 2011/09/11 10:07:34 marino Exp $
SHA1 (postgresql-8.3.15.tar.bz2) = b20895aa66c15d5f394579aed50ce88c4018ecc0
RMD160 (postgresql-8.3.15.tar.bz2) = 66c5f79083231f5afb7cb3b41637fc8eb7ae5225
@@ -11,3 +11,4 @@ SHA1 (patch-af) = fcb43276c1f3349f62acfc37ac0bd6ccaae96f29
SHA1 (patch-ag) = 402d5d211af99efdfa35677299c97e91e14ed85d
SHA1 (patch-ah) = 3640573195f66a46c37d9fca2648d6be39f5593b
SHA1 (patch-ai) = a2364b8e1e8a3094e1c5bfb0cad2d0babe0a8841
+SHA1 (patch-ba) = db6be7665f19d2b2b707ffcaa04cb92b44544d61
diff --git a/databases/postgresql83/patches/patch-ba b/databases/postgresql83/patches/patch-ba
new file mode 100644
index 00000000000..fb17c588600
--- /dev/null
+++ b/databases/postgresql83/patches/patch-ba
@@ -0,0 +1,15 @@
+$NetBSD: patch-ba,v 1.1 2011/09/11 10:07:34 marino Exp $
+
+--- src/Makefile.shlib.orig 2011-07-15 22:27:14.818068000 +0000
++++ src/Makefile.shlib
+@@ -136,6 +136,10 @@ ifeq ($(PORTNAME), bsdi)
+ endif
+ endif
+
++ifeq ($(PORTNAME), dragonfly)
++ LINK.shared = $(COMPILER) -shared -Wl,-x,-soname,$(soname)
++endif
++
+ ifeq ($(PORTNAME), freebsd)
+ ifdef ELF_SYSTEM
+ shlib = lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION)