Use $(SED) instead of sed.
Kill trailing whitespace in comment, and move it above the define as per
standard look.
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
YASM_VERSION = 1.3.0
YASM_SITE = http://www.tortall.net/projects/yasm/releases
+# This sed prevents it compiling 2 programs (vsyasm and ytasm)
+# that are only of use on Microsoft Windows.
define YASM_PRE_CONFIGURE_FIXUP
-# This sed prevents it compiling 2 programs (vsyasm and ytasm)
-# that are only of use on Microsoft Windows.
- sed -i 's#) ytasm.*#)#' $(@D)/Makefile.in
+ $(SED) 's#) ytasm.*#)#' $(@D)/Makefile.in
endef
YASM_PRE_CONFIGURE_HOOKS += YASM_PRE_CONFIGURE_FIXUP