summaryrefslogtreecommitdiff
path: root/databases/postgresql90-client
diff options
context:
space:
mode:
authorhans <hans>2012-03-22 14:46:28 +0000
committerhans <hans>2012-03-22 14:46:28 +0000
commit7d187bdc80bd45fcb28306da990f7300144aa14f (patch)
tree6cd086a5931c09e495b188a49ab600d61f7f7789 /databases/postgresql90-client
parenta7bd2b09338468a5024012d4f42009c91920b485 (diff)
downloadpkgsrc-7d187bdc80bd45fcb28306da990f7300144aa14f.tar.gz
Make sure the paths to bison-yacc, lex and perl are correct in the
installed src/Makefile.global. Don't assume they all exist in ${PREFIX}.
Diffstat (limited to 'databases/postgresql90-client')
-rw-r--r--databases/postgresql90-client/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/databases/postgresql90-client/Makefile b/databases/postgresql90-client/Makefile
index 511af391aa5..1418724bc20 100644
--- a/databases/postgresql90-client/Makefile
+++ b/databases/postgresql90-client/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2011/12/26 04:34:19 sbd Exp $
+# $NetBSD: Makefile,v 1.10 2012/03/22 14:46:29 hans Exp $
PKGNAME= ${DISTNAME:C/-/90-client-/}
COMMENT= PostgreSQL database client programs
@@ -56,7 +56,8 @@ SUBST_CLASSES+= pgxs
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,${TOOLS_CMD.bison},${TOOLS_PATH.bison},'
+SUBST_SED.pgxs+= -e 's,${TOOLS_CMD.lex},${TOOLS_PATH.lex},'
SUBST_SED.pgxs+= -e 's,${WRKDIR}/.wrapper/bin/ld,${LD},'
SUBST_SED.pgxs+= -e 's,${WRKDIR}/.wrapper,${PREFIX},'
SUBST_SED.pgxs+= -e 's,${PREFIX}/bin/mkdir,${MKDIR:[1]},'