9base: fix build on ppc64 targets
This commit is contained in:
parent
7acc38a98b
commit
ff8ba42296
1 changed files with 4 additions and 3 deletions
|
@ -3,6 +3,7 @@ pkgname=9base
|
||||||
version=6.0.20170806
|
version=6.0.20170806
|
||||||
revision=1
|
revision=1
|
||||||
_githash=09e95a2d6f8dbafc6601147b2f5f150355813be6
|
_githash=09e95a2d6f8dbafc6601147b2f5f150355813be6
|
||||||
|
wrksrc="9base-${_githash}"
|
||||||
build_style=gnu-makefile
|
build_style=gnu-makefile
|
||||||
# we use byacc instead of internal version
|
# we use byacc instead of internal version
|
||||||
hostmakedepends="byacc"
|
hostmakedepends="byacc"
|
||||||
|
@ -11,10 +12,9 @@ maintainer='Tai Chi Minh Ralph Eastwood <tcmreastwood@gmail.com>'
|
||||||
license="custom"
|
license="custom"
|
||||||
homepage="http://git.suckless.org/9base"
|
homepage="http://git.suckless.org/9base"
|
||||||
distfiles="https://repo.voidlinux.de/distfiles/9base-${_githash}.tar.bz2"
|
distfiles="https://repo.voidlinux.de/distfiles/9base-${_githash}.tar.bz2"
|
||||||
provides="plan9port-20160418_4"
|
|
||||||
conflicts="plan9port"
|
|
||||||
checksum=57640696d65a8acbaca5417f1db1dea5ebbc694e8bed0d4ee8a3229f4800dddd
|
checksum=57640696d65a8acbaca5417f1db1dea5ebbc694e8bed0d4ee8a3229f4800dddd
|
||||||
wrksrc="9base-${_githash}"
|
conflicts="plan9port"
|
||||||
|
provides="plan9port-20160418_4"
|
||||||
|
|
||||||
pre_build() {
|
pre_build() {
|
||||||
# These are platform specific, but aarch64 and mips have their
|
# These are platform specific, but aarch64 and mips have their
|
||||||
|
@ -45,6 +45,7 @@ pre_build() {
|
||||||
arm*) sed -i 's|^OBJTYPE \+=.*|OBJTYPE = arm|g' config.mk ;;
|
arm*) sed -i 's|^OBJTYPE \+=.*|OBJTYPE = arm|g' config.mk ;;
|
||||||
aarch64*) sed -i 's|^OBJTYPE \+=.*|OBJTYPE = aarch64|g' config.mk ;;
|
aarch64*) sed -i 's|^OBJTYPE \+=.*|OBJTYPE = aarch64|g' config.mk ;;
|
||||||
mips*) sed -i 's|^OBJTYPE \+=.*|OBJTYPE = mips|g' config.mk ;;
|
mips*) sed -i 's|^OBJTYPE \+=.*|OBJTYPE = mips|g' config.mk ;;
|
||||||
|
ppc64*) sed -i 's|^OBJTYPE \+=.*|OBJTYPE = power|g' config.mk ;;
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue