diff options
author | jlam <jlam@pkgsrc.org> | 2005-06-03 16:03:09 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2005-06-03 16:03:09 +0000 |
commit | 88ed61a3216dd28a8d0bed611cc2f07f08c169d0 (patch) | |
tree | 6ff688d167bd932f1e3b23bb6dadeb22ed8f0526 /graphics/xpm | |
parent | d42d7dedce8940b0f0b9222fe163b177cc3e96c4 (diff) | |
download | pkgsrc-88ed61a3216dd28a8d0bed611cc2f07f08c169d0.tar.gz |
Don't require a read-write pkgsrc tree when invoking imake. We avoid
this requirement by using TMPDIR as the read-write location demanded
by using imake.
Diffstat (limited to 'graphics/xpm')
-rw-r--r-- | graphics/xpm/builtin.mk | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/graphics/xpm/builtin.mk b/graphics/xpm/builtin.mk index abc72b04bf4..65269bdec3f 100644 --- a/graphics/xpm/builtin.mk +++ b/graphics/xpm/builtin.mk @@ -1,4 +1,4 @@ -# $NetBSD: builtin.mk,v 1.7 2005/06/02 22:48:18 dillo Exp $ +# $NetBSD: builtin.mk,v 1.8 2005/06/03 16:03:09 jlam Exp $ BUILTIN_PKG:= xpm @@ -28,8 +28,10 @@ PKGSRC_USE_TOOLS+= imake # XXX IMAKE?= ${X11BASE}/bin/imake # XXX . if defined(IMAKE) && exists(${IMAKE:C/ .*//}) IS_BUILTIN.xpm!= \ + dir=`cd ${BUILDLINK_PKGSRCDIR.xpm} && ${PWD_CMD}`; \ + cd ${TMPDIR:U/tmp:Q} && \ ${IMAKE} -DUseInstalled -I${X11BASE}/lib/X11/config \ - -f ${BUILDLINK_PKGSRCDIR.xpm}/builtin-imake.mk \ + -f $$dir/builtin-imake.mk -C builtin-imake.$$$$.c \ -s - | \ ${IMAKE_MAKE} -f - builtin-test . endif |