diff options
author | hans <hans> | 2012-03-22 14:46:28 +0000 |
---|---|---|
committer | hans <hans> | 2012-03-22 14:46:28 +0000 |
commit | 7d187bdc80bd45fcb28306da990f7300144aa14f (patch) | |
tree | 6cd086a5931c09e495b188a49ab600d61f7f7789 /databases/postgresql84-client | |
parent | a7bd2b09338468a5024012d4f42009c91920b485 (diff) | |
download | pkgsrc-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/postgresql84-client')
-rw-r--r-- | databases/postgresql84-client/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/databases/postgresql84-client/Makefile b/databases/postgresql84-client/Makefile index e44ccc95db2..1e2d0b6f1bd 100644 --- a/databases/postgresql84-client/Makefile +++ b/databases/postgresql84-client/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.15 2011/09/27 11:04:30 adam Exp $ +# $NetBSD: Makefile,v 1.16 2012/03/22 14:46:29 hans Exp $ PKGNAME= ${DISTNAME:C/-/84-client-/} COMMENT= PostgreSQL database client programs @@ -53,7 +53,9 @@ 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,${TOOLS_CMD.perl},${PERL5},' 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,' |