Subject: CVS commit: pkgsrc
From: Johnny C. Lam
Date: 2005-06-03 19:02:36
Message id: 20050603170236.E0D502DA27@cvs.netbsd.org

Log Message:
Only check for the existence of the first word of ${IMAKE} since it may
contain a command plus arguments.  We use the standard idiom to extract
the first word of a list stored in a make variable:

	VAR_CMD=	${VAR:C/^/_asdf_/1:M_asdf_*:S/^_asdf_//}

XXX This can be replaced with a more succinct use of variable modifiers
XXX when we update the bootstrap bmake to match the latest NetBSD make
XXX sources, i.e.:
XXX
XXX	VAR_CMD=	${VAR:[1]}

Files:
RevisionActionfile
1.10modifypkgsrc/fonts/Xft2/builtin.mk
1.6modifypkgsrc/fonts/fontconfig/builtin.mk
1.8modifypkgsrc/graphics/MesaLib/builtin.mk
1.6modifypkgsrc/graphics/freetype2/builtin.mk
1.7modifypkgsrc/graphics/glu/builtin.mk
1.9modifypkgsrc/graphics/xpm/builtin.mk
1.6modifypkgsrc/textproc/expat/builtin.mk
1.8modifypkgsrc/x11/Xcomposite/builtin.mk
1.7modifypkgsrc/x11/Xfixes/builtin.mk
1.11modifypkgsrc/x11/Xrandr/builtin.mk
1.10modifypkgsrc/x11/Xrender/builtin.mk
1.8modifypkgsrc/x11/xcursor/builtin.mk