summaryrefslogtreecommitdiff
path: root/databases/postgresql91-client
diff options
context:
space:
mode:
authorhans <hans@pkgsrc.org>2012-03-22 14:46:28 +0000
committerhans <hans@pkgsrc.org>2012-03-22 14:46:28 +0000
commit70c2e146c39465012c7f8cefc6af5acf55481d9c (patch)
tree6cd086a5931c09e495b188a49ab600d61f7f7789 /databases/postgresql91-client
parent6895b0face0f486bb23d80568e9985fbb860bf0c (diff)
downloadpkgsrc-70c2e146c39465012c7f8cefc6af5acf55481d9c.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/postgresql91-client')
-rw-r--r--databases/postgresql91-client/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/databases/postgresql91-client/Makefile b/databases/postgresql91-client/Makefile
index 99a1080037d..902a5364f24 100644
--- a/databases/postgresql91-client/Makefile
+++ b/databases/postgresql91-client/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2012/01/01 03:49:48 sbd Exp $
+# $NetBSD: Makefile,v 1.4 2012/03/22 14:46:29 hans Exp $
PKGNAME= ${DISTNAME:C/-/91-client-/}
COMMENT= PostgreSQL database client programs
@@ -52,7 +52,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]},'