summaryrefslogtreecommitdiffhomepage
path: root/vars/openbsd_baseutils.vars
blob: e8ce809f3ba725174f5fd008e0f209b76436dca3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#
# set +o errexit -o noglob 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