[crux-commits] ports/contrib (refs/remotes/origin/3.6): shaderc: fix build when asciidoctor is installed.

crux at crux.nu crux at crux.nu
Sat Apr 10 19:05:54 UTC 2021


commit 0e7fc8dbc5854da1b27193dce77f6ba4eea52268
Author: Danny Rawlins <contact at romster.me>
Date:   Fri Feb 5 20:19:30 2021 +1100

    shaderc: fix build when asciidoctor is installed.

diff --git a/shaderc/.signature b/shaderc/.signature
index fdf27f176..c98201c8b 100644
--- a/shaderc/.signature
+++ b/shaderc/.signature
@@ -1,6 +1,6 @@
 untrusted comment: verify with /etc/ports/contrib.pub
-RWSagIOpLGJF30iuq/9PrIl7cUlsUlyR9lukH6zoWT4keYWRa8KEN/6kMbjX6g6fpZZ6KdBUiNG+yDU6BOeiD/P5DeDnz4N+sQw=
-SHA256 (Pkgfile) = 27c0cbca060999a29b9f0dc0474554503fbec6648f8aa3acbcdfa99b47e20495
+RWSagIOpLGJF3xmHJjlBtCzVb5NeEB4deERcrK/KVB8VUnSVWV7vqeCqHouRgiBoKi28tjkHX4NFJ7GrY+2gv//B5XE55ORS7QQ=
+SHA256 (Pkgfile) = 07cdbb60a0c04dadcae7e9f2db6b793444e211f0ab990731a8c8090b576d5446
 SHA256 (.footprint) = a55f4db9a8f36310df010a88256abef6d13753f525ff212c4e7dcb390e6c1e66
 SHA256 (shaderc-v2020.3.tar.gz) = e595f71d0db0c37ee959b538cfda16e39e3f0dce8893a0bc0ac0080c342c0275
 SHA256 (glslc.1) = 468467ab0ec0eac2b221563ef370826443c22cee55f11f6dc8be81b168e3e492
diff --git a/shaderc/Pkgfile b/shaderc/Pkgfile
index ddc167b5c..235984fd5 100644
--- a/shaderc/Pkgfile
+++ b/shaderc/Pkgfile
@@ -40,17 +40,18 @@ EOF
 		-Wno-dev
 
 	cmake --build build -j ${JOBS:-1}
-
 	DESTDIR=$PKG cmake --install build
 
 	if [ -e '/usr/bin/asciidoctor' ]; then
-		cd ../glslc
+		cd $name-$version/glslc
 		asciidoctor -b manpage README.asciidoc -o glslc.1
 		install -D -m 0644 -t $PKG/usr/share/man/man1 glslc.1
+		cd -
 
-		cd ../spvc
+		cd $name-$version/spvc
 		asciidoctor -b manpage README.asciidoc -o spvc.1
 		install -D -m 0644 -t $PKG/usr/share/man/man1 spvc.1
+		cd -
 	else
 		install -D -m 0644 -t $PKG/usr/share/man/man1 $SRC/glslc.1
 		install -D -m 0644 -t $PKG/usr/share/man/man1 $SRC/spvc.1


More information about the crux-commits mailing list