summaryrefslogtreecommitdiff
path: root/databases/postgresql-server
diff options
context:
space:
mode:
Diffstat (limited to 'databases/postgresql-server')
-rw-r--r--databases/postgresql-server/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/databases/postgresql-server/Makefile b/databases/postgresql-server/Makefile
index 37d140edb74..c267ca1753e 100644
--- a/databases/postgresql-server/Makefile
+++ b/databases/postgresql-server/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2001/06/10 00:08:42 jlam Exp $
+# $NetBSD: Makefile,v 1.8 2001/06/11 02:05:09 jlam Exp $
.include "../../databases/postgresql/Makefile.common"
.include "../../databases/postgresql/Makefile.ssl"
@@ -15,6 +15,13 @@ NOT_FOR_PLATFORM= *-*-mips
DIRS_TO_BUILD= src/backend
+# The following is a hack to force ${BUILDLINK_DIR}/lib to the front of the
+# linker's library search path without having to patch a lot of Makefile.
+# It works because the PostgreSQL Makefiles invoke the linker with $(CFLAGS)
+# as well.
+#
+CFLAGS+= -L${BUILDLINK_DIR}/lib
+
# PGUSER username of the database administrator
# PGGROUP group of the database administrator
# PGHOME home directory of the database administrator and location of