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 /x11 | |
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 'x11')
-rw-r--r-- | x11/Xcomposite/builtin.mk | 6 | ||||
-rw-r--r-- | x11/Xfixes/builtin.mk | 6 | ||||
-rw-r--r-- | x11/Xrandr-mixedcase/builtin.mk | 6 | ||||
-rw-r--r-- | x11/Xrender/builtin.mk | 6 | ||||
-rw-r--r-- | x11/xcursor/builtin.mk | 6 |
5 files changed, 20 insertions, 10 deletions
diff --git a/x11/Xcomposite/builtin.mk b/x11/Xcomposite/builtin.mk index 1896c1d0ca8..5c5011d5f38 100644 --- a/x11/Xcomposite/builtin.mk +++ b/x11/Xcomposite/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:= Xcomposite @@ -19,8 +19,10 @@ PKGSRC_USE_TOOLS+= imake # XXX IMAKE?= ${X11BASE}/bin/imake # XXX . if defined(IMAKE) && exists(${IMAKE}) IS_BUILTIN.Xcomposite!= \ + dir=`cd ${BUILDLINK_PKGSRCDIR.Xcomposite} && ${PWD_CMD}`; \ + cd ${TMPDIR:U/tmp:Q} && \ ${IMAKE} -DUseInstalled -I${X11BASE}/lib/X11/config \ - -f ${BUILDLINK_PKGSRCDIR.Xcomposite}/builtin-imake.mk \ + -f $$dir/builtin-imake.mk -C builtin-imake.$$$$.c \ -s - | \ ${IMAKE_MAKE} -f - builtin-test . endif diff --git a/x11/Xfixes/builtin.mk b/x11/Xfixes/builtin.mk index fe09ed11822..cd16893492d 100644 --- a/x11/Xfixes/builtin.mk +++ b/x11/Xfixes/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:= Xfixes @@ -18,8 +18,10 @@ PKGSRC_USE_TOOLS+= imake # XXX IMAKE?= ${X11BASE}/bin/imake # XXX . if defined(IMAKE) && exists(${IMAKE}) IS_BUILTIN.Xfixes!= \ + dir=`cd ${BUILDLINK_PKGSRCDIR.Xfixes} && ${PWD_CMD}`; \ + cd ${TMPDIR:U/tmp:Q} && \ ${IMAKE} -DUseInstalled -I${X11BASE}/lib/X11/config \ - -f ${BUILDLINK_PKGSRCDIR.Xfixes}/builtin-imake.mk \ + -f $$dir/builtin-imake.mk -C builtin-imake.$$$$.c \ -s - | \ ${IMAKE_MAKE} -f - builtin-test . endif diff --git a/x11/Xrandr-mixedcase/builtin.mk b/x11/Xrandr-mixedcase/builtin.mk index a36ee760ca4..73975128da4 100644 --- a/x11/Xrandr-mixedcase/builtin.mk +++ b/x11/Xrandr-mixedcase/builtin.mk @@ -1,4 +1,4 @@ -# $NetBSD: builtin.mk,v 1.9 2005/06/01 18:33:02 jlam Exp $ +# $NetBSD: builtin.mk,v 1.10 2005/06/03 16:03:09 jlam Exp $ BUILTIN_PKG:= Xrandr @@ -18,8 +18,10 @@ PKGSRC_USE_TOOLS+= imake # XXX IMAKE?= ${X11BASE}/bin/imake # XXX . if defined(IMAKE) && exists(${IMAKE}) IS_BUILTIN.Xrandr!= \ + dir=`cd ${BUILDLINK_PKGSRCDIR.Xrandr} && ${PWD_CMD}`; \ + cd ${TMPDIR:U/tmp:Q} && \ ${IMAKE} -DUseInstalled -I${X11BASE}/lib/X11/config \ - -f ${BUILDLINK_PKGSRCDIR.Xrandr}/builtin-imake.mk \ + -f $$dir/builtin-imake.mk -C builtin-imake.$$$$.c \ -s - | \ ${IMAKE_MAKE} -f - builtin-test . endif diff --git a/x11/Xrender/builtin.mk b/x11/Xrender/builtin.mk index f0b1a7cd841..452564b2c8c 100644 --- a/x11/Xrender/builtin.mk +++ b/x11/Xrender/builtin.mk @@ -1,4 +1,4 @@ -# $NetBSD: builtin.mk,v 1.8 2005/06/01 18:33:02 jlam Exp $ +# $NetBSD: builtin.mk,v 1.9 2005/06/03 16:03:09 jlam Exp $ BUILTIN_PKG:= Xrender @@ -17,8 +17,10 @@ PKGSRC_USE_TOOLS+= imake # XXX IMAKE?= ${X11BASE}/bin/imake # XXX . if defined(IMAKE) && exists(${IMAKE}) IS_BUILTIN.Xrender!= \ + dir=`cd ${BUILDLINK_PKGSRCDIR.Xrender} && ${PWD_CMD}`; \ + cd ${TMPDIR:U/tmp:Q} && \ ${IMAKE} -DUseInstalled -I${X11BASE}/lib/X11/config \ - -f ${BUILDLINK_PKGSRCDIR.Xrender}/builtin-imake.mk \ + -f $$dir/builtin-imake.mk -C builtin-imake.$$$$.c \ -s - | \ ${IMAKE_MAKE} -f - builtin-test . endif diff --git a/x11/xcursor/builtin.mk b/x11/xcursor/builtin.mk index 807b50772db..d3798e46e35 100644 --- a/x11/xcursor/builtin.mk +++ b/x11/xcursor/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:= xcursor @@ -18,8 +18,10 @@ PKGSRC_USE_TOOLS+= imake # XXX IMAKE?= ${X11BASE}/bin/imake # XXX . if defined(IMAKE) && exists(${IMAKE}) IS_BUILTIN.xcursor!= \ + dir=`cd ${BUILDLINK_PKGSRCDIR.xcursor} && ${PWD_CMD}`; \ + cd ${TMPDIR:U/tmp:Q} && \ ${IMAKE} -DUseInstalled -I${X11BASE}/lib/X11/config \ - -f ${BUILDLINK_PKGSRCDIR.xcursor}/builtin-imake.mk \ + -f $$dir/builtin-imake.mk -C builtin-imake.$$$$.c \ -s - | \ ${IMAKE_MAKE} -f - builtin-test . endif |