sam: add support for ppc64 targets

This commit is contained in:
q66 2018-12-14 01:18:23 +01:00 committed by maxice8
parent b1249be7e0
commit 7acc38a98b

View file

@ -4,7 +4,6 @@ version=20180707
revision=1
_githash=cd8efea6bc572a31b1a325f4201ac52cf6760d7e
wrksrc="${pkgname}-${_githash}"
disable_parallel_build=yes
makedepends="libXft-devel libXi-devel libXt-devel"
short_desc="Screen editor with structural regular expressions"
maintainer="Leah Neukirchen <leah@vuxu.org>"
@ -12,6 +11,7 @@ license="MIT-like"
homepage="http://www.deadpixi.com/an-updated-version-of-sam"
distfiles="https://github.com/deadpixi/${pkgname}/archive/${_githash}.tar.gz"
checksum=45e9ddffea47b4d2cc42fb77255445d2bade71e59370851c455a95ea361a92ba
disable_parallel_build=yes
CFLAGS="-std=c99"
post_extract() {
@ -21,7 +21,7 @@ post_extract() {
do_build() {
case "$XBPS_TARGET_MACHINE" in
i686*|armv*) USE64BITS=0;;
x86_64*|aarch64*) USE64BITS=1;;
x86_64*|aarch64*|ppc64*) USE64BITS=1;;
*) msg_error "Unknown word length for $XBPS_TARGET_MACHINE";;
esac