lilypond: fix secondaryArch (x86) build (2nd try) (#7913)

This commit is contained in:
Joachim Mairböck
2023-03-05 16:04:00 +01:00
committed by GitHub
parent 9fcd40e834
commit ca1b359ff3

View File

@@ -5,7 +5,7 @@ printouts. LilyPond is free software and part of the GNU Project."
HOMEPAGE="https://lilypond.org/"
COPYRIGHT="1993-2023 The LilyPond development team"
LICENSE="GNU GPL v3"
REVISION="1"
REVISION="2"
SOURCE_URI="https://lilypond.org/download/source/v${portVersion%.*}/lilypond-$portVersion.tar.gz"
CHECKSUM_SHA256="d5c59087564a5cd6f08a52ba80e7d6509b91c585e44385dcc0fa39265d181509"
PATCHES="lilypond-$portVersion.patchset"
@@ -173,15 +173,18 @@ INSTALL()
make install-bytecode
PATH=${PATH/.:/} make install-doc
# not using $docDir here because that contains $secondaryArchSuffix
# (which is not used in BUILD() above)
# language specific doc packages
for lang in "${languages[@]}"; do
packageEntries doc_${lang} \
$(find $docDir -name "*.${lang}.*")
$(find $documentationDir/packages/lilypond -name "*.${lang}.*")
done
# generic and english doc package
packageEntries doc \
$docDir $infoDir
$documentationDir/packages $infoDir
}
TEST()