mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-05 20:36:40 +02:00
community/portablexdr: update config guess (build fix aarch64)
This commit is contained in:
parent
223dd5c6c0
commit
d32ada8840
@ -17,24 +17,16 @@ source="http://people.redhat.com/~rjones/portablexdr/files/portablexdr-$pkgver.t
|
||||
quad-types.patch
|
||||
"
|
||||
|
||||
_builddir="$srcdir"/portablexdr-$pkgver
|
||||
prepare() {
|
||||
local i
|
||||
cd "$_builddir"
|
||||
for i in $source; do
|
||||
case $i in
|
||||
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
|
||||
esac
|
||||
done
|
||||
builddir="$srcdir"/portablexdr-$pkgver
|
||||
|
||||
# rename byteswap.h so it does not gets pulled in by uclibc headers
|
||||
mv byteswap.h _byteswap.h
|
||||
sed -i -e 's/byteswap\.h/_byteswap.h/g' \
|
||||
Makefile.in *.c
|
||||
prepare() {
|
||||
cd "$builddir"
|
||||
default_prepare || return 1
|
||||
update_config_guess || return 1
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "$_builddir"
|
||||
cd "$builddir"
|
||||
./configure --prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--mandir=/usr/share/man \
|
||||
@ -46,7 +38,7 @@ build() {
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$_builddir"
|
||||
cd "$builddir"
|
||||
make DESTDIR="$pkgdir" install || return 1
|
||||
ln -s portable-rpcgen "$pkgdir"/usr/bin/rpcgen
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user