summaryrefslogtreecommitdiff
path: root/fonts/Xft2
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2005-06-03 16:03:09 +0000
committerjlam <jlam@pkgsrc.org>2005-06-03 16:03:09 +0000
commit88aeda0672fa490034a9ac2a5ef7f759896ed831 (patch)
tree6ff688d167bd932f1e3b23bb6dadeb22ed8f0526 /fonts/Xft2
parentfbc1e6ed01e44e1115543052d333078a093f9dc5 (diff)
downloadpkgsrc-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 'fonts/Xft2')
-rw-r--r--fonts/Xft2/builtin.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/fonts/Xft2/builtin.mk b/fonts/Xft2/builtin.mk
index d91b108a0a9..9ca295d32d8 100644
--- a/fonts/Xft2/builtin.mk
+++ b/fonts/Xft2/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:= Xft2
@@ -18,8 +18,10 @@ PKGSRC_USE_TOOLS+= imake # XXX
IMAKE?= ${X11BASE}/bin/imake # XXX
. if defined(IMAKE) && exists(${IMAKE})
IS_BUILTIN.Xft2!= \
+ dir=`cd ${BUILDLINK_PKGSRCDIR.Xft2} && ${PWD_CMD}`; \
+ cd ${TMPDIR:U/tmp:Q} && \
${IMAKE} -DUseInstalled -I${X11BASE}/lib/X11/config \
- -f ${BUILDLINK_PKGSRCDIR.Xft2}/builtin-imake.mk \
+ -f $$dir/builtin-imake.mk -C builtin-imake.$$$$.c \
-s - | \
${IMAKE_MAKE} -f - builtin-test
. endif