summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authordillo <dillo@pkgsrc.org>2005-06-02 22:48:18 +0000
committerdillo <dillo@pkgsrc.org>2005-06-02 22:48:18 +0000
commit065dda431484c34859d0bc5ed95cbdd3e32bc3e4 (patch)
tree52703f4d3cc9f2a33056985396eda2ac7eba5f61 /graphics
parentcb84dd326ba598d2a8924e4cb5e8a3644eb6f749 (diff)
downloadpkgsrc-065dda431484c34859d0bc5ed95cbdd3e32bc3e4.tar.gz
only use the first word of ${IMAKE} to check whether the executable exists.
XXX: this is a hack, but otherwise the builtin xpm is not recognized on NetBSD.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/xpm/builtin.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/graphics/xpm/builtin.mk b/graphics/xpm/builtin.mk
index ec8b1dee04f..abc72b04bf4 100644
--- a/graphics/xpm/builtin.mk
+++ b/graphics/xpm/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/02 22:48:18 dillo Exp $
BUILTIN_PKG:= xpm
@@ -26,7 +26,7 @@ IS_BUILTIN.xpm= yes
. else
PKGSRC_USE_TOOLS+= imake # XXX
IMAKE?= ${X11BASE}/bin/imake # XXX
-. if defined(IMAKE) && exists(${IMAKE})
+. if defined(IMAKE) && exists(${IMAKE:C/ .*//})
IS_BUILTIN.xpm!= \
${IMAKE} -DUseInstalled -I${X11BASE}/lib/X11/config \
-f ${BUILDLINK_PKGSRCDIR.xpm}/builtin-imake.mk \