ports/opt (3.5): bubblewrap: build will fail if libxslt is installed witout docbook-xsl, fix check
commit 1342ddf1a937c4b5e9b4de75aabb2c6060881fc4 Author: Danny Rawlins <monster.romster@gmail.com> Date: Sat Dec 7 12:43:16 2019 +1100 bubblewrap: build will fail if libxslt is installed witout docbook-xsl, fix check diff --git a/bubblewrap/.signature b/bubblewrap/.signature index 445e1579c..727cd1903 100644 --- a/bubblewrap/.signature +++ b/bubblewrap/.signature @@ -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 diff --git a/bubblewrap/Pkgfile b/bubblewrap/Pkgfile index 2ffe22962..3308710fd 100644 --- a/bubblewrap/Pkgfile +++ b/bubblewrap/Pkgfile @@ -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
participants (1)
-
crux@crux.nu