summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--vars/texinfo.vars19
1 files changed, 19 insertions, 0 deletions
diff --git a/vars/texinfo.vars b/vars/texinfo.vars
new file mode 100644
index 00000000..82825961
--- /dev/null
+++ b/vars/texinfo.vars
@@ -0,0 +1,19 @@
+#
+# set -o errexit -o noglob are assumed.
+#
+
+pkg_texinfo_build_pre() {
+ ex_rtl_run_cmd_unsplit make \
+ ${PKG_MAKEFLAGS_BUILD} \
+ ${PKG_MAKEFLAGS_BUILD_EXTRA} \
+ "LIBTOOL=${PKG_LIBTOOL:-slibtool}" \
+ -C tools;
+ ex_rtl_run_cmd_unsplit make \
+ ${PKG_MAKEFLAGS_BUILD} \
+ ${PKG_MAKEFLAGS_BUILD_EXTRA} \
+ "LIBTOOL=${PKG_LIBTOOL:-slibtool}" \
+ LDFLAGS="-L${PREFIX}/lib -Wl,-rpath,${PREFIX}/lib" LIBS="-ltinfo" \
+ -C tools/info;
+};
+
+# vim:filetype=sh textwidth=0