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) c27bea
	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) c27bea
		"${PKG_MAKE_INSTALL_VNAME:-DESTDIR}=${PWD}/../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