summaryrefslogtreecommitdiff
path: root/databases/postgresql95/patches/patch-src_Makefile.global.in
diff options
context:
space:
mode:
Diffstat (limited to 'databases/postgresql95/patches/patch-src_Makefile.global.in')
-rw-r--r--databases/postgresql95/patches/patch-src_Makefile.global.in16
1 files changed, 16 insertions, 0 deletions
diff --git a/databases/postgresql95/patches/patch-src_Makefile.global.in b/databases/postgresql95/patches/patch-src_Makefile.global.in
new file mode 100644
index 00000000000..47aeaf5ff46
--- /dev/null
+++ b/databases/postgresql95/patches/patch-src_Makefile.global.in
@@ -0,0 +1,16 @@
+$NetBSD: patch-src_Makefile.global.in,v 1.1 2016/02/25 21:37:35 tnn Exp $
+
+--- src/Makefile.global.in.orig 2015-10-05 19:12:06.000000000 +0000
++++ src/Makefile.global.in
+@@ -570,6 +570,11 @@ ifeq ($(PORTNAME),win32)
+ LIBS += -lws2_32
+ endif
+
++# missing for link on cygwin ?
++ifeq ($(PORTNAME),cygwin)
++LIBS += $(LDAP_LIBS_BE)
++endif
++
+ # Not really standard libc functions, used by the backend.
+ TAS = @TAS@
+