From 423c191eb95d8df3004581e3a4d15f28f42c7f44 Mon Sep 17 00:00:00 2001 From: Tijl Coosemans Date: Wed, 27 Aug 2014 19:12:21 +0000 Subject: Convert to USES=libtool. Because the bundled libtool is too old to work with devel/libltdl libtoolize and other autotools are needed. --- emulators/tme/files/patch-configure.in | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 emulators/tme/files/patch-configure.in (limited to 'emulators/tme/files/patch-configure.in') diff --git a/emulators/tme/files/patch-configure.in b/emulators/tme/files/patch-configure.in new file mode 100644 index 000000000000..31e2e1c66d65 --- /dev/null +++ b/emulators/tme/files/patch-configure.in @@ -0,0 +1,25 @@ +--- configure.in.orig ++++ configure.in +@@ -599,7 +599,7 @@ + esac + changequote([, ])dnl + AC_MSG_RESULT([${misc_hosts}]) +-if test "x${misc_hosts}" = no; then ++if test "x${misc_hosts}" = xno; then + misc_hosts= + fi + +@@ -683,11 +683,8 @@ + #define _TMECONFIG_H + + TMEEOF +- (for word in HAVE_ TIME_ PROTO_ ALIGNOF_ SIZEOF_ WORDS_BIGENDIAN; do \ +- grep $word config.h | sed 's/#define[ ]\{1,\}/&_TME_/' ; \ +- done) | sort | uniq >> ${outfile}-tmp +- grep FLOAT_FORMAT config.h | \ +- sed 's/#define[ ]\{1,\}\([A-Za-z0-9_]\{1,\}\)[ ]\{1,\}\([A-Za-z0-9_]\{1,\}\)/#define TME_\1 TME_FLOAT_FORMAT_\2/' >> ${outfile}-tmp ++ sed -e '/FLOAT_FORMAT/ s/#[[:space:]]*define[[:space:]]\{1,\}\([A-Za-z0-9_]\{1,\}\)[[:space:]]\{1,\}\([A-Za-z0-9_]\{1,\}\)/#define TME_\1 TME_FLOAT_FORMAT_\2/' \ ++ -e '/FLOAT_FORMAT/!s/#[[:space:]]*define[[:space:]]\{1,\}/&_TME_/' config.h >> ${outfile}-tmp + echo '#define TME_BUSMAX_LOG2 TME_BUS'${bus_size_max}'_LOG2' >> ${outfile}-tmp + echo '#define TME_HAVE_RECODE (' \ + `if test "x${recode_hosts}" = x; then echo 0; else echo 1; fi` ')' >> ${outfile}-tmp -- cgit v1.2.3