aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2018-10-11 14:42:02 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2018-10-11 14:43:59 +0000
commitfde93c49a55b265ca740d9081a4ca70f41656e4b (patch)
tree9c5d03faca256e3ee4636935c42d34cb249651aa
parent7662bc3e73b9b9564888c16b52c19510deae62d2 (diff)
downloadaports-fde93c49a55b265ca740d9081a4ca70f41656e4b.tar.bz2
testing/anthy: attempt to fix build on ppc64le
-rw-r--r--testing/anthy/APKBUILD10
1 files changed, 9 insertions, 1 deletions
diff --git a/testing/anthy/APKBUILD b/testing/anthy/APKBUILD
index 4e1e9d0..e78e2d3 100644
--- a/testing/anthy/APKBUILD
+++ b/testing/anthy/APKBUILD
@@ -2,7 +2,7 @@
pkgname=anthy
pkgver=9100h
_filecode=37536
-pkgrel=0
+pkgrel=1
pkgdesc="Hiragana text to Kana Kanji mixed text Japanese input method"
url="http://sourceforge.jp/projects/anthy/"
arch="all"
@@ -11,9 +11,17 @@ subpackages="$pkgname-dev $pkgname-emacs::noarch"
source="http://dl.sourceforge.jp/anthy/${_filecode}/${pkgname}-${pkgver}.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"
+prepare() {
+ default_prepare
+ update_config_sub
+}
+
build() {
cd "$builddir"
./configure \
+ --host=$CHOST \
+ --build=$CBUILD \
+ --target=$CTARGET \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \