summaryrefslogtreecommitdiff
path: root/databases/postgresql91/patches/patch-src_backend_Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'databases/postgresql91/patches/patch-src_backend_Makefile')
-rw-r--r--databases/postgresql91/patches/patch-src_backend_Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/databases/postgresql91/patches/patch-src_backend_Makefile b/databases/postgresql91/patches/patch-src_backend_Makefile
new file mode 100644
index 00000000000..6aa393d9baa
--- /dev/null
+++ b/databases/postgresql91/patches/patch-src_backend_Makefile
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_backend_Makefile,v 1.1.1.1 2011/09/15 08:27:39 adam Exp $
+
+--- src/backend/Makefile.orig 2010-07-05 18:54:37.000000000 +0000
++++ src/backend/Makefile
+@@ -17,6 +17,10 @@ subdir = src/backend
+ top_builddir = ../..
+ include $(top_builddir)/src/Makefile.global
+
++CFLAGS+= $(DL_CFLAGS)
++LDFLAGS+= $(DL_LDFLAGS)
++LIBS+= $(DL_LIBS)
++
+ SUBDIRS = access bootstrap catalog parser commands executor foreign lib libpq \
+ main nodes optimizer port postmaster regex replication rewrite \
+ storage tcop tsearch utils $(top_builddir)/src/timezone