mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 11:15:13 +03:00
testing/fpc: properly workaround textrels
This commit is contained in:
parent
25db127623
commit
b7d922cb15
1 changed files with 6 additions and 8 deletions
|
@ -3,7 +3,7 @@
|
|||
# Maintainer: Maxim Karasev <begs@disroot.org>
|
||||
pkgname=fpc
|
||||
pkgver=3.2.2
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="Free Pascal Compiler"
|
||||
url="http://freepascal.org"
|
||||
# Build fails on ppc64le with compiler segfault
|
||||
|
@ -21,6 +21,11 @@ builddir="$srcdir/fpcbuild-$pkgver"
|
|||
provides="fpc-bootstrap"
|
||||
provider_priority=100 # highest
|
||||
|
||||
# libpas2jslib.so contains textrels on some arches
|
||||
case "$CARCH" in
|
||||
x86|armv7|armhf) options="$options textrels";;
|
||||
esac
|
||||
|
||||
prepare() {
|
||||
default_prepare
|
||||
|
||||
|
@ -60,13 +65,6 @@ package() {
|
|||
|
||||
# Strip pkgdir name from configs
|
||||
find "$pkgdir"/etc/ -type f -exec sed -i "s|$pkgdir||g" {} \;
|
||||
|
||||
# This shared object contains textrels on some arches
|
||||
case "$CARCH" in
|
||||
x86|armv7|armhf)
|
||||
rm "$pkgdir"/usr/lib/libpas2jslib.so
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue