summaryrefslogtreecommitdiff
path: root/graphics/glu
diff options
context:
space:
mode:
authorjlam <jlam>2005-06-03 16:03:09 +0000
committerjlam <jlam>2005-06-03 16:03:09 +0000
commit90ba403f27828e91e78c8d1d03b539325d6dfe13 (patch)
tree6ff688d167bd932f1e3b23bb6dadeb22ed8f0526 /graphics/glu
parent75fe35a79fdde5180f0c2fdaacf58cb20ba55c51 (diff)
downloadpkgsrc-90ba403f27828e91e78c8d1d03b539325d6dfe13.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/glu')
-rw-r--r--graphics/glu/builtin.mk6
1 files changed, 4 insertions, 2 deletions
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