aboutsummaryrefslogtreecommitdiffstats
path: root/main/ghostscript/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/ghostscript/APKBUILD')
-rw-r--r--main/ghostscript/APKBUILD18
1 files changed, 15 insertions, 3 deletions
diff --git a/main/ghostscript/APKBUILD b/main/ghostscript/APKBUILD
index 69806d87b4..e01a138758 100644
--- a/main/ghostscript/APKBUILD
+++ b/main/ghostscript/APKBUILD
@@ -39,11 +39,22 @@ prepare() {
build(){
# build ijs
cd "$_builddir"/ijs
- ./configure --prefix=/usr --enable-shared --disable-static || return 1
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --enable-shared \
+ --disable-static \
+ || return 1
make
cd "$_builddir"
- ./configure --prefix=/usr \
+
+ # --disable-compile-inits is needed to link with system-zlib
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
@@ -56,7 +67,8 @@ build(){
--enable-gtk \
--with-drivers=FILES \
--with-fontpath=/usr/share/fonts/Type1:/usr/share/fonts \
- --disable-compile-inits # needed for linking with system-zlib
+ --disable-compile-inits \
+ || return 1
make so all || return 1
}