Path to this page:
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: