[前][次][番号順一覧][スレッド一覧]

ruby-changes:50299

From: knu <ko1@a...>
Date: Thu, 15 Feb 2018 20:16:57 +0900 (JST)
Subject: [ruby-changes:50299] knu:r62414 (trunk): Avoid using `@` in macro substitution that confuses FreeBSD make

knu	2018-02-15 20:16:51 +0900 (Thu, 15 Feb 2018)

  New Revision: 62414

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=62414

  Log:
    Avoid using `@` in macro substitution that confuses FreeBSD make
    
    ```
    making mjit_config.h
    make: Unknown modifier ' '
    make: Unclosed variable specification (expecting ')') for "Q" (value "") modifier
    /bin/sh: Syntax error: end of file unexpected (expecting "}")
    *** Error code 2
    
    Stop.
    ```
    
    The at sign probably conflicts the `:@temp@string@` modifier syntax
    supported by FreeBSD make.

  Modified files:
    trunk/Makefile.in
Index: Makefile.in
===================================================================
--- Makefile.in	(revision 62413)
+++ Makefile.in	(revision 62414)
@@ -538,7 +538,7 @@ un-runnable: https://github.com/ruby/ruby/blob/trunk/Makefile.in#L538
 mjit_config.h:
 	$(ECHO) making $@
 	@{ \
-	$(Q:@=:) set -x; \
+	test "$(Q)" = @ || set -x; \
 	echo '#ifndef RUBY_MJIT_CONFIG_H'; \
 	echo '#define RUBY_MJIT_CONFIG_H 1'; \
 	\

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]