diff options
author | Sören Tempel <soeren+git@soeren-tempel.net> | 2019-10-25 17:23:56 +0200 |
---|---|---|
committer | Sören Tempel <soeren+git@soeren-tempel.net> | 2019-10-25 17:34:28 +0200 |
commit | 32d3ab884f41c4475f3a3faacf981c7392a73981 (patch) | |
tree | 2f179d695d5408fb7b5d50784b5739ef722eace2 /main/check | |
parent | faf09c4120a1feab5d6abf85835f5bbb70584741 (diff) | |
download | aports-32d3ab884f41c4475f3a3faacf981c7392a73981.tar.bz2 aports-32d3ab884f41c4475f3a3faacf981c7392a73981.tar.xz |
main/check: install documentation files again
With the upgrade to 0.13.0 documentation files were no longer installed
since upstream (incorrectly) checks for the presence of tex (instead of
makeinfo) now before installing documentation files.
See: https://github.com/libcheck/check/pull/212/files#r339109071
Diffstat (limited to 'main/check')
-rw-r--r-- | main/check/APKBUILD | 17 | ||||
-rw-r--r-- | main/check/do-not-check-for-tex.patch | 23 |
2 files changed, 36 insertions, 4 deletions
diff --git a/main/check/APKBUILD b/main/check/APKBUILD index 470c825ece..0b6c5bc691 100644 --- a/main/check/APKBUILD +++ b/main/check/APKBUILD @@ -7,10 +7,17 @@ pkgdesc="A unit test framework for C" url="https://libcheck.github.io/check/" arch="all" license="LGPL-2.0-or-later" -makedepends="pkgconfig" +makedepends="pkgconfig texinfo autoconf automake libtool" checkdepends="diffutils gawk" subpackages="$pkgname-doc $pkgname-dev" -source="https://github.com/libcheck/check/releases/download/$pkgver/check-$pkgver.tar.gz" +source="https://github.com/libcheck/check/releases/download/$pkgver/check-$pkgver.tar.gz + do-not-check-for-tex.patch" + +prepare() { + default_prepare + cd "$builddir" + autoreconf -vfi +} build() { cd "$builddir" @@ -20,7 +27,8 @@ build() { --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ - --localstatedir=/var + --localstatedir=/var \ + --enable-build-docs make } @@ -34,4 +42,5 @@ package() { make DESTDIR="$pkgdir" install } -sha512sums="9e3a3b4b2e1aae02f6481a3d944a5a9216c1f03d85a2bbd63c05d047095fe16b78e5c4094b464fe531650daba24c58d7343f7ec059ce0e127e9aff1ff86213d0 check-0.13.0.tar.gz" +sha512sums="9e3a3b4b2e1aae02f6481a3d944a5a9216c1f03d85a2bbd63c05d047095fe16b78e5c4094b464fe531650daba24c58d7343f7ec059ce0e127e9aff1ff86213d0 check-0.13.0.tar.gz +79b421a3154f904350352a787801b4db337bd7fed728e613ee2aad8fc9cdbcfbf2c7ec476a2753780a773a3cb3b54e9e7a4ae1d2ea4bd641e1dd6730d389b628 do-not-check-for-tex.patch" diff --git a/main/check/do-not-check-for-tex.patch b/main/check/do-not-check-for-tex.patch new file mode 100644 index 0000000000..50b7b8e9d9 --- /dev/null +++ b/main/check/do-not-check-for-tex.patch @@ -0,0 +1,23 @@ +Starting with check 0.13.0, check incorrectly checks for the tex instead +of the makeinfo command for building documentation. + +See: + + * https://github.com/libcheck/check/issues/206 + * https://github.com/libcheck/check/pull/212 + +Without this change documentation files (the info page and example code) +which were previously installed are no longer installed. + +diff -upr check-0.13.0.orig/configure.ac check-0.13.0/configure.ac +--- check-0.13.0.orig/configure.ac 2019-10-25 17:17:54.361921908 +0200 ++++ check-0.13.0/configure.ac 2019-10-25 17:18:13.101931933 +0200 +@@ -182,7 +182,7 @@ AC_CHECK_PROGS(LCOV, lcov, false) + AC_CHECK_PROGS(GENHTML, genhtml, false) + + if test "xtrue" = x"$enable_build_docs"; then +- AC_CHECK_PROGS(TEX, tex, false) ++ AC_CHECK_PROGS(TEX, makeinfo, false) + if test "$TEX" = "false"; then + # Make it [somewhat] clear to maintainers that tex is missing. Not an error + # though because 'make install' (which users need) does not build the docs |