Blame vars/openbsd_baseutils.vars

Lucio Andrés Illanes Albornoz b0e81e
#
Lucio Andrés Illanes Albornoz e1d469
# set +o errexit -o noglob -o nounset is assumed.
Lucio Andrés Illanes Albornoz b0e81e
#
Lucio Andrés Illanes Albornoz b0e81e
Lucio Andrés Illanes Albornoz b0e81e
pkg_openbsd_baseutils_build() {
Lucio Andrés Illanes Albornoz bf9edf
	if ! make -C "${PKG_BUILD_DIR}/libopenbsd" CC="${DEFAULT_TARGET}-gcc --sysroot=${PREFIX_NATIVE}"\
Lucio Andrés Illanes Albornoz bf9edf
	|| ! make -C "${PKG_BUILD_DIR}/pax" CC="${DEFAULT_TARGET}-gcc --sysroot=${PREFIX_NATIVE}"; then
Lucio Andrés Illanes Albornoz bf9edf
		return 1;
Lucio Andrés Illanes Albornoz bf9edf
	fi;
Lucio Andrés Illanes Albornoz b0e81e
};
Lucio Andrés Illanes Albornoz b0e81e
Lucio Andrés Illanes Albornoz 5c2102
pkg_openbsd_baseutils_install_make() {
Lucio Andrés Illanes Albornoz bf9edf
	make -C "${PKG_BUILD_DIR}/pax" install MANDIR="${PKG_DESTDIR}/share/man" PREFIX="${PKG_DESTDIR}";
Lucio Andrés Illanes Albornoz b0e81e
}
Lucio Andrés Illanes Albornoz b0e81e
Lucio Andrés Illanes Albornoz bf9edf
# vim:filetype=sh textwidth=0