summaryrefslogtreecommitdiff
path: root/emulators/tme/files/patch-configure.in
diff options
context:
space:
mode:
authorTijl Coosemans <tijl@FreeBSD.org>2014-08-27 19:12:21 +0000
committerTijl Coosemans <tijl@FreeBSD.org>2014-08-27 19:12:21 +0000
commit423c191eb95d8df3004581e3a4d15f28f42c7f44 (patch)
tree0beb1c374f4c2f4c690140959d7948a4abec6b6d /emulators/tme/files/patch-configure.in
parentAdd debug output to staticFiltering unit test (diff)
Convert to USES=libtool. Because the bundled libtool is too old to work
with devel/libltdl libtoolize and other autotools are needed.
Notes
Notes: svn path=/head/; revision=366341
Diffstat (limited to 'emulators/tme/files/patch-configure.in')
-rw-r--r--emulators/tme/files/patch-configure.in25
1 files changed, 25 insertions, 0 deletions
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