bubblewrap: build will fail if libxslt is installed witout docbook-xsl, fix check
This commit is contained in:
parent
3a71f722f4
commit
1342ddf1a9
@ -1,6 +1,6 @@
|
||||
untrusted comment: verify with /etc/ports/opt.pub
|
||||
RWSE3ohX2g5d/Rlz+KJfL0IbiLP7XTR5L75Af802tBhf7xlSr5wZyoq6y5eRkLKISUclsxPLlYgAK9fu4AS4NpEBARzYi8O/3QQ=
|
||||
SHA256 (Pkgfile) = ef8f9fc0d3242b3d5bb8d01c8e1bad94d3c26e6de684d2a4025b7abdb66678e0
|
||||
RWSE3ohX2g5d/Xxt+PhpW5Ld3Y6BM5+KnkmuG9/O2Tn1lZRJVDOxUWNURuQVfNcXVopP/s7EdFLhV+Ck7U0nRs3iPz7TLAToYAI=
|
||||
SHA256 (Pkgfile) = 9b2cf8c76b563e1c85653faf1eb1ca2b9649753c14a6e2ffa6c9ced70eece84d
|
||||
SHA256 (.footprint) = e8c8c4e353f4c9362d89a9cf83126409af016d87c19ba0bbc568aeb0c0124038
|
||||
SHA256 (bubblewrap-0.4.0.tar.xz) = e5fe7d2f74bd7029b5306b0b70587cec31f74357739295e5276b4a3718712023
|
||||
SHA256 (bwrap.1) = 3fa7c99c1f98f838f8f22112b9950ee5377d7a084a63f1cadf24fe99e104a5dc
|
||||
|
@ -13,9 +13,14 @@ source=(https://github.com/projectatomic/bubblewrap/releases/download/v$version/
|
||||
build() {
|
||||
cd $name-$version
|
||||
|
||||
prt-get isinst docbook-xsl || install -Dm644 $SRC/bwrap.1 $PKG/usr/share/man/man1/bwrap.1
|
||||
if [ ! -e '/usr/share/xml/docbook/xsl-stylesheets' ]; then
|
||||
# build will fail if libxslt is installed witout docbook-xsl
|
||||
PKGMK_BUBBLEWRAP+=' --disable-man'
|
||||
|
||||
./configure \
|
||||
install -Dm644 $SRC/bwrap.1 $PKG/usr/share/man/man1/bwrap.1
|
||||
fi
|
||||
|
||||
./configure ${PKGMK_BUBBLEWRAP} \
|
||||
--prefix=/usr \
|
||||
--with-priv-mode=setuid
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user