summaryrefslogtreecommitdiffhomepage
path: root/vars/texinfo.vars
blob: 38b20cf76ae86d4cf5754096bfe306ac6d2034a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#
# set +o errexit -o noglob -o nounset is assumed.
#

pkg_texinfo_build_pre() {
	if ! rtl_run_cmdlineV ":" "${PKG_MAKE}"					\
			${PKG_MAKEFLAGS_BUILD:-}				\
			${PKG_MAKEFLAGS_BUILD_EXTRA:-}				\
			${PKG_LIBTOOL:+"LIBTOOL=${PKG_LIBTOOL}"}		\
			-C tools						\
	|| ! rtl_run_cmdlineV ":" "${PKG_MAKE}"					\
			${PKG_MAKEFLAGS_BUILD:-}				\
			${PKG_MAKEFLAGS_BUILD_EXTRA:-}				\
			${PKG_LIBTOOL:+"LIBTOOL=${PKG_LIBTOOL}"}		\
			LDFLAGS="-L${PREFIX}/lib -Wl,-rpath,${PREFIX}/lib"	\
			LIBS="-ltinfo"						\
			-C "tools/info";
	then
		return 1;
	fi;
};

# vim:filetype=sh textwidth=0