pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/xpm only use the first word of ${IMAKE} to ch...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e24e56621c3b
branches:  trunk
changeset: 495131:e24e56621c3b
user:      dillo <dillo%pkgsrc.org@localhost>
date:      Thu Jun 02 22:48:18 2005 +0000

description:
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:

 graphics/xpm/builtin.mk |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 2ca0901a8a50 -r e24e56621c3b graphics/xpm/builtin.mk
--- a/graphics/xpm/builtin.mk   Thu Jun 02 22:21:18 2005 +0000
+++ b/graphics/xpm/builtin.mk   Thu Jun 02 22:48:18 2005 +0000
@@ -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 @@
 .    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          \



Home | Main Index | Thread Index | Old Index