diff options
author | jmmv <jmmv@pkgsrc.org> | 2010-04-23 12:45:01 +0000 |
---|---|---|
committer | jmmv <jmmv@pkgsrc.org> | 2010-04-23 12:45:01 +0000 |
commit | 0015240af045efa4ff1d3be69c7edce71654d94d (patch) | |
tree | da55dc52604ac133b6571aaa2e28af3d6c342d84 /print/libpaper | |
parent | a5b9d5aa54fc3330a40220334393bdc8db8065fa (diff) | |
download | pkgsrc-0015240af045efa4ff1d3be69c7edce71654d94d.tar.gz |
Fix build when libpaper is not yet installed.
My previous changes added a call to paperconfig during the build stage to
generate a sample configuration file. The paperconfig script needs to run
paperconf and relies on the path to do so. But, if it is not yet installed,
the call fails. Fix this by pointing the script to the correct place.
Problem reported by wiz@.
Diffstat (limited to 'print/libpaper')
-rw-r--r-- | print/libpaper/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/print/libpaper/Makefile b/print/libpaper/Makefile index 1e9e0df8f58..eb70aab29e9 100644 --- a/print/libpaper/Makefile +++ b/print/libpaper/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2010/04/23 11:33:06 jmmv Exp $ +# $NetBSD: Makefile,v 1.7 2010/04/23 12:45:01 jmmv Exp $ # DISTNAME= libpaper_1.1.23 @@ -27,8 +27,8 @@ BUILD_DEFS= PAPERSIZE .include "../../devel/libgetopt/buildlink3.mk" post-build: - PAPERCONF=${WRKDIR}/papersize ${SH} ${WRKSRC}/src/paperconfig \ - -p ${PAPERSIZE} + PAPERCONF=${WRKDIR}/papersize PATH=${WRKSRC}/src:$${PATH} ${SH} \ + ${WRKSRC}/src/paperconfig -p ${PAPERSIZE} post-install: ${INSTALL_DATA_DIR} ${DESTDIR}${EGDIR} |