aboutsummaryrefslogtreecommitdiffstats
path: root/main/imagemagick/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/imagemagick/APKBUILD')
-rw-r--r--main/imagemagick/APKBUILD8
1 files changed, 6 insertions, 2 deletions
diff --git a/main/imagemagick/APKBUILD b/main/imagemagick/APKBUILD
index 0649ef3964..a5b79855ec 100644
--- a/main/imagemagick/APKBUILD
+++ b/main/imagemagick/APKBUILD
@@ -33,7 +33,10 @@ build() {
's:DOCUMENTATION_PATH="${DATA_DIR}/doc/${DOCUMENTATION_RELATIVE_PATH}":DOCUMENTATION_PATH="/usr/share/doc/imagemagick":g' \
configure || die
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
@@ -41,7 +44,8 @@ build() {
--without-x \
--with-gslib \
--with-gs-font-dir=/usr/share/fonts/Type1 \
- --with-modules
+ --with-modules \
+ || return 1
make || return 1
}