From d52f57dbc19aa0a3a94b27a32ef795389af845f9 Mon Sep 17 00:00:00 2001 From: sulincix Date: Sat, 7 Jan 2023 11:53:52 +0000 Subject: [PATCH] kmod remove xsltproc build dependency --- sys/apps/kmod/ympbuild | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/sys/apps/kmod/ympbuild b/sys/apps/kmod/ympbuild index 60a098a3..aeaefa17 100644 --- a/sys/apps/kmod/ympbuild +++ b/sys/apps/kmod/ympbuild @@ -15,6 +15,8 @@ group=(sys.apps) uses=() arch=('x86_64') +export PATH=$HOME:$PATH + cd $name-$version prepare(){ @@ -27,6 +29,9 @@ setup(){ ./configure --prefix=/usr \ --libdir=/lib64/ \ --bindir=/bin + # remove xsltproc dependency + rm -f man/Makefile + echo -e "all:\ninstall:" > man/Makefile } build(){ @@ -37,7 +42,7 @@ package(){ make install -j`nproc` mkdir -p ${DESTDIR}/usr/bin for tool in {ins,ls,rm,dep}mod mod{probe,info}; do - ln -s ../../bin/kmod "${DESTDIR}/usr/bin/$tool" + ln -s ../../bin/kmod "${DESTDIR}/usr/bin/$tool" done }