diff options
author | dillo <dillo> | 2005-06-02 22:48:18 +0000 |
---|---|---|
committer | dillo <dillo> | 2005-06-02 22:48:18 +0000 |
commit | 1f5675243d04fa914512545c3ba6252be22fa6e4 (patch) | |
tree | 52703f4d3cc9f2a33056985396eda2ac7eba5f61 /graphics | |
parent | 9f52c3ca86a2b62de5c775e0360a4a6e53916220 (diff) | |
download | pkgsrc-1f5675243d04fa914512545c3ba6252be22fa6e4.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.mk | 4 |
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 \ |