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 | 88aeda0672fa490034a9ac2a5ef7f759896ed831 (patch) | |
tree | 6ff688d167bd932f1e3b23bb6dadeb22ed8f0526 /graphics | |
parent | fbc1e6ed01e44e1115543052d333078a093f9dc5 (diff) | |
download | pkgsrc-88aeda0672fa490034a9ac2a5ef7f759896ed831.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')
-rw-r--r-- | graphics/MesaLib/builtin.mk | 6 | ||||
-rw-r--r-- | graphics/freetype2/builtin.mk | 6 | ||||
-rw-r--r-- | graphics/glu/builtin.mk | 6 | ||||
-rw-r--r-- | graphics/xpm/builtin.mk | 6 |
4 files changed, 16 insertions, 8 deletions
diff --git a/graphics/MesaLib/builtin.mk b/graphics/MesaLib/builtin.mk index 71806635124..b5eba29fbab 100644 --- a/graphics/MesaLib/builtin.mk +++ b/graphics/MesaLib/builtin.mk @@ -1,4 +1,4 @@ -# $NetBSD: builtin.mk,v 1.6 2005/06/01 18:33:02 jlam Exp $ +# $NetBSD: builtin.mk,v 1.7 2005/06/03 16:03:09 jlam Exp $ BUILTIN_PKG:= MesaLib @@ -18,8 +18,10 @@ PKGSRC_USE_TOOLS+= imake # XXX IMAKE?= ${X11BASE}/bin/imake # XXX . if defined(IMAKE) && exists(${IMAKE}) IS_BUILTIN.MesaLib!= \ + dir=`cd ${BUILDLINK_PKGSRCDIR.MesaLib} && ${PWD_CMD}`; \ + cd ${TMPDIR:U/tmp:Q} && \ ${IMAKE} -DUseInstalled -I${X11BASE}/lib/X11/config \ - -f ${BUILDLINK_PKGSRCDIR.MesaLib}/builtin-imake.mk \ + -f $$dir/builtin-imake.mk -C builtin-imake.$$$$.c \ -s - | \ ${IMAKE_MAKE} -f - builtin-test . endif diff --git a/graphics/freetype2/builtin.mk b/graphics/freetype2/builtin.mk index 29d6f0b40b6..893ddde5f88 100644 --- a/graphics/freetype2/builtin.mk +++ b/graphics/freetype2/builtin.mk @@ -1,4 +1,4 @@ -# $NetBSD: builtin.mk,v 1.4 2005/06/01 18:33:02 jlam Exp $ +# $NetBSD: builtin.mk,v 1.5 2005/06/03 16:03:09 jlam Exp $ BUILTIN_PKG:= freetype2 @@ -18,8 +18,10 @@ PKGSRC_USE_TOOLS+= imake # XXX IMAKE?= ${X11BASE}/bin/imake # XXX . if defined(IMAKE) && exists(${IMAKE}) IS_BUILTIN.freetype2!= \ + dir=`cd ${BUILDLINK_PKGSRCDIR.freetype2} && ${PWD_CMD}`; \ + cd ${TMPDIR:U/tmp:Q} && \ ${IMAKE} -DUseInstalled -I${X11BASE}/lib/X11/config \ - -f ${BUILDLINK_PKGSRCDIR.freetype2}/builtin-imake.mk \ + -f $$dir/builtin-imake.mk -C builtin-imake.$$$$.c \ -s - | \ ${IMAKE_MAKE} -f - builtin-test . endif diff --git a/graphics/glu/builtin.mk b/graphics/glu/builtin.mk index e4ca1e8d17c..665d8512e75 100644 --- a/graphics/glu/builtin.mk +++ b/graphics/glu/builtin.mk @@ -1,4 +1,4 @@ -# $NetBSD: builtin.mk,v 1.5 2005/06/01 18:33:02 jlam Exp $ +# $NetBSD: builtin.mk,v 1.6 2005/06/03 16:03:09 jlam Exp $ BUILTIN_PKG:= glu @@ -18,8 +18,10 @@ PKGSRC_USE_TOOLS+= imake # XXX IMAKE?= ${X11BASE}/bin/imake # XXX . if defined(IMAKE) && exists(${IMAKE}) IS_BUILTIN.glu!= \ + dir=`cd ${BUILDLINK_PKGSRCDIR.glu} && ${PWD_CMD}`; \ + cd ${TMPDIR:U/tmp:Q} && \ ${IMAKE} -DUseInstalled -I${X11BASE}/lib/X11/config \ - -f ${BUILDLINK_PKGSRCDIR.glu}/builtin-imake.mk \ + -f $$dir/builtin-imake.mk -C builtin-imake.$$$$.c \ -s - | \ ${IMAKE_MAKE} -f - builtin-test . endif 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 |