summaryrefslogtreecommitdiff
path: root/databases/postgresql84-client
diff options
context:
space:
mode:
authorbrook <brook>2011-02-08 15:50:07 +0000
committerbrook <brook>2011-02-08 15:50:07 +0000
commit85dff62dd1a99528e81f10c5ac9664ef9523ec93 (patch)
tree8d4da883a5b71b2ece4775ea6f7b3673191fd3ee /databases/postgresql84-client
parent16d98b17af67a81a8d72d1902854e22a8950da4e (diff)
downloadpkgsrc-85dff62dd1a99528e81f10c5ac9664ef9523ec93.tar.gz
Substitutions in src/Makefile.global end up creating an incorrect path to
ld. As a result, the installed version of this file is not useful for building PostgreSQL extensions. Instead, replace with ${LD}. See the discussion beginning with http://mail-index.netbsd.org/tech-pkg/2011/02/07/msg006685.html for more information.
Diffstat (limited to 'databases/postgresql84-client')
-rw-r--r--databases/postgresql84-client/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/databases/postgresql84-client/Makefile b/databases/postgresql84-client/Makefile
index b38f9a8b45f..3aac5e717dc 100644
--- a/databases/postgresql84-client/Makefile
+++ b/databases/postgresql84-client/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2010/12/19 09:53:41 adam Exp $
+# $NetBSD: Makefile,v 1.12 2011/02/08 15:50:07 brook Exp $
PKGNAME= ${DISTNAME:C/-/84-client-/}
COMMENT= PostgreSQL database client programs
@@ -57,6 +57,7 @@ SUBST_STAGE.pgxs= post-build
SUBST_MESSAGE.pgxs= Fixing workdir tools references in pgxs Makefile
SUBST_FILES.pgxs= src/Makefile.global
SUBST_SED.pgxs= -e 's,${WRKDIR}/.tools,${PREFIX},'
+SUBST_SED.pgxs+= -e 's,${WRKDIR}/.wrapper/bin/ld,${LD},'
SUBST_SED.pgxs+= -e 's,${WRKDIR}/.wrapper,${PREFIX},'
SUBST_SED.pgxs+= -e 's,${WRKSRC},/dev/null,'