summaryrefslogtreecommitdiffhomepage
path: root/vars/openbsd_baseutils.vars
blob: e070c6bfdaa1d9fe4ed6a8cb378641753d83de32 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#
# set +o errexit -o noglob -o nounset is assumed.
#

pkg_openbsd_baseutils_build() {
	if ! make -C "${PKG_BUILD_DIR}/libopenbsd" CC="${DEFAULT_TARGET}-gcc --sysroot=${PREFIX_NATIVE}"\
	|| ! make -C "${PKG_BUILD_DIR}/pax" CC="${DEFAULT_TARGET}-gcc --sysroot=${PREFIX_NATIVE}"; then
		return 1;
	fi;
};

pkg_openbsd_baseutils_install_make() {
	make -C "${PKG_BUILD_DIR}/pax" install MANDIR="${PKG_DESTDIR}/share/man" PREFIX="${PKG_DESTDIR}";
}

# vim:filetype=sh textwidth=0