summaryrefslogtreecommitdiff
path: root/extra/libnl
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 /extra/libnl
parent1f48964d15334a14de99fb4985077e3523f6f9ef (diff)
Reformulate "let" helper into "with"
Diffstat (limited to 'extra/libnl')
-rw-r--r--extra/libnl/gen.rc5
1 files changed, 2 insertions, 3 deletions
diff --git a/extra/libnl/gen.rc b/extra/libnl/gen.rc
index 62e0a465..d16e52e8 100644
--- a/extra/libnl/gen.rc
+++ b/extra/libnl/gen.rc
@@ -27,7 +27,7 @@ hdrs=include/netlink/^(\
utils.h\
)
for(hdr in $hdrs) build '$outdir'/$hdr copy '$srcdir'/$hdr
-exprs=(\
+build '$outdir'/include/netlink/version.h sed '$srcdir'/include/netlink/version.h.in ; exprs=(\
-e s,@PACKAGE_STRING@,'''libnl 3.2.27''',\
-e s,@PACKAGE_VERSION@,3.2.27,\
-e s,@MAJ_VERSION@,3,\
@@ -36,8 +36,7 @@ exprs=(\
-e s,@LT_CURRENT@,222,\
-e s,@LT_REVISION@,0,\
-e s,@LT_AGE@,22,\
-) let expr $"exprs --\
- build '$outdir'/include/netlink/version.h sed '$srcdir'/include/netlink/version.h.in
+) with expr $"exprs
hdrs=($hdrs include/netlink/version.h)
phony headers '$outdir'/$hdrs