[tlbuild] some configure scripts are called without taking into account $CONFIG_SHELL

Vladimir Volovich vvv at vsu.ru
Tue May 15 13:40:38 CEST 2012


Hi Peter,

"PB" == Peter Breitenlohner writes:

 >> with the fixes below the build successfully passed throgh the
 >> freetype compilation so far:
 >> 
 >> ...
 >> 
 >> (of course, libs/freetype/Makefile.am and libs/freetype2/Makefile.am
 >> need to be patched too, since the corresponding Makefile.in files
 >> are generated from the Makefile.am)

 PB> libs/freetype/Makefile.am and libs/freetype2/Makefile.am now
 PB> (r26398) use $(SHELL) [not $(CONFIG_SHELL)] when invoking the
 PB> sub-configure.

 PB> Running 'CONFIG_SHELL=/your/good/shell ./Build' should now do the
 PB> job.

one more place needs to be changed:

--- libs/freetype2/freetype-2.4.9/builds/unix/detect.mk.orig
+++ libs/freetype2/freetype-2.4.9/builds/unix/detect.mk
@@ -80,9 +80,9 @@
   ifdef must_configure
     ifneq ($(have_Makefile),)
       # we are building FT2 not in the src tree
-	      $(TOP_DIR)/builds/unix/configure $(value CFG)
+	      $(SHELL) $(TOP_DIR)/builds/unix/configure $(value CFG)
     else
-	      cd builds/unix; ./configure $(value CFG)
+	      cd builds/unix; $(SHELL) ./configure $(value CFG)
     endif
   endif

Best wishes,
v.


More information about the tlbuild mailing list