aboutsummaryrefslogtreecommitdiffstats
path: root/main/font-sun-misc
diff options
context:
space:
mode:
Diffstat (limited to 'main/font-sun-misc')
-rw-r--r--main/font-sun-misc/APKBUILD8
1 files changed, 6 insertions, 2 deletions
diff --git a/main/font-sun-misc/APKBUILD b/main/font-sun-misc/APKBUILD
index dc13429422..b2919aeb52 100644
--- a/main/font-sun-misc/APKBUILD
+++ b/main/font-sun-misc/APKBUILD
@@ -13,9 +13,13 @@ source="http://xorg.freedesktop.org/releases/individual/font/$pkgname-$pkgver.ta
build() {
cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--with-mapfiles=/usr/share/fonts/util \
- --with-fontdir=/usr/share/fonts/misc
+ --with-fontdir=/usr/share/fonts/misc \
+ || return 1
make || return 1
make -j1 DESTDIR="$pkgdir" MKFONTDIR=: MKFONTSCALE=: install || return 1
}