diff options
author | adam <adam@pkgsrc.org> | 2011-02-28 07:40:56 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2011-02-28 07:40:56 +0000 |
commit | 88cb3cde147783a2d77f7fb1f48693b2b1be99a9 (patch) | |
tree | f1ec6ca3ccaa10be5a6f369237cb8ecb481d926d /databases/postgresql90 | |
parent | dee6505f12267dd905e969ddd7d35925176b9a06 (diff) | |
download | pkgsrc-88cb3cde147783a2d77f7fb1f48693b2b1be99a9.tar.gz |
Properly define the linker on DragonFly BSD
Diffstat (limited to 'databases/postgresql90')
-rw-r--r-- | databases/postgresql90/distinfo | 5 | ||||
-rw-r--r-- | databases/postgresql90/patches/patch-src_Makefile.shlib | 24 |
2 files changed, 26 insertions, 3 deletions
diff --git a/databases/postgresql90/distinfo b/databases/postgresql90/distinfo index 65b08189fa8..153fea618a5 100644 --- a/databases/postgresql90/distinfo +++ b/databases/postgresql90/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.4 2011/02/09 08:48:17 adam Exp $ +$NetBSD: distinfo,v 1.5 2011/02/28 07:40:56 adam Exp $ SHA1 (postgresql-9.0.3.tar.bz2) = ea7b4729427f668cbf36184efbc58fd828a2d3ab RMD160 (postgresql-9.0.3.tar.bz2) = 9f5e0584018265282a75be8597fb7ac51ccaa23a @@ -7,10 +7,9 @@ SHA1 (patch-aa) = c7e5aaff1c47d2e33df7692a412ef984c77ffcc0 SHA1 (patch-ab) = 6adfc53e325abe69582f1c7971f56144c697e9c1 SHA1 (patch-ac) = 76ddd3015d93b19cdd6000eaffc4f53cbd4965b5 SHA1 (patch-ad) = 64b24d389470ddb980b7a2bdb95e59a599812dfd -SHA1 (patch-ae) = 1e6343aa520caa19a98b9e0b8c202d6e645ad3bc SHA1 (patch-af) = a73769cf05223d2ee06249c9e69c85038c2cd936 SHA1 (patch-ag) = 85dac95e40efc16270885087f868aeb76e1b9214 SHA1 (patch-ah) = 25102dce1b9b22385353af23500636fb18e3bf64 SHA1 (patch-ai) = 0d6f536f7593e362ec216eafa73c718ad6bed8fc -SHA1 (patch-an) = 0279365bc54ac2854a9b533cab93db481fd6f7df SHA1 (patch-ao) = 4d7c40d107d4c13c63ef2908d9a02be319863657 +SHA1 (patch-src_Makefile.shlib) = b5f66154482df3d14af5ecbb524eeff6c246d049 diff --git a/databases/postgresql90/patches/patch-src_Makefile.shlib b/databases/postgresql90/patches/patch-src_Makefile.shlib new file mode 100644 index 00000000000..6604afca631 --- /dev/null +++ b/databases/postgresql90/patches/patch-src_Makefile.shlib @@ -0,0 +1,24 @@ +$NetBSD: patch-src_Makefile.shlib,v 1.1 2011/02/28 07:40:56 adam Exp $ + +Properly define the linker on DragonFly BSD. + +--- src/Makefile.shlib.orig 2011-01-28 02:21:31 +0000 ++++ src/Makefile.shlib +@@ -197,6 +197,17 @@ ifeq ($(PORTNAME), netbsd) + endif + endif + ++ifeq ($(PORTNAME), dragonfly) ++ ifdef ELF_SYSTEM ++ LINK.shared = $(COMPILER) -shared ++ ifdef soname ++ LINK.shared += -Wl,-x,-soname,$(soname) ++ endif ++ else ++ LINK.shared = $(LD) -x -Bshareable -Bforcearchive ++ endif ++endif ++ + ifeq ($(PORTNAME), hpux) + ifdef SO_MAJOR_VERSION + shlib = lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION) |