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

pkg_openbsd_baseutils_build() {
	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}"
};

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

# vim:filetype=sh