summaryrefslogtreecommitdiff
path: root/desktop/libffi
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2016-06-27 01:23:03 -0700
committerMichael Forney <mforney@mforney.org>2016-06-27 01:23:03 -0700
commit076e97aee176afce9c51eef9c5cd39bbf0609b92 (patch)
tree5a5c6d9538642e53988d79efc45c38194e99f045 /desktop/libffi
parent1f48964d15334a14de99fb4985077e3523f6f9ef (diff)
Reformulate "let" helper into "with"
Diffstat (limited to 'desktop/libffi')
-rw-r--r--desktop/libffi/gen.rc4
1 files changed, 2 insertions, 2 deletions
diff --git a/desktop/libffi/gen.rc b/desktop/libffi/gen.rc
index 9638e1bd..fa073b8e 100644
--- a/desktop/libffi/gen.rc
+++ b/desktop/libffi/gen.rc
@@ -4,13 +4,13 @@ cflags\
-I '$outdir'/include\
-I '$srcdir'/include
-exprs=(\
+build '$outdir'/include/ffi.h sed '$srcdir'/include/ffi.h.in ; exprs=(\
-e s,@VERSION@,3.2.1,\
-e s,@TARGET@,X86_64,\
-e s,@HAVE_LONG_DOUBLE@,1,\
-e s,@HAVE_LONG_DOUBLE_VARIANT@,0,\
-e s,@FFI_EXEC_TRAMPOLINE_TABLE@,0,\
-) let expr $"exprs -- build '$outdir'/include/ffi.h sed '$srcdir'/include/ffi.h.in
+) with expr $"exprs
build '$outdir'/include/ffitarget.h copy '$srcdir'/src/x86/ffitarget.h
hdrs=include/^(ffi.h ffitarget.h)