Blame subr/pkg_install_make.subr

Lucio Andrés Illanes Albornoz (arab, vxp) c27bea
#
Lucio Andrés Illanes Albornoz (arab, vxp) c27bea
# set -o errexit -o noglob are assumed.
Lucio Andrés Illanes Albornoz (arab, vxp) c27bea
#
Lucio Andrés Illanes Albornoz (arab, vxp) c27bea
Lucio Andrés Illanes Albornoz (arab, vxp) c27bea
pkg_install_make() {
Lucio Andrés Illanes Albornoz (arab, vxp) 32ad21
	ex_run_cmd_unsplit make								\
Lucio Andrés Illanes Albornoz (arab, vxp) c27bea
		${PKG_MAKEFLAGS_INSTALL}						\
Lucio Andrés Illanes Albornoz (arab, vxp) c27bea
		${PKG_MAKEFLAGS_INSTALL_EXTRA}						\
Lucio Andrés Illanes Albornoz (arab, vxp) c27bea
		AR=${AR} CC=${CC} RANLIB=${RANLIB}					\
Lucio Andrés Illanes Albornoz (arab, vxp) c27bea
		"${PKG_CFLAGS_INSTALL:+CFLAGS=${PKG_CFLAGS_INSTALL}}"			\
Lucio Andrés Illanes Albornoz (arab, vxp) c27bea
		"${PKG_CFLAGS_INSTALL_EXTRA:+CFLAGS+=${PKG_CFLAGS_INSTALL_EXTRA}}"	\
Lucio Andrés Illanes Albornoz (arab, vxp) c27bea
		"${PKG_LDFLAGS_INSTALL:+LDFLAGS=${PKG_LDFLAGS_INSTALL}}"		\
Lucio Andrés Illanes Albornoz (arab, vxp) c27bea
		"${PKG_LDFLAGS_INSTALL_EXTRA:+LDFLAGS+=${PKG_LDFLAGS_INSTALL_EXTRA}}"	\
Lucio Andrés Illanes Albornoz (arab, vxp) c27bea
		"${PKG_RANLIB_INSTALL:+RANLIB=${PKG_RANLIB_INSTALL}}"			\
Lucio Andrés Illanes Albornoz (arab, vxp) c27bea
		"LIBTOOL=${PKG_SLIBTOOL:-slibtool}"					\
Lucio Andrés Illanes Albornoz (arab, vxp) 022f7e
		"${PKG_MAKE_INSTALL_VNAME:-DESTDIR}=${PKG_DESTDIR}/"			\
Lucio Andrés Illanes Albornoz (arab, vxp) c27bea
		${PKG_INSTALL_TARGET:=install};
Lucio Andrés Illanes Albornoz (arab, vxp) c27bea
};
Lucio Andrés Illanes Albornoz (arab, vxp) c27bea
Lucio Andrés Illanes Albornoz (arab, vxp) c27bea
# vim:filetype=sh