diff options
Diffstat (limited to 'main')
950 files changed, 5024 insertions, 1518 deletions
diff --git a/main/a2ps/APKBUILD b/main/a2ps/APKBUILD index d5bb45a582..72f35c7a47 100644 --- a/main/a2ps/APKBUILD +++ b/main/a2ps/APKBUILD @@ -36,10 +36,14 @@ prepare() { build() { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc/a2ps \ --includedir=/usr/include \ - --disable-nls || return 1 + --disable-nls \ + || return 1 make } diff --git a/main/a52dec/APKBUILD b/main/a52dec/APKBUILD index 69274feca4..16b63aaddf 100644 --- a/main/a52dec/APKBUILD +++ b/main/a52dec/APKBUILD @@ -27,7 +27,10 @@ prepare() { build () { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --enable-shared \ || return 1 make || return 1 diff --git a/main/abiword/APKBUILD b/main/abiword/APKBUILD index 5845ae2e2c..e961420b04 100644 --- a/main/abiword/APKBUILD +++ b/main/abiword/APKBUILD @@ -46,7 +46,10 @@ prepare() { build() { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --enable-shared \ --disable-static \ --enable-plugins \ diff --git a/main/acct/APKBUILD b/main/acct/APKBUILD index 921cdca414..d0a7142f9b 100644 --- a/main/acct/APKBUILD +++ b/main/acct/APKBUILD @@ -25,10 +25,14 @@ build() { cd "$srcdir/$pkgname-$pkgver" # seems like this makefile does not respect DESTDIR - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --mandir="$pkgdir"/usr/share/man \ --infodir="$pkgdir"/usr/share/info \ - --enable-linux-multiformat + --enable-linux-multiformat \ + || return 1 make LDADD="-lm lib/libgnu.la" || return 1 } diff --git a/main/acl/APKBUILD b/main/acl/APKBUILD index bed3e6301c..de8153af4a 100644 --- a/main/acl/APKBUILD +++ b/main/acl/APKBUILD @@ -29,7 +29,10 @@ build() { unset PLATFORM export OPTIMIZER="${CFLAGS}" export DEBUG=-DNDEBUG - CONFIG_SHELL=/bin/sh ./configure --prefix=/usr \ + CONFIG_SHELL=/bin/sh ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --libdir=/lib \ --libexecdir=/usr/lib \ --disable-gettext \ diff --git a/main/afpfs-ng/APKBUILD b/main/afpfs-ng/APKBUILD index d5f94c3716..347b149407 100644 --- a/main/afpfs-ng/APKBUILD +++ b/main/afpfs-ng/APKBUILD @@ -41,7 +41,10 @@ build() { if [ "$ALPINE_LIBC" != "eglibc" ]; then export LDFLAGS="$LDFLAGS -liconv" fi - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ diff --git a/main/alpine/APKBUILD b/main/alpine/APKBUILD index e379a371ab..fe37375374 100644 --- a/main/alpine/APKBUILD +++ b/main/alpine/APKBUILD @@ -37,12 +37,16 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --without-passfile \ --without-tcl \ --disable-shared \ --with-system-pinerc=/etc/alpine.d/pine.conf \ - --with-system-fixed-pinerc=/etc/alpine.d/pine.conf.fixed + --with-system-fixed-pinerc=/etc/alpine.d/pine.conf.fixed \ + || return 1 make } diff --git a/main/alsa-lib/APKBUILD b/main/alsa-lib/APKBUILD index 7b967df1ac..ab945f67f5 100644 --- a/main/alsa-lib/APKBUILD +++ b/main/alsa-lib/APKBUILD @@ -11,7 +11,10 @@ subpackages="$pkgname-dev" source="http://alsa.cybermirror.org/lib/$pkgname-$pkgver.tar.bz2" build() { cd "$srcdir/$pkgname-$pkgver" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --disable-python \ --disable-static \ --disable-resmgr \ diff --git a/main/alsa-utils/APKBUILD b/main/alsa-utils/APKBUILD index e9e60510b6..ea0db53006 100644 --- a/main/alsa-utils/APKBUILD +++ b/main/alsa-utils/APKBUILD @@ -30,7 +30,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --disable-xmlto \ --disable-nls \ || return 1 diff --git a/main/apache-mod-auth-kerb/APKBUILD b/main/apache-mod-auth-kerb/APKBUILD index 9e4dfd66ae..3ccc9f8e92 100644 --- a/main/apache-mod-auth-kerb/APKBUILD +++ b/main/apache-mod-auth-kerb/APKBUILD @@ -29,10 +29,14 @@ prepare() { build() { cd $srcdir/$_pkgname-$pkgver - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --with-krb5=/usr \ --without-krb4 \ - --with-apache=/usr + --with-apache=/usr \ + || return 1 make -j1 || return 1 } diff --git a/main/apache2/APKBUILD b/main/apache2/APKBUILD index db5d211c85..9b689ac912 100644 --- a/main/apache2/APKBUILD +++ b/main/apache2/APKBUILD @@ -37,7 +37,10 @@ prepare() { build() { cd "$srcdir"/httpd-$pkgver - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --enable-layout=Alpine \ --enable-so \ --enable-suexec \ @@ -52,15 +55,19 @@ build() { --with-pcre=/usr \ --enable-mods-shared=all \ --enable-mpms-shared=all \ - --enable-ssl --with-ssl \ + --enable-ssl \ + --with-ssl \ --enable-proxy \ --enable-cache \ --enable-disk-cache \ --enable-mem-cache \ --enable-file-cache \ - --enable-ldap --enable-authnz-ldap \ - --enable-cgid --enable-cgi \ - --enable-authn-anon --enable-authn-alias \ + --enable-ldap \ + --enable-authnz-ldap \ + --enable-cgid \ + --enable-cgi \ + --enable-authn-anon \ + --enable-authn-alias \ --disable-imagemap \ --enable-proxy-connect \ --enable-proxy-http \ diff --git a/main/apcupsd/APKBUILD b/main/apcupsd/APKBUILD index eb04436737..31a6d5a1ba 100644 --- a/main/apcupsd/APKBUILD +++ b/main/apcupsd/APKBUILD @@ -22,10 +22,14 @@ build() { export LANG="C" ac_cv_path_SHUTDOWN="/sbin/poweroff" \ - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --mandir=/usr/share/man \ --enable-usb \ - --enable-snmp + --enable-snmp \ + || return 1 make || return 1 } diff --git a/main/apr-util/APKBUILD b/main/apr-util/APKBUILD index 313fe053dc..f08d81db30 100644 --- a/main/apr-util/APKBUILD +++ b/main/apr-util/APKBUILD @@ -17,7 +17,10 @@ source="http://www.apache.org/dist/apr/$pkgname-$pkgver.tar.bz2" build() { cd "$srcdir/$pkgname-$pkgver" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --with-apr=/usr \ --with-ldap \ --with-pgsql \ diff --git a/main/apr/APKBUILD b/main/apr/APKBUILD index 6c0546caf3..fe1bfb7e5a 100644 --- a/main/apr/APKBUILD +++ b/main/apr/APKBUILD @@ -21,10 +21,14 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --datadir=/usr/share \ --enable-nonportable-atomics \ - --with-devrandom=/dev/urandom + --with-devrandom=/dev/urandom \ + || return 1 make || return 1 } diff --git a/main/argp-standalone/APKBUILD b/main/argp-standalone/APKBUILD index 74765d5dec..485930bb31 100644 --- a/main/argp-standalone/APKBUILD +++ b/main/argp-standalone/APKBUILD @@ -26,7 +26,11 @@ prepare() { } build() { cd "$_builddir" - ./configure --prefix=/usr + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 } package() { diff --git a/main/aria2/APKBUILD b/main/aria2/APKBUILD index 7ff9aeff50..466093ad9b 100644 --- a/main/aria2/APKBUILD +++ b/main/aria2/APKBUILD @@ -27,7 +27,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --disable-nls \ --with-ca-bundle=/etc/ssl/certs/ca-certificates.crt \ || return 1 diff --git a/main/arpwatch/APKBUILD b/main/arpwatch/APKBUILD index 6679be4dab..94ce2ce64d 100644 --- a/main/arpwatch/APKBUILD +++ b/main/arpwatch/APKBUILD @@ -53,10 +53,14 @@ prepare() { build() { cd $_builddir - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ - --infodir=/usr/share/info + --infodir=/usr/share/info \ + || return 1 make -j1 || return 1 } diff --git a/main/asciidoc/APKBUILD b/main/asciidoc/APKBUILD index 31657e05d6..60f233058e 100644 --- a/main/asciidoc/APKBUILD +++ b/main/asciidoc/APKBUILD @@ -25,7 +25,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ diff --git a/main/aspell-en/APKBUILD b/main/aspell-en/APKBUILD index be1621e2b3..7f79a21b39 100644 --- a/main/aspell-en/APKBUILD +++ b/main/aspell-en/APKBUILD @@ -13,7 +13,10 @@ source="ftp://ftp.gnu.org/gnu/aspell/dict/en/aspell6-en-$pkgver-0.tar.bz2" _builddir="$srcdir"/aspell6-en-$pkgver-0 build () { cd "$_builddir" - ./configure || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + || return 1 make || return 1 } diff --git a/main/aspell/APKBUILD b/main/aspell/APKBUILD index bbb75cf77f..7397ce1ace 100644 --- a/main/aspell/APKBUILD +++ b/main/aspell/APKBUILD @@ -16,7 +16,11 @@ source="ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz build() { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 # we want add -lm to linker flag for libaspell so wil build that # separately. this is just an ugly workaround diff --git a/main/asterisk/APKBUILD b/main/asterisk/APKBUILD index b994cdc79f..69d3cadb22 100644 --- a/main/asterisk/APKBUILD +++ b/main/asterisk/APKBUILD @@ -67,16 +67,27 @@ prepare() { build() { cd "$_builddir" - SHA1SUM="$PWD"/build_tools/sha1sum-sh ./configure --prefix=/usr \ + SHA1SUM="$PWD"/build_tools/sha1sum-sh ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --libdir=/usr/lib \ --localstatedir=/var \ - --disable-xmldoc --with-gsm=internal \ - --without-iconv --with-popt --with-z --with-newt \ - --with-unixodbc --with-postgres --with-tds \ - --with-dahdi --with-pri --with-tonezone \ + --disable-xmldoc \ + --with-gsm=internal \ + --without-iconv \ + --with-popt \ + --with-z \ + --with-newt \ + --with-unixodbc \ + --with-postgres \ + --with-tds \ + --with-dahdi \ + --with-pri \ + --with-tonezone \ --with-resample \ --with-sqlite3 \ --with-speex \ diff --git a/main/at-spi2-atk/APKBUILD b/main/at-spi2-atk/APKBUILD index 217c70a6fe..6ff338f1de 100644 --- a/main/at-spi2-atk/APKBUILD +++ b/main/at-spi2-atk/APKBUILD @@ -27,7 +27,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ diff --git a/main/at-spi2-core/APKBUILD b/main/at-spi2-core/APKBUILD index 1442926c1c..0e5eb5ad2e 100644 --- a/main/at-spi2-core/APKBUILD +++ b/main/at-spi2-core/APKBUILD @@ -27,7 +27,10 @@ prepare() { build() { cd "$_builddir" - DATADIRNAME="share" ./configure --prefix=/usr \ + DATADIRNAME="share" ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ || return 1 diff --git a/main/aterm/APKBUILD b/main/aterm/APKBUILD index e6b10ac440..0cab852435 100644 --- a/main/aterm/APKBUILD +++ b/main/aterm/APKBUILD @@ -16,12 +16,16 @@ build () { cd "$srcdir"/$pkgname-$pkgver patch -p1 < ../uclibc.patch || return 1 - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --enable-transparency=yes \ --enable-background-image \ --enable-fading \ --enable-menubar \ - --enable-graphics + --enable-graphics \ + || return 1 make || return 1 make prefix="$pkgdir"/usr install } diff --git a/main/atk/APKBUILD b/main/atk/APKBUILD index 510bb9be95..005aa371af 100644 --- a/main/atk/APKBUILD +++ b/main/atk/APKBUILD @@ -14,7 +14,10 @@ source="http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$p depends_dev="glib-dev" build() { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --enable-introspection \ || return 1 make || return 1 diff --git a/main/atkmm/APKBUILD b/main/atkmm/APKBUILD index da8a981d20..d2d64639c0 100644 --- a/main/atkmm/APKBUILD +++ b/main/atkmm/APKBUILD @@ -15,7 +15,11 @@ replaces="gtkmm" _builddir="$srcdir"/$pkgname-$pkgver build() { cd "$_builddir" - ./configure --prefix=/usr + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make } diff --git a/main/attr/APKBUILD b/main/attr/APKBUILD index a21e209ffa..c17cdd4f87 100644 --- a/main/attr/APKBUILD +++ b/main/attr/APKBUILD @@ -32,6 +32,8 @@ build() { export DEBUG=-DNDEBUG ./configure \ + --build=$CBUILD \ + --host=$CHOST \ --prefix=/ \ --exec-prefix=/ \ --sbindir=/bin \ @@ -42,7 +44,8 @@ build() { --includedir=/usr/include \ --mandir=/usr/share/man \ --datadir=/usr/share \ - --disable-gettext || return 1 + --disable-gettext \ + || return 1 make LIBTOOL="libtool --tag=CC" || return 1 } diff --git a/main/audacious-plugins/APKBUILD b/main/audacious-plugins/APKBUILD index 6f7ba5c0ea..7ada856711 100644 --- a/main/audacious-plugins/APKBUILD +++ b/main/audacious-plugins/APKBUILD @@ -75,7 +75,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ diff --git a/main/audacity/APKBUILD b/main/audacity/APKBUILD index e2fbe3b8d5..8333048c5d 100644 --- a/main/audacity/APKBUILD +++ b/main/audacity/APKBUILD @@ -29,7 +29,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --with-libsndfile=system \ diff --git a/main/augeas/APKBUILD b/main/augeas/APKBUILD index 3536fbae88..ff7366c1fc 100644 --- a/main/augeas/APKBUILD +++ b/main/augeas/APKBUILD @@ -29,10 +29,14 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ - --infodir=/usr/share/info + --infodir=/usr/share/info \ + || return 1 make || return 1 make tests || return 1 } diff --git a/main/aumix/APKBUILD b/main/aumix/APKBUILD index 6a2f304cfa..aef2bae5e9 100644 --- a/main/aumix/APKBUILD +++ b/main/aumix/APKBUILD @@ -18,11 +18,15 @@ prepare() { build() { cd "$srcdir"/aumix-$pkgver - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --mandir=/usr/share/man \ --without-gtk1 \ --without-gtk \ - --disable-nls + --disable-nls \ + || return 1 make || return 1 } diff --git a/main/autoconf/APKBUILD b/main/autoconf/APKBUILD index e93797575a..b29fadad06 100644 --- a/main/autoconf/APKBUILD +++ b/main/autoconf/APKBUILD @@ -24,7 +24,11 @@ prepare() { build() { cd "$srcdir"/$pkgname-$pkgver - M4=/usr/bin/m4 ./configure --prefix=/usr + M4=/usr/bin/m4 ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 } diff --git a/main/autoconf2.13/APKBUILD b/main/autoconf2.13/APKBUILD index 0265210f70..f21a0dd0c4 100644 --- a/main/autoconf2.13/APKBUILD +++ b/main/autoconf2.13/APKBUILD @@ -25,7 +25,12 @@ prepare() { build() { cd "$_builddir" - M4=/usr/bin/m4 ./configure --prefix=/usr --program-suffix=-2.13 + M4=/usr/bin/m4 ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --program-suffix=-2.13 \ + || return 1 make || return 1 } diff --git a/main/automake/APKBUILD b/main/automake/APKBUILD index ce12dadc6d..96f2e24e41 100644 --- a/main/automake/APKBUILD +++ b/main/automake/APKBUILD @@ -13,7 +13,11 @@ subpackages="$pkgname-doc" build() { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 } diff --git a/main/avahi/APKBUILD b/main/avahi/APKBUILD index 05b9a54098..bad49f3f6d 100644 --- a/main/avahi/APKBUILD +++ b/main/avahi/APKBUILD @@ -33,7 +33,10 @@ build () { cd "$srcdir/$pkgname-$pkgver" # we dont build autoipd since dhcpcd does same job - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --disable-autoipd \ @@ -47,7 +50,8 @@ build () --enable-compat-libdns_sd \ --enable-compat-howl \ --with-distro="gentoo" \ - --with-systemdsystemunitdir=/lib/systemd/system + --with-systemdsystemunitdir=/lib/systemd/system \ + || return 1 make } diff --git a/main/avfs/APKBUILD b/main/avfs/APKBUILD index 47c5c0218e..f4db7bb02f 100644 --- a/main/avfs/APKBUILD +++ b/main/avfs/APKBUILD @@ -22,7 +22,13 @@ prepare() { build() { cd "$_builddir" - ./configure --enable-fuse --enable-library --prefix=/usr + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --enable-fuse \ + --enable-library \ + --prefix=/usr \ + || return 1 make || return 1 } diff --git a/main/axel/APKBUILD b/main/axel/APKBUILD index 1c2051c51f..e7b94c7c40 100644 --- a/main/axel/APKBUILD +++ b/main/axel/APKBUILD @@ -27,7 +27,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --etcdir=/etc \ --mandir=/usr/share/man \ --i18n=0 \ diff --git a/main/babl/APKBUILD b/main/babl/APKBUILD index 2875aaf678..e3ea93c136 100644 --- a/main/babl/APKBUILD +++ b/main/babl/APKBUILD @@ -13,7 +13,11 @@ source="ftp://ftp.gimp.org/pub/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2" build() { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 } diff --git a/main/bacula-client/APKBUILD b/main/bacula-client/APKBUILD index 4b8956089d..0b69988b60 100644 --- a/main/bacula-client/APKBUILD +++ b/main/bacula-client/APKBUILD @@ -44,24 +44,28 @@ prepare () { build() { cd "$_builddir" - ./configure --prefix=/usr \ - --sysconfdir=/etc/bacula \ - --localstatedir=/var \ - --mandir=/usr/share/man \ - --docdir=/usr/share/doc \ - --infodir=/usr/share/info \ - --with-pid-dir=/var/run \ - --with-subsys-dir=/var/lock/subsys \ - --with-logdir=/var/log/bacula \ - --enable-largefile \ - --enable-client-only \ - --enable-smartalloc \ - --disable-nls \ - --with-openssl=/usr/include/openssl \ - --with-scriptdir=/etc/bacula/scripts \ - --with-working-dir=/var/lib/bacula \ - --with-fd-user=root \ - --with-fd-group=root + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc/bacula \ + --localstatedir=/var \ + --mandir=/usr/share/man \ + --docdir=/usr/share/doc \ + --infodir=/usr/share/info \ + --with-pid-dir=/var/run \ + --with-subsys-dir=/var/lock/subsys \ + --with-logdir=/var/log/bacula \ + --enable-largefile \ + --enable-client-only \ + --enable-smartalloc \ + --disable-nls \ + --with-openssl=/usr/include/openssl \ + --with-scriptdir=/etc/bacula/scripts \ + --with-working-dir=/var/lib/bacula \ + --with-fd-user=root \ + --with-fd-group=root \ + || return 1 make || return 1 } diff --git a/main/bacula/APKBUILD b/main/bacula/APKBUILD index faa3e8f376..433e0dd6bf 100644 --- a/main/bacula/APKBUILD +++ b/main/bacula/APKBUILD @@ -50,31 +50,35 @@ prepare () { build() { cd "$srcdir/$pkgname-$pkgver" - ./configure --prefix=/usr \ - --sysconfdir=/etc/bacula \ - --localstatedir=/var \ - --mandir=/usr/share/man \ - --docdir=/usr/share/doc \ - --infodir=/usr/share/info \ - --with-pid-dir=/var/run \ - --with-subsys-dir=/var/lock/subsys \ - --with-logdir=/var/log/bacula \ - --enable-largefile \ - --enable-smartalloc \ - --disable-nls \ - --with-openssl=/usr/include/openssl \ - --with-postgresql \ - --with-mysql \ - --with-sqlite3 \ - --with-scriptdir=/etc/bacula/scripts \ - --with-working-dir=/var/lib/bacula \ - --with-dir-user=bacula \ - --with-dir-group=bacula \ - --with-archivedir=/var/lib/bacula/archive \ - --with-sd-user=bacula \ - --with-sd-group=bacula \ - --with-fd-user=root \ - --with-fd-group=root + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc/bacula \ + --localstatedir=/var \ + --mandir=/usr/share/man \ + --docdir=/usr/share/doc \ + --infodir=/usr/share/info \ + --with-pid-dir=/var/run \ + --with-subsys-dir=/var/lock/subsys \ + --with-logdir=/var/log/bacula \ + --enable-largefile \ + --enable-smartalloc \ + --disable-nls \ + --with-openssl=/usr/include/openssl \ + --with-postgresql \ + --with-mysql \ + --with-sqlite3 \ + --with-scriptdir=/etc/bacula/scripts \ + --with-working-dir=/var/lib/bacula \ + --with-dir-user=bacula \ + --with-dir-group=bacula \ + --with-archivedir=/var/lib/bacula/archive \ + --with-sd-user=bacula \ + --with-sd-group=bacula \ + --with-fd-user=root \ + --with-fd-group=root \ + || return 1 make NO_ECHO= || return 1 } diff --git a/main/bash/APKBUILD b/main/bash/APKBUILD index 525c55941c..c0f7b3ff7d 100644 --- a/main/bash/APKBUILD +++ b/main/bash/APKBUILD @@ -47,15 +47,18 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --bindir=/bin \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ --with-curses \ --disable-nls \ --enable-readline \ --without-bash-malloc \ --with-installed-readline \ - --bindir=/bin \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ || return 1 make y.tab.c && make || return 1 } diff --git a/main/bc/APKBUILD b/main/bc/APKBUILD index 9625523f6d..91fe8f95d9 100644 --- a/main/bc/APKBUILD +++ b/main/bc/APKBUILD @@ -26,10 +26,14 @@ prepare() { } build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ - --infodir=/usr/share/info + --infodir=/usr/share/info \ + || return 1 make || return 1 } diff --git a/main/bdftopcf/APKBUILD b/main/bdftopcf/APKBUILD index 64445e269b..136f201aed 100644 --- a/main/bdftopcf/APKBUILD +++ b/main/bdftopcf/APKBUILD @@ -15,9 +15,13 @@ source="http://xorg.freedesktop.org//releases/individual/app/bdftopcf-$pkgver.ta _builddir="$srcdir"/$pkgname-$pkgver build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --mandir=/usr/share/man \ - --with-mapdir=/usr/share/fonts/util || return 1 + --with-mapdir=/usr/share/fonts/util \ + || return 1 make || return 1 } diff --git a/main/beecrypt/APKBUILD b/main/beecrypt/APKBUILD index 89922c4102..344cc0a490 100644 --- a/main/beecrypt/APKBUILD +++ b/main/beecrypt/APKBUILD @@ -26,13 +26,17 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --enable-threads \ --enable-shared \ --without-java \ --without-python \ - --with-cplusplus=no + --with-cplusplus=no \ + || return 1 make libaltdir=/usr/lib || return 1 } diff --git a/main/bigreqsproto/APKBUILD b/main/bigreqsproto/APKBUILD index 64937e21c1..da1424e9e7 100644 --- a/main/bigreqsproto/APKBUILD +++ b/main/bigreqsproto/APKBUILD @@ -12,7 +12,11 @@ source="http://xorg.freedesktop.org/releases/individual/proto/$pkgname-$pkgver.t build() { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 } diff --git a/main/bind/APKBUILD b/main/bind/APKBUILD index 58add51e8e..f4af2b90e8 100644 --- a/main/bind/APKBUILD +++ b/main/bind/APKBUILD @@ -48,7 +48,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc/bind \ --localstatedir=/var \ --with-openssl=/usr \ @@ -61,7 +64,8 @@ build() { --with-libtool \ --with-randomdev=/dev/random \ --mandir=/usr/share/man \ - --infodir=/usr/share/info + --infodir=/usr/share/info \ + || return 1 make || return 1 } diff --git a/main/binutils/APKBUILD b/main/binutils/APKBUILD index a2aa83b482..acc1ad4345 100644 --- a/main/binutils/APKBUILD +++ b/main/binutils/APKBUILD @@ -30,18 +30,20 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --with-build-sysroot="${CBUILDROOT}" \ - --build=${CBUILD} \ - --host=${CHOST} \ --target=${CTARGET} \ --disable-multilib \ --enable-shared \ --enable-64-bit-bfd \ --disable-werror \ - --disable-nls + --disable-nls \ + || return 1 make || return 1 } diff --git a/main/bison/APKBUILD b/main/bison/APKBUILD index 6167d8c165..1aeb4f0876 100644 --- a/main/bison/APKBUILD +++ b/main/bison/APKBUILD @@ -18,16 +18,23 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --datadir=/usr/share \ --infodir=/usr/share/info \ - --mandir=/usr/share/man + --mandir=/usr/share/man \ + || return 1 make || return 1 } package() { cd "$_builddir" make DESTDIR="$pkgdir" install + rm -rf "$pkgdir"/usr/lib/charset.alias + rmdir -p "$pkgdir"/usr/lib 2>/dev/null + return 0 } md5sums="7be02eb973eccf388f1ae750fc09eed0 bison-2.7.1.tar.xz" diff --git a/main/bitchx/APKBUILD b/main/bitchx/APKBUILD index 41ac30f273..8cc9e96d6e 100644 --- a/main/bitchx/APKBUILD +++ b/main/bitchx/APKBUILD @@ -28,7 +28,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ diff --git a/main/bitlbee/APKBUILD b/main/bitlbee/APKBUILD index ff4ce3930e..8feeb01b08 100644 --- a/main/bitlbee/APKBUILD +++ b/main/bitlbee/APKBUILD @@ -30,10 +30,14 @@ prepare() { build() { cd "$_builddir" - ./configure --ssl=openssl \ - --otr=plugin \ - --prefix=/usr \ - --etcdir=/etc/bitlbee || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --ssl=openssl \ + --otr=plugin \ + --prefix=/usr \ + --etcdir=/etc/bitlbee \ + || return 1 make || return 1 } diff --git a/main/bluez-firmware/APKBUILD b/main/bluez-firmware/APKBUILD index 70257c3755..c2430d0b37 100644 --- a/main/bluez-firmware/APKBUILD +++ b/main/bluez-firmware/APKBUILD @@ -12,7 +12,11 @@ source="http://bluez.sf.net/download/$pkgname-$pkgver.tar.gz" build() { cd "$srcdir/$pkgname-$pkgver" - ./configure --libdir=/lib || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --libdir=/lib \ + || return 1 make || return 1 } diff --git a/main/bluez-hcidump/APKBUILD b/main/bluez-hcidump/APKBUILD index dea82e7586..316b562f59 100644 --- a/main/bluez-hcidump/APKBUILD +++ b/main/bluez-hcidump/APKBUILD @@ -24,7 +24,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --mandir=/usr/share/man \ || return 1 make || return 1 diff --git a/main/bluez/APKBUILD b/main/bluez/APKBUILD index fde69fbdf2..e2209ae449 100644 --- a/main/bluez/APKBUILD +++ b/main/bluez/APKBUILD @@ -21,7 +21,10 @@ source="http://www.kernel.org/pub/linux/bluetooth/$pkgname-$pkgver.tar.bz2 _builddir="$srcdir"/$pkgname-$pkgver build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --mandir=/usr/share/man \ diff --git a/main/bridge-utils/APKBUILD b/main/bridge-utils/APKBUILD index de02f9797e..df74070e26 100644 --- a/main/bridge-utils/APKBUILD +++ b/main/bridge-utils/APKBUILD @@ -14,7 +14,10 @@ source="http://downloads.sourceforge.net/project/bridge/bridge/bridge-utils-$pkg build() { cd "$srcdir"/$pkgname-$pkgver autoconf - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --mandir=/usr/share/man \ --libdir=/usr/lib \ --includedir=/usr/include \ diff --git a/main/bwm-ng/APKBUILD b/main/bwm-ng/APKBUILD index e4fcafbec1..dd51782337 100644 --- a/main/bwm-ng/APKBUILD +++ b/main/bwm-ng/APKBUILD @@ -14,11 +14,15 @@ source="http://www.gropp.org/$pkgname/$pkgname-$pkgver.tar.gz" build () { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr \ - --with-libstatgrab \ - --with-procnetdev \ - --with-ncurses \ - --with-partitions + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --with-libstatgrab \ + --with-procnetdev \ + --with-ncurses \ + --with-partitions \ + || return 1 make || return 1 make DESTDIR="$pkgdir" install || return 1 diff --git a/main/c-ares/APKBUILD b/main/c-ares/APKBUILD index 69c2c60565..4e9e7b105f 100644 --- a/main/c-ares/APKBUILD +++ b/main/c-ares/APKBUILD @@ -15,10 +15,14 @@ source="http://c-ares.haxx.se/download/${pkgname}-${pkgver}.tar.gz" build() { cd "$srcdir/$pkgname-$pkgver" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ - --enable-shared + --enable-shared \ + || return 1 make || return 1 } diff --git a/main/cabextract/APKBUILD b/main/cabextract/APKBUILD index 13e03878fa..7933d58d16 100644 --- a/main/cabextract/APKBUILD +++ b/main/cabextract/APKBUILD @@ -23,10 +23,14 @@ build () { cd $_builddir - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ - --infodir=/usr/share/info + --infodir=/usr/share/info \ + || return 1 make || return 1 } diff --git a/main/cairo/APKBUILD b/main/cairo/APKBUILD index 2193b2d5f6..107445de02 100644 --- a/main/cairo/APKBUILD +++ b/main/cairo/APKBUILD @@ -16,7 +16,10 @@ source="http://cairographics.org/releases/$pkgname-$pkgver.tar.xz" _builddir="$srcdir"/$pkgname-$pkgver build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --enable-ft \ @@ -28,7 +31,8 @@ build() { --enable-xcb \ --enable-xlib-xrender \ --disable-xlib-xcb \ - --disable-static || return 1 + --disable-static \ + || return 1 make || return 1 } diff --git a/main/cairomm/APKBUILD b/main/cairomm/APKBUILD index 3fd3bc2831..89cf14b2f6 100644 --- a/main/cairomm/APKBUILD +++ b/main/cairomm/APKBUILD @@ -15,7 +15,11 @@ source="http://www.cairographics.org/releases/cairomm-$pkgver.tar.gz" _builddir="$srcdir"/$pkgname-$pkgver build() { cd "$_builddir" - ./configure --prefix=/usr || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 } diff --git a/main/ccache/APKBUILD b/main/ccache/APKBUILD index a5bac7a879..2be0e0d464 100644 --- a/main/ccache/APKBUILD +++ b/main/ccache/APKBUILD @@ -14,7 +14,11 @@ source="http://samba.org/ftp/$pkgname/$pkgname-$pkgver.tar.gz" build () { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 } diff --git a/main/cciss_vol_status/APKBUILD b/main/cciss_vol_status/APKBUILD index 4260569b17..182ee80cfb 100644 --- a/main/cciss_vol_status/APKBUILD +++ b/main/cciss_vol_status/APKBUILD @@ -21,10 +21,14 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ - --infodir=/usr/share/info + --infodir=/usr/share/info \ + || return 1 make || return 1 } diff --git a/main/cdparanoia/APKBUILD b/main/cdparanoia/APKBUILD index fc065c1772..10c37fc73a 100644 --- a/main/cdparanoia/APKBUILD +++ b/main/cdparanoia/APKBUILD @@ -31,7 +31,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ diff --git a/main/cegui06/APKBUILD b/main/cegui06/APKBUILD index 34adeb874d..bf4ffd770b 100644 --- a/main/cegui06/APKBUILD +++ b/main/cegui06/APKBUILD @@ -31,7 +31,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ diff --git a/main/celt051/APKBUILD b/main/celt051/APKBUILD index 86e05c8f0d..48a1955a9e 100644 --- a/main/celt051/APKBUILD +++ b/main/celt051/APKBUILD @@ -26,7 +26,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ diff --git a/main/cgdb/APKBUILD b/main/cgdb/APKBUILD index 661e7a2fab..0f24fa91ec 100644 --- a/main/cgdb/APKBUILD +++ b/main/cgdb/APKBUILD @@ -19,8 +19,12 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ - --libdir=/usr/lib || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --libdir=/usr/lib \ + || return 1 make || return 1 } diff --git a/main/charybdis/APKBUILD b/main/charybdis/APKBUILD index 4845ee7ae5..6b519be8a3 100644 --- a/main/charybdis/APKBUILD +++ b/main/charybdis/APKBUILD @@ -29,15 +29,18 @@ prepare() { build() { cd "$_builddir" ./configure \ - --prefix=/usr \ - --sysconfdir=/etc/charybdis \ - --localstatedir=/var \ - --libexecdir=/usr/lib \ - --disable-assert \ - --enable-ssl \ - --enable-ipv6 \ - --with-rundir=/var/run \ - --with-program-prefix=charybdis- + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc/charybdis \ + --localstatedir=/var \ + --libexecdir=/usr/lib \ + --disable-assert \ + --enable-ssl \ + --enable-ipv6 \ + --with-rundir=/var/run \ + --with-program-prefix=charybdis- \ + || return 1 make } @@ -55,7 +58,6 @@ package() { sed -i -e "s/\"modules\"/\"\/usr\/lib\/charybdis\/modules\"/g" $pkgdir/etc/$pkgname/example.conf sed -i -e "s/\"modules\/autoload\"/\"\/usr\/lib\/charybdis\/modules\/autoload\"/g" "$pkgdir"/etc/$pkgname/example.conf sed -i -e "s/usr\/local\/ircd\/modules/usr\/lib\/charybdis\/modules/g" "$pkgdir"/etc/$pkgname/reference.conf - } md5sums="54245396b829f8d19d3958cde9c3bd65 charybdis-3.4.2.tar.bz2 diff --git a/main/check/APKBUILD b/main/check/APKBUILD index e7b8c84831..f3c04742e2 100644 --- a/main/check/APKBUILD +++ b/main/check/APKBUILD @@ -18,6 +18,8 @@ _builddir="$srcdir"/check-$pkgver build() { cd "$_builddir" ./configure \ + --build=$CBUILD \ + --host=$CHOST \ --prefix=/usr \ --infodir=/usr/share/info \ || return 1 diff --git a/main/chrony/APKBUILD b/main/chrony/APKBUILD index 0dd4520282..1e3e27d76e 100644 --- a/main/chrony/APKBUILD +++ b/main/chrony/APKBUILD @@ -35,10 +35,14 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --infodir=/usr/share/info \ --mandir=/usr/share/man \ - --disable-readline + --disable-readline \ + || return 1 make all docs || return 1 } diff --git a/main/chrpath/APKBUILD b/main/chrpath/APKBUILD index 29cb87b75b..0b4dd29d29 100644 --- a/main/chrpath/APKBUILD +++ b/main/chrpath/APKBUILD @@ -26,7 +26,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ diff --git a/main/cifs-utils/APKBUILD b/main/cifs-utils/APKBUILD index 8f2ed90418..79e98755df 100644 --- a/main/cifs-utils/APKBUILD +++ b/main/cifs-utils/APKBUILD @@ -26,7 +26,11 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make AM_CFLAGS="" || return 1 } diff --git a/main/cksfv/APKBUILD b/main/cksfv/APKBUILD index cdf651fa99..b02f8b9e19 100644 --- a/main/cksfv/APKBUILD +++ b/main/cksfv/APKBUILD @@ -14,7 +14,11 @@ source="http://zakalwe.fi/~shd/foss/cksfv/files/${pkgname}-${pkgver}.tar.bz2" build() { cd "$srcdir/$pkgname-$pkgver" - ./configure --prefix=/usr + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 install -cD src/cksfv "$pkgdir"/usr/bin/cksfv install -cD cksfv.1 "$pkgdir"/usr/share/man/man1/cksfv.1 diff --git a/main/clamav/APKBUILD b/main/clamav/APKBUILD index 10d11ecd66..cb029bd849 100644 --- a/main/clamav/APKBUILD +++ b/main/clamav/APKBUILD @@ -34,7 +34,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --libdir=/usr/lib \ --sysconfdir=/etc/clamav \ --mandir=/usr/share/man \ @@ -44,7 +47,8 @@ build() { --with-user=clamav \ --with-group=clamav \ --with-dbdir=/var/lib/clamav \ - --enable-clamdtop + --enable-clamdtop \ + || return 1 make || return 1 } diff --git a/main/clamsmtp/APKBUILD b/main/clamsmtp/APKBUILD index 965129ad55..1bb0fe59ce 100644 --- a/main/clamsmtp/APKBUILD +++ b/main/clamsmtp/APKBUILD @@ -19,10 +19,14 @@ source="http://thewalter.net/stef/software/clamsmtp/clamsmtp-$pkgver.tar.gz build() { cd "$srcdir/$pkgname-$pkgver" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ - --infodir=/usr/share/info + --infodir=/usr/share/info \ + || return 1 make || return 1 make DESTDIR="$pkgdir" install || return 1 diff --git a/main/claws-mail/APKBUILD b/main/claws-mail/APKBUILD index 41637dd725..6ba16771db 100644 --- a/main/claws-mail/APKBUILD +++ b/main/claws-mail/APKBUILD @@ -51,7 +51,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --disable-static \ --enable-enchant \ --enable-gnutls \ diff --git a/main/cloog/APKBUILD b/main/cloog/APKBUILD index 22ad47ac31..cc9be30a84 100644 --- a/main/cloog/APKBUILD +++ b/main/cloog/APKBUILD @@ -27,13 +27,14 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --localstatedir=/var \ - --build=${CBUILD} \ - --host=${CHOST} \ --with-sysroot=${CBUILDROOT} \ --with-isl=system \ || return 1 diff --git a/main/cmph/APKBUILD b/main/cmph/APKBUILD index 93a7887989..d94d85bba5 100644 --- a/main/cmph/APKBUILD +++ b/main/cmph/APKBUILD @@ -20,10 +20,14 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ - --infodir=/usr/share/info + --infodir=/usr/share/info \ + || return 1 make || return 1 } diff --git a/main/collectd/APKBUILD b/main/collectd/APKBUILD index e6340fb1f7..8f1204c82e 100644 --- a/main/collectd/APKBUILD +++ b/main/collectd/APKBUILD @@ -38,7 +38,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc/collectd \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ diff --git a/main/compositeproto/APKBUILD b/main/compositeproto/APKBUILD index 51a6cafced..5231d31ee1 100644 --- a/main/compositeproto/APKBUILD +++ b/main/compositeproto/APKBUILD @@ -12,7 +12,11 @@ source="http://xorg.freedesktop.org/releases/individual/proto/$pkgname-$pkgver.t build() { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 } diff --git a/main/confuse/APKBUILD b/main/confuse/APKBUILD index c815c7aba3..f25ae900c6 100644 --- a/main/confuse/APKBUILD +++ b/main/confuse/APKBUILD @@ -16,9 +16,13 @@ build() { # drop -Werror sed -i -e 's/-Werror//' */Makefile.* || die - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --enable-shared \ - --disable-nls + --disable-nls \ + || return 1 make || return 1 } diff --git a/main/conky/APKBUILD b/main/conky/APKBUILD index 9861c583b2..f719fd9a70 100644 --- a/main/conky/APKBUILD +++ b/main/conky/APKBUILD @@ -28,7 +28,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --enable-wlan \ --enable-rss \ diff --git a/main/conntrack-tools/APKBUILD b/main/conntrack-tools/APKBUILD index c573aef53c..c94de67278 100644 --- a/main/conntrack-tools/APKBUILD +++ b/main/conntrack-tools/APKBUILD @@ -19,7 +19,11 @@ source="http://www.netfilter.org/projects/conntrack-tools/files/$pkgname-$pkgver _builddir="$srcdir"/$pkgname-$pkgver build() { cd "$_builddir" - ./configure --prefix=/usr + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 } diff --git a/main/consolekit/APKBUILD b/main/consolekit/APKBUILD index 632ee1adce..91b4cfaf8f 100644 --- a/main/consolekit/APKBUILD +++ b/main/consolekit/APKBUILD @@ -29,7 +29,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ diff --git a/main/coova-chilli/APKBUILD b/main/coova-chilli/APKBUILD index 3d33e22c81..0cf146528f 100644 --- a/main/coova-chilli/APKBUILD +++ b/main/coova-chilli/APKBUILD @@ -33,7 +33,10 @@ prepare() { build() { cd $_builddir - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ @@ -58,7 +61,8 @@ build() { --enable-layer3 \ --enable-dhcpopt \ --enable-curl \ - --enable-largelimits + --enable-largelimits \ + || return 1 export CFLAGS="$CFLAGS -Wno-error=unused-but-set-variable" make -j1 || return 1 diff --git a/main/coreutils/APKBUILD b/main/coreutils/APKBUILD index f41a27e22c..5dbcc347e7 100644 --- a/main/coreutils/APKBUILD +++ b/main/coreutils/APKBUILD @@ -16,7 +16,10 @@ source="http://ftp.gnu.org/gnu/coreutils/$pkgname-$pkgver.tar.xz" build() { cd "$srcdir/$pkgname-$pkgver" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ diff --git a/main/cpufreqd/APKBUILD b/main/cpufreqd/APKBUILD index 803914dd2c..cd3961e59b 100644 --- a/main/cpufreqd/APKBUILD +++ b/main/cpufreqd/APKBUILD @@ -16,8 +16,12 @@ source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2 build () { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr \ - --sysconfdir=/etc + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + || return 1 make LIBS=-lpthread || return 1 } diff --git a/main/cracklib/APKBUILD b/main/cracklib/APKBUILD index 1a787df1b6..e8b05ce058 100644 --- a/main/cracklib/APKBUILD +++ b/main/cracklib/APKBUILD @@ -22,13 +22,17 @@ build() { cd "$srcdir/$pkgname-$pkgver" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --without-python \ --disable-nls \ - --with-default-dict + --with-default-dict \ + || return 1 make -j1 all || return 1 } diff --git a/main/cryptsetup/APKBUILD b/main/cryptsetup/APKBUILD index 1c4fe7bc1b..983667ee8a 100644 --- a/main/cryptsetup/APKBUILD +++ b/main/cryptsetup/APKBUILD @@ -13,7 +13,10 @@ source="http://$pkgname.googlecode.com/files/$pkgname-$pkgver.tar.bz2" build() { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --libdir=/lib \ --sbindir=/sbin \ --disable-static \ diff --git a/main/ctags/APKBUILD b/main/ctags/APKBUILD index 49cd2225c9..efb396a9a2 100644 --- a/main/ctags/APKBUILD +++ b/main/ctags/APKBUILD @@ -15,10 +15,14 @@ source="http://prdownloads.sourceforge.net/ctags/$pkgname-$pkgver.tar.gz" build() { cd "$srcdir/$pkgname-$pkgver" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ - --infodir=/usr/share/info + --infodir=/usr/share/info \ + || return 1 make || return 1 install -m755 -D $pkgname "$pkgdir"/usr/bin/$pkgname diff --git a/main/cups-filters/APKBUILD b/main/cups-filters/APKBUILD index 11a6c3a35f..bfc9df85a6 100644 --- a/main/cups-filters/APKBUILD +++ b/main/cups-filters/APKBUILD @@ -29,7 +29,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ diff --git a/main/cups/APKBUILD b/main/cups/APKBUILD index 9f67ee05b7..5ec9072e4e 100644 --- a/main/cups/APKBUILD +++ b/main/cups/APKBUILD @@ -35,7 +35,10 @@ prepare() { build() { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --with-logdir=/var/log/cups \ @@ -54,7 +57,8 @@ build() { --enable-ssl=yes \ --enable-gnutls \ --with-pdftops=pdftops \ - --with-optim="$CFLAGS" + --with-optim="$CFLAGS" \ + || return 1 make || return 1 } diff --git a/main/curl/APKBUILD b/main/curl/APKBUILD index 2b56d520a3..d8cf8625b5 100644 --- a/main/curl/APKBUILD +++ b/main/curl/APKBUILD @@ -25,11 +25,15 @@ prepare() { } build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --mandir=/usr/share/man \ --without-libidn \ --enable-ipv6 \ - --disable-ldap + --disable-ldap \ + || return 1 make || return 1 } diff --git a/main/cvechecker/APKBUILD b/main/cvechecker/APKBUILD index 75021efe80..11e4a1656a 100644 --- a/main/cvechecker/APKBUILD +++ b/main/cvechecker/APKBUILD @@ -29,7 +29,10 @@ prepare() { build() { cd "$_builddir" [ "$ALPINE_LIBC" != "eglibc" ] && export LIBS="-largp" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --enable-sqlite3 \ diff --git a/main/cvs/APKBUILD b/main/cvs/APKBUILD index 03c7b8f55c..773cf46fd0 100644 --- a/main/cvs/APKBUILD +++ b/main/cvs/APKBUILD @@ -16,7 +16,10 @@ source="http://ftp.gnu.org/non-gnu/cvs/source/feature/$pkgver/$pkgname-$pkgver.t _builddir="$srcdir"/$pkgname-$pkgver build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ diff --git a/main/cyrus-sasl/APKBUILD b/main/cyrus-sasl/APKBUILD index 1ef87b3f79..fdef95e0ba 100644 --- a/main/cyrus-sasl/APKBUILD +++ b/main/cyrus-sasl/APKBUILD @@ -36,7 +36,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --disable-anon \ @@ -49,7 +52,8 @@ build() { --with-devrandom=/dev/urandom \ --without-ldap \ --with-saslauthd=/var/run/saslauthd \ - --mandir=/usr/share/man || return 1 + --mandir=/usr/share/man \ + || return 1 # parallell builds is broken make -j1 || return 1 } diff --git a/main/dahdi-tools/APKBUILD b/main/dahdi-tools/APKBUILD index 0c44555ddb..edc6bc2abd 100644 --- a/main/dahdi-tools/APKBUILD +++ b/main/dahdi-tools/APKBUILD @@ -19,7 +19,10 @@ _builddir="$srcdir"/$pkgname-$pkgver build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ diff --git a/main/damageproto/APKBUILD b/main/damageproto/APKBUILD index 6a743ef3e9..0a40fbdadc 100644 --- a/main/damageproto/APKBUILD +++ b/main/damageproto/APKBUILD @@ -12,7 +12,11 @@ source="http://xorg.freedesktop.org/releases/individual/proto/$pkgname-$pkgver.t build() { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 } diff --git a/main/dansguardian/APKBUILD b/main/dansguardian/APKBUILD index 6de06f052c..de981dbcfa 100644 --- a/main/dansguardian/APKBUILD +++ b/main/dansguardian/APKBUILD @@ -39,7 +39,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ @@ -47,7 +50,8 @@ build() { --with-proxygroup=dansguar \ --with-logdir=/var/log/dansguardian \ --with-piddir=/var/run/ \ - --enable-ntlm + --enable-ntlm \ + || return 1 make || return 1 } diff --git a/main/daq/APKBUILD b/main/daq/APKBUILD index 303c7359bb..5ade2931fb 100644 --- a/main/daq/APKBUILD +++ b/main/daq/APKBUILD @@ -26,7 +26,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ diff --git a/main/darkice/APKBUILD b/main/darkice/APKBUILD index 1cea48cfaa..5edd7f17a7 100644 --- a/main/darkice/APKBUILD +++ b/main/darkice/APKBUILD @@ -18,10 +18,14 @@ source="http://darkice.googlecode.com/files/$pkgname-$pkgver.tar.gz _builddir=$srcdir/$pkgname-$pkgver build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc/darkice \ --without-aacplus \ - --without-twolame + --without-twolame \ + || return 1 make || return 1 } package() { diff --git a/main/db/APKBUILD b/main/db/APKBUILD index 2da5fde9e9..d1c333e854 100644 --- a/main/db/APKBUILD +++ b/main/db/APKBUILD @@ -24,12 +24,16 @@ build () { done cd build_unix - ../dist/configure --prefix=/usr \ + ../dist/configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --mandir=/usr/share/man \ --enable-compat185 \ --enable-shared \ --enable-cxx \ - --disable-static + --disable-static \ + || return 1 make LIBSO_LIBS=-lpthread || return 1 } diff --git a/main/dbus-glib/APKBUILD b/main/dbus-glib/APKBUILD index 9942f6f872..cdfdd71a1e 100644 --- a/main/dbus-glib/APKBUILD +++ b/main/dbus-glib/APKBUILD @@ -14,11 +14,15 @@ depends_dev="glib-dev dbus-dev" build() { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --enable-static=no \ - --enable-bash-completion=no || return 1 + --enable-bash-completion=no \ + || return 1 make || return 1 } diff --git a/main/dbus/APKBUILD b/main/dbus/APKBUILD index 253ce4cfa2..6562bf2b26 100644 --- a/main/dbus/APKBUILD +++ b/main/dbus/APKBUILD @@ -19,7 +19,10 @@ source="http://dbus.freedesktop.org/releases/dbus/dbus-$pkgver.tar.gz build() { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --with-xml=expat \ @@ -31,7 +34,8 @@ build() { --disable-dnotify \ --disable-tests \ --disable-asserts \ - --with-x || return 1 + --with-x \ + || return 1 make || return 1 } diff --git a/main/dconf/APKBUILD b/main/dconf/APKBUILD index d29c495b8b..14d7b0717e 100644 --- a/main/dconf/APKBUILD +++ b/main/dconf/APKBUILD @@ -30,8 +30,12 @@ prepare() { build () { cd "$_builddir" - ./configure --prefix=/usr \ - --libexecdir=/usr/lib/dconf + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --libexecdir=/usr/lib/dconf \ + || return 1 make V=1 } diff --git a/main/desktop-file-utils/APKBUILD b/main/desktop-file-utils/APKBUILD index 218b129510..b095bc5311 100644 --- a/main/desktop-file-utils/APKBUILD +++ b/main/desktop-file-utils/APKBUILD @@ -15,7 +15,11 @@ build () { cd "$srcdir"/desktop-file-utils-$pkgver - ./configure --prefix=/usr || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 } diff --git a/main/dhcp/APKBUILD b/main/dhcp/APKBUILD index 15056385fa..0c0beb322a 100644 --- a/main/dhcp/APKBUILD +++ b/main/dhcp/APKBUILD @@ -31,7 +31,10 @@ build() { cd "$srcdir/$pkgname-$_realver" # fix ipv6 export CFLAGS="$CFLAGS -D_GNU_SOURCE" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc/dhcp \ --with-cli-pid-file=/var/run/dhcp/dhclient.pid \ --with-cli-lease-file=/var/lib/dhcp/dhclient.leases \ @@ -41,7 +44,8 @@ build() { --enable-dhcpv6 \ --enable-paranoia \ --mandir=/usr/share/man \ - --infodir=/usr/share/info + --infodir=/usr/share/info \ + || return 1 make || return 1 } diff --git a/main/dhcpcd-dbus/APKBUILD b/main/dhcpcd-dbus/APKBUILD index 79864853a2..cc3c9e0c77 100644 --- a/main/dhcpcd-dbus/APKBUILD +++ b/main/dhcpcd-dbus/APKBUILD @@ -14,7 +14,10 @@ source="http://roy.marples.name/downloads/dhcpcd/dhcpcd-dbus-$pkgver.tar.bz2" build() { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --libexecdir=/usr/lib/$pkgname \ || return 1 diff --git a/main/dhcpcd-ui/APKBUILD b/main/dhcpcd-ui/APKBUILD index dd1ff56952..d2017c12f0 100644 --- a/main/dhcpcd-ui/APKBUILD +++ b/main/dhcpcd-ui/APKBUILD @@ -14,7 +14,11 @@ source="http://roy.marples.name/downloads/dhcpcd/$pkgname-$pkgver.tar.bz2" build() { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make } diff --git a/main/dhcpcd/APKBUILD b/main/dhcpcd/APKBUILD index e986414de0..ff0bfee4c2 100644 --- a/main/dhcpcd/APKBUILD +++ b/main/dhcpcd/APKBUILD @@ -16,7 +16,10 @@ source="http://roy.marples.name/downloads/dhcpcd/$pkgname-$pkgver.tar.bz2 build() { cd "$srcdir/$pkgname-$pkgver" - ./configure --libexecdir=/lib/dhcpcd \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --libexecdir=/lib/dhcpcd \ --dbdir=/var/lib/dhcpcd \ || return 1 make diff --git a/main/dialog/APKBUILD b/main/dialog/APKBUILD index 4e3200d576..e27d565855 100644 --- a/main/dialog/APKBUILD +++ b/main/dialog/APKBUILD @@ -16,11 +16,15 @@ source="ftp://invisible-island.net/$pkgname/$pkgname-$_pkgver.tgz" build() { cd "$srcdir/$pkgname-$_pkgver" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ - --with-ncursesw + --with-ncursesw \ + || return 1 make || return 1 } diff --git a/main/diffutils/APKBUILD b/main/diffutils/APKBUILD index 2f72f36a8e..218fed5e93 100644 --- a/main/diffutils/APKBUILD +++ b/main/diffutils/APKBUILD @@ -30,9 +30,13 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --mandir=/usr/share/man \ - --infodir=/usr/share/info + --infodir=/usr/share/info \ + || return 1 make || return 1 } diff --git a/main/dircproxy/APKBUILD b/main/dircproxy/APKBUILD index 1bdbecf45e..f308892ea4 100644 --- a/main/dircproxy/APKBUILD +++ b/main/dircproxy/APKBUILD @@ -24,10 +24,14 @@ build() { patch -p1 -i $i || return 1 done - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ - --infodir=/usr/share/info + --infodir=/usr/share/info \ + || return 1 make || return 1 make DESTDIR="$pkgdir" install diff --git a/main/distcc/APKBUILD b/main/distcc/APKBUILD index 0ba9a0966d..46d9249e8d 100644 --- a/main/distcc/APKBUILD +++ b/main/distcc/APKBUILD @@ -26,7 +26,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --without-gtk \ --sysconfdir=/etc \ --disable-Werror \ diff --git a/main/dovecot/APKBUILD b/main/dovecot/APKBUILD index 4375832ea5..08f4a0fe54 100644 --- a/main/dovecot/APKBUILD +++ b/main/dovecot/APKBUILD @@ -37,7 +37,10 @@ prepare() { build() { cd "$srcdir/$pkgname-$pkgver" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --localstatedir=/var \ --sysconfdir=/etc \ --mandir=/usr/share/man \ @@ -48,7 +51,8 @@ build() { --with-mysql \ --with-sqlite \ --with-pgsql \ - --with-ssl=openssl || return 1 + --with-ssl=openssl \ + || return 1 make || return 1 } diff --git a/main/doxygen/APKBUILD b/main/doxygen/APKBUILD index e4dbccd816..441e39af2b 100644 --- a/main/doxygen/APKBUILD +++ b/main/doxygen/APKBUILD @@ -35,7 +35,11 @@ prepare() { build() { cd "$_builddir" export ECFLAGS="$CFLAGS" ECXXFLAGS="$CXXFLAGS" ELDFLAGS="$LDFLAGS" - ./configure --prefix /usr + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 } diff --git a/main/dpkg/APKBUILD b/main/dpkg/APKBUILD index 556bbbf4b8..3c19ee557f 100644 --- a/main/dpkg/APKBUILD +++ b/main/dpkg/APKBUILD @@ -20,7 +20,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --with-zlib \ --with-bzip2 \ --disable-dselect \ diff --git a/main/dri2proto/APKBUILD b/main/dri2proto/APKBUILD index feb0c5ddc9..b70e46ac7d 100644 --- a/main/dri2proto/APKBUILD +++ b/main/dri2proto/APKBUILD @@ -13,7 +13,11 @@ source="http://xorg.freedesktop.org/releases/individual/proto/$pkgname-$pkgver.t _builddir="$srcdir"/$pkgname-$pkgver build() { cd "$_builddir" - ./configure --prefix=/usr || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 } diff --git a/main/dropbear/APKBUILD b/main/dropbear/APKBUILD index 1894f9ee92..003e0aa3d3 100644 --- a/main/dropbear/APKBUILD +++ b/main/dropbear/APKBUILD @@ -24,7 +24,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ || return 1 make PROGRAMS="$_progs" MULTI=1 || return 1 } diff --git a/main/dtach/APKBUILD b/main/dtach/APKBUILD index 46cc03515d..8ca74ae164 100644 --- a/main/dtach/APKBUILD +++ b/main/dtach/APKBUILD @@ -14,7 +14,11 @@ subpackages="$pkgname-doc" build() { cd "$srcdir/$pkgname-$pkgver" - ./configure --prefix=/usr + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 install -Dm755 "$srcdir"/dtach-0.8/dtach "$pkgdir"/usr/bin/dtach install -Dm644 "$srcdir"/dtach-0.8/dtach.1 "$pkgdir"/usr/share/man/man1/dtach.1 diff --git a/main/dvgrab/APKBUILD b/main/dvgrab/APKBUILD index 53294c3787..7e9157bf7b 100644 --- a/main/dvgrab/APKBUILD +++ b/main/dvgrab/APKBUILD @@ -27,7 +27,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ diff --git a/main/e2fsprogs/APKBUILD b/main/e2fsprogs/APKBUILD index 54caa74d8c..d3c3d824e3 100644 --- a/main/e2fsprogs/APKBUILD +++ b/main/e2fsprogs/APKBUILD @@ -22,6 +22,8 @@ prepare() { build () { cd "$_builddir" ./configure \ + --build=$CBUILD \ + --host=$CHOST \ --mandir=/usr/share/man \ --enable-elf-shlibs \ --disable-fsck \ @@ -29,7 +31,8 @@ build () { --disable-libuuid \ --disable-libblkid \ --disable-tls \ - --disable-nls + --disable-nls \ + || return 1 make || return 1 } diff --git a/main/eboard/APKBUILD b/main/eboard/APKBUILD index a30231dbbd..769e30a10e 100644 --- a/main/eboard/APKBUILD +++ b/main/eboard/APKBUILD @@ -29,7 +29,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --man-prefix=/usr/share/man \ --extra-libs=dl \ || return 1 diff --git a/main/eggdbus/APKBUILD b/main/eggdbus/APKBUILD index 8ffbed9a98..25cb513260 100644 --- a/main/eggdbus/APKBUILD +++ b/main/eggdbus/APKBUILD @@ -22,11 +22,15 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ - --disable-static + --disable-static \ + || return 1 make -j1 || return 1 } diff --git a/main/eggdrop/APKBUILD b/main/eggdrop/APKBUILD index fa6060c48e..b6eada515c 100644 --- a/main/eggdrop/APKBUILD +++ b/main/eggdrop/APKBUILD @@ -28,7 +28,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --with-tcllib=/usr/lib/libtcl8.6.so \ --with-tclinc=/usr/include/tcl.h \ || return 1 diff --git a/main/eglibc/APKBUILD b/main/eglibc/APKBUILD index 4d7711f3ed..179e15c8bc 100644 --- a/main/eglibc/APKBUILD +++ b/main/eglibc/APKBUILD @@ -45,6 +45,8 @@ build() { cd "$_builddir"/eglibc-build export CFLAGS="$CFLAGS -fno-stack-protector" ../configure \ + --build=$CBUILD \ + --host=$CHOST \ --build $CBUILD \ --host $CHOST \ --prefix=/usr \ diff --git a/main/elinks/APKBUILD b/main/elinks/APKBUILD index 470d813cd9..ddb3fbd85b 100644 --- a/main/elinks/APKBUILD +++ b/main/elinks/APKBUILD @@ -21,11 +21,15 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ - --without-included-gettext + --without-included-gettext \ + || return 1 make || return 1 } diff --git a/main/email/APKBUILD b/main/email/APKBUILD index b212a62c3b..801985511d 100644 --- a/main/email/APKBUILD +++ b/main/email/APKBUILD @@ -21,9 +21,12 @@ build() { cd "$srcdir/$pkgname-$pkgver" ./configure \ - --prefix=/usr \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ - --mandir=/usr/share/man + --mandir=/usr/share/man \ + || return 1 make || return 1 } diff --git a/main/email2trac/APKBUILD b/main/email2trac/APKBUILD index 9681093f13..e3979d4d2a 100644 --- a/main/email2trac/APKBUILD +++ b/main/email2trac/APKBUILD @@ -26,7 +26,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --with-trac_user=tracd \ || return 1 diff --git a/main/enca/APKBUILD b/main/enca/APKBUILD index 8e3e1095e2..166fe99d7c 100644 --- a/main/enca/APKBUILD +++ b/main/enca/APKBUILD @@ -22,13 +22,17 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --libexecdir=/usr/lib \ --enable-external \ - --without-libiconv + --without-libiconv \ + || return 1 make || return 1 } diff --git a/main/enchant/APKBUILD b/main/enchant/APKBUILD index 0ada5a4300..9788bead6c 100644 --- a/main/enchant/APKBUILD +++ b/main/enchant/APKBUILD @@ -14,7 +14,12 @@ source="http://www.abisource.com/downloads/$pkgname/$pkgver/$pkgname-$pkgver.tar build() { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr --disable-static || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --disable-static \ + || return 1 make || return 1 } diff --git a/main/encodings/APKBUILD b/main/encodings/APKBUILD index 06b883e895..3ad7a361fa 100644 --- a/main/encodings/APKBUILD +++ b/main/encodings/APKBUILD @@ -13,8 +13,12 @@ source="http://xorg.freedesktop.org/releases/individual/font/encodings-$pkgver.t build() { cd "$srcdir"/encodings-$pkgver - ./configure --prefix=/usr \ - --with-encodingsdir=/usr/share/fonts/encodings + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --with-encodingsdir=/usr/share/fonts/encodings \ + || return 1 make || return 1 } diff --git a/main/epdfview/APKBUILD b/main/epdfview/APKBUILD index c4ff565b63..772197895b 100644 --- a/main/epdfview/APKBUILD +++ b/main/epdfview/APKBUILD @@ -34,7 +34,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ || return 1 diff --git a/main/epris/APKBUILD b/main/epris/APKBUILD index f845f6a0ea..cb1da61d55 100644 --- a/main/epris/APKBUILD +++ b/main/epris/APKBUILD @@ -15,10 +15,14 @@ source="http://epris.googlecode.com/files/epris-$pkgver.tar.gz" build() { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ - --infodir=/usr/share/info + --infodir=/usr/share/info \ + || return 1 make || return 1 } diff --git a/main/ethtool/APKBUILD b/main/ethtool/APKBUILD index 81709fb239..878f11cb98 100644 --- a/main/ethtool/APKBUILD +++ b/main/ethtool/APKBUILD @@ -15,8 +15,12 @@ _builddir="$srcdir"/$pkgname-$pkgver build() { cd "$_builddir" - ./configure --prefix=/usr \ - --mandir=/usr/share/man + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --mandir=/usr/share/man \ + || return 1 make || return 1 } diff --git a/main/evince/APKBUILD b/main/evince/APKBUILD index d31a5291fa..2f231f67ec 100644 --- a/main/evince/APKBUILD +++ b/main/evince/APKBUILD @@ -44,13 +44,17 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --disable-nautilus \ --disable-scrollkeeper \ --enable-pixbuf \ --without-gconf \ - --without-keyring || return 1 + --without-keyring \ + || return 1 make || return 1 } diff --git a/main/exiv2/APKBUILD b/main/exiv2/APKBUILD index 259758f7f0..43b413618c 100644 --- a/main/exiv2/APKBUILD +++ b/main/exiv2/APKBUILD @@ -15,7 +15,11 @@ source="http://www.exiv2.org/exiv2-$pkgver.tar.gz" _builddir="$srcdir"/$pkgname-$pkgver build() { cd "$_builddir" - ./configure --prefix=/usr + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 } diff --git a/main/exo/APKBUILD b/main/exo/APKBUILD index 4904b8045e..8086a56280 100644 --- a/main/exo/APKBUILD +++ b/main/exo/APKBUILD @@ -15,7 +15,10 @@ source="http://archive.xfce.org/src/xfce/$pkgname/${pkgver%.*}/$pkgname-$pkgver. build() { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --libexecdir=/usr/lib/xfce4 \ --localstatedir=/var \ diff --git a/main/expat/APKBUILD b/main/expat/APKBUILD index 50179e6003..daf4313f6c 100644 --- a/main/expat/APKBUILD +++ b/main/expat/APKBUILD @@ -25,8 +25,12 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ - --mandir=/usr/share/man + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --mandir=/usr/share/man \ + || return 1 make || return 1 } diff --git a/main/expect/APKBUILD b/main/expect/APKBUILD index e9b8ead219..13f2f44c7c 100644 --- a/main/expect/APKBUILD +++ b/main/expect/APKBUILD @@ -16,13 +16,17 @@ source="http://downloads.sourceforge.net/project/expect/Expect/$pkgver/$pkgname$ _builddir="$srcdir"/$pkgname$pkgver build() { cd "$_builddir" - ./configure --prefix=/usr + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --mandir=/usr/share/man \ --with-tcl=/usr/lib \ --with-tclinclude=/usr/include \ - --disable-rpath + --disable-rpath \ + || return 1 make || return 1 } package() { diff --git a/main/ez-ipupdate/APKBUILD b/main/ez-ipupdate/APKBUILD index d4332416f0..f23e315b9e 100644 --- a/main/ez-ipupdate/APKBUILD +++ b/main/ez-ipupdate/APKBUILD @@ -28,10 +28,14 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ - --infodir=/usr/share/info + --infodir=/usr/share/info \ + || return 1 make || return 1 } diff --git a/main/f2fs-tools/APKBUILD b/main/f2fs-tools/APKBUILD index 4e0a864e35..625cba65d2 100644 --- a/main/f2fs-tools/APKBUILD +++ b/main/f2fs-tools/APKBUILD @@ -28,7 +28,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ || return 1 make || return 1 } diff --git a/main/faac/APKBUILD b/main/faac/APKBUILD index d33097469e..de6769d156 100644 --- a/main/faac/APKBUILD +++ b/main/faac/APKBUILD @@ -31,7 +31,11 @@ prepare() { build() { cd "$srcdir"/$pkgname-$pkgver ./bootstrap || return 1 - ./configure --prefix=/usr + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 } diff --git a/main/faad2/APKBUILD b/main/faad2/APKBUILD index 8d4959daf0..78168f53e2 100644 --- a/main/faad2/APKBUILD +++ b/main/faad2/APKBUILD @@ -31,7 +31,11 @@ build() { || return 1 sh bootstrap || return 1 - ./configure --prefix=/usr || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 } diff --git a/main/fakeroot/APKBUILD b/main/fakeroot/APKBUILD index 2bd26f6247..d4d1ef208c 100644 --- a/main/fakeroot/APKBUILD +++ b/main/fakeroot/APKBUILD @@ -31,10 +31,12 @@ build() { [ "${CHOST#*musl}" != "$CHOST" ] && CFLAGS="-D_STAT_VER=0 $CFLAGS" CONFIG_SHELL=/bin/sh \ - ./configure --prefix=/usr \ - --build=${CBUILD} \ - --host=${CHOST} \ - --disable-static + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --disable-static \ + || return 1 make || return 1 } diff --git a/main/farstream/APKBUILD b/main/farstream/APKBUILD index 6989cfd17e..ca2be9549b 100644 --- a/main/farstream/APKBUILD +++ b/main/farstream/APKBUILD @@ -27,9 +27,12 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ - --enable-python \ - --disable-static \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --enable-python \ + --disable-static \ || return 1 make || return 1 } diff --git a/main/farstream0.1/APKBUILD b/main/farstream0.1/APKBUILD index e74e2def17..8e73e5c42f 100644 --- a/main/farstream0.1/APKBUILD +++ b/main/farstream0.1/APKBUILD @@ -30,7 +30,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --enable-python \ || return 1 make || return 1 diff --git a/main/fastjar/APKBUILD b/main/fastjar/APKBUILD index 9b22db009d..95c7aa1338 100644 --- a/main/fastjar/APKBUILD +++ b/main/fastjar/APKBUILD @@ -26,7 +26,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ diff --git a/main/fcgi/APKBUILD b/main/fcgi/APKBUILD index 72a76f5354..2e2f13ac31 100644 --- a/main/fcgi/APKBUILD +++ b/main/fcgi/APKBUILD @@ -34,11 +34,15 @@ build() { cd "$srcdir/$pkgname-$pkgver" export LIBS="-lm" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ - --enable-shared + --enable-shared \ + || return 1 # work around parallel build issue make -C libfcgi libfcgi.la || return 1 make || return 1 diff --git a/main/fetchmail/APKBUILD b/main/fetchmail/APKBUILD index 232830b013..63b73cf252 100644 --- a/main/fetchmail/APKBUILD +++ b/main/fetchmail/APKBUILD @@ -18,12 +18,16 @@ source="http://download.berlios.de/fetchmail/$pkgname-$pkgver.tar.bz2 build() { cd "$srcdir/$pkgname-$pkgver" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --with-ssl \ - --disable-nls + --disable-nls \ + || return 1 make || return 1 } diff --git a/main/ffmpeg/APKBUILD b/main/ffmpeg/APKBUILD index 9b6327c0db..dcd9d12add 100644 --- a/main/ffmpeg/APKBUILD +++ b/main/ffmpeg/APKBUILD @@ -32,7 +32,10 @@ build() { [ -n "$DEBUG" ] && _dbg="--enable-debug" [ "$CARCH" = "x86" ] && _asm="--disable-asm" cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --enable-gpl \ --enable-libmp3lame \ --enable-librtmp \ diff --git a/main/fftw/APKBUILD b/main/fftw/APKBUILD index 3fce77d33c..7430f5949e 100644 --- a/main/fftw/APKBUILD +++ b/main/fftw/APKBUILD @@ -21,11 +21,15 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ - --enable-single + --enable-single \ + || return 1 make || return 1 } diff --git a/main/file/APKBUILD b/main/file/APKBUILD index 045a917912..bb77dbe531 100644 --- a/main/file/APKBUILD +++ b/main/file/APKBUILD @@ -12,7 +12,12 @@ subpackages="$pkgname-dev $pkgname-doc" build() { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr --datadir=/usr/share + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --datadir=/usr/share \ + || return 1 make || return 1 } diff --git a/main/findutils/APKBUILD b/main/findutils/APKBUILD index 90a6c25d00..48f6fd348f 100644 --- a/main/findutils/APKBUILD +++ b/main/findutils/APKBUILD @@ -16,10 +16,14 @@ source="http://ftp.gnu.org/pub/gnu/$pkgname/$pkgname-$pkgver.tar.gz" build() { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ - --infodir=/usr/share/info + --infodir=/usr/share/info \ + || return 1 make || return 1 make DESTDIR="$pkgdir" install diff --git a/main/fixesproto/APKBUILD b/main/fixesproto/APKBUILD index 2db32801e5..65ccb38492 100644 --- a/main/fixesproto/APKBUILD +++ b/main/fixesproto/APKBUILD @@ -12,7 +12,11 @@ source="http://xorg.freedesktop.org/releases/individual/proto/$pkgname-$pkgver.t build() { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 } diff --git a/main/flac/APKBUILD b/main/flac/APKBUILD index add0acc18b..7ebcf4dc12 100644 --- a/main/flac/APKBUILD +++ b/main/flac/APKBUILD @@ -14,14 +14,18 @@ source="http://downloads.xiph.org/releases/flac/flac-${pkgver}.tar.xz" build () { cd "$srcdir"/$pkgname-$pkgver || return 1 - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --mandir=/usr/share/man \ --enable-shared \ --enable-ogg \ --disable-sse \ --disable-rpath \ --disable-cpplibs \ - --with-pic || return 1 + --with-pic \ + || return 1 make || return 1 } diff --git a/main/flex/APKBUILD b/main/flex/APKBUILD index 909f184b48..669a70d8e5 100644 --- a/main/flex/APKBUILD +++ b/main/flex/APKBUILD @@ -14,11 +14,13 @@ subpackages="$pkgname-doc" build() { cd "$srcdir/$pkgname-$pkgver" - ./configure --prefix=/usr \ - --build=${CBUILD} \ - --host=${CHOST} \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --mandir=/usr/share/man \ - --infodir=/usr/share/info + --infodir=/usr/share/info \ + || return 1 make || return 1 } diff --git a/main/flite/APKBUILD b/main/flite/APKBUILD index dad4703025..8efee0d423 100644 --- a/main/flite/APKBUILD +++ b/main/flite/APKBUILD @@ -27,7 +27,10 @@ prepare() { build() { cd "$_builddir" - CFLAGS="$CFLAGS -fPIC" ./configure --prefix=/usr \ + CFLAGS="$CFLAGS -fPIC" ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --enable-shared \ --localstatedir=/var \ || return 1 diff --git a/main/fluxbox/APKBUILD b/main/fluxbox/APKBUILD index 4b6b398016..cfb64f5f01 100644 --- a/main/fluxbox/APKBUILD +++ b/main/fluxbox/APKBUILD @@ -15,7 +15,10 @@ source="http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.t build () { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --enable-imlib2 \ --disable-nls \ || return 1 diff --git a/main/font-adobe-100dpi/APKBUILD b/main/font-adobe-100dpi/APKBUILD index 2057abcff1..eac386a55a 100644 --- a/main/font-adobe-100dpi/APKBUILD +++ b/main/font-adobe-100dpi/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/100dpi + --with-fontdir=/usr/share/fonts/100dpi \ + || return 1 make || return 1 make -j1 DESTDIR="$pkgdir" MKFONTDIR=: MKFONTSCALE=: install || return 1 } diff --git a/main/font-adobe-75dpi/APKBUILD b/main/font-adobe-75dpi/APKBUILD index 081e5ba5ec..1b9fca51aa 100644 --- a/main/font-adobe-75dpi/APKBUILD +++ b/main/font-adobe-75dpi/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/75dpi + --with-fontdir=/usr/share/fonts/75dpi \ + || return 1 make || return 1 make -j1 DESTDIR="$pkgdir" MKFONTDIR=: MKFONTSCALE=: install || return 1 } diff --git a/main/font-adobe-utopia-100dpi/APKBUILD b/main/font-adobe-utopia-100dpi/APKBUILD index 3ca2381ab7..b35c71ebe9 100644 --- a/main/font-adobe-utopia-100dpi/APKBUILD +++ b/main/font-adobe-utopia-100dpi/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/100dpi + --with-fontdir=/usr/share/fonts/100dpi \ + || return 1 make || return 1 make -j1 DESTDIR="$pkgdir" MKFONTDIR=: MKFONTSCALE=: install || return 1 } diff --git a/main/font-adobe-utopia-75dpi/APKBUILD b/main/font-adobe-utopia-75dpi/APKBUILD index f2429974fe..5a86692f67 100644 --- a/main/font-adobe-utopia-75dpi/APKBUILD +++ b/main/font-adobe-utopia-75dpi/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/75dpi + --with-fontdir=/usr/share/fonts/75dpi \ + || return 1 make || return 1 make -j1 DESTDIR="$pkgdir" MKFONTDIR=: MKFONTSCALE=: install || return 1 } diff --git a/main/font-adobe-utopia-type1/APKBUILD b/main/font-adobe-utopia-type1/APKBUILD index ed40e552ba..7095c61027 100644 --- a/main/font-adobe-utopia-type1/APKBUILD +++ b/main/font-adobe-utopia-type1/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/utopia-type1 + --with-fontdir=/usr/share/fonts/utopia-type1 \ + || return 1 make || return 1 } diff --git a/main/font-alias/APKBUILD b/main/font-alias/APKBUILD index 83fc28f0e9..55a9ee165d 100644 --- a/main/font-alias/APKBUILD +++ b/main/font-alias/APKBUILD @@ -13,8 +13,12 @@ source="http://xorg.freedesktop.org/releases/individual/font/$pkgname-$pkgver.ta build () { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr \ - --with-top-fontdir=/usr/share/fonts + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --with-top-fontdir=/usr/share/fonts \ + || return 1 make || return 1 make DESTDIR="$pkgdir" install || return 1 } diff --git a/main/font-arabic-misc/APKBUILD b/main/font-arabic-misc/APKBUILD index a68d08d625..4c518f1b61 100644 --- a/main/font-arabic-misc/APKBUILD +++ b/main/font-arabic-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 } diff --git a/main/font-bh-100dpi/APKBUILD b/main/font-bh-100dpi/APKBUILD index 0133f31d25..8a7be53e36 100644 --- a/main/font-bh-100dpi/APKBUILD +++ b/main/font-bh-100dpi/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/100dpi + --with-fontdir=/usr/share/fonts/100dpi \ + || return 1 make || return 1 make -j1 DESTDIR="$pkgdir" MKFONTDIR=: MKFONTSCALE=: install || return 1 } diff --git a/main/font-bh-75dpi/APKBUILD b/main/font-bh-75dpi/APKBUILD index 62a4f66b3a..314afca701 100644 --- a/main/font-bh-75dpi/APKBUILD +++ b/main/font-bh-75dpi/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/75dpi + --with-fontdir=/usr/share/fonts/75dpi \ + || return 1 make || return 1 make -j1 DESTDIR="$pkgdir" MKFONTDIR=: MKFONTSCALE=: install || return 1 } diff --git a/main/font-bh-lucidatypewriter-100dpi/APKBUILD b/main/font-bh-lucidatypewriter-100dpi/APKBUILD index ddae97e87b..b365f8369f 100644 --- a/main/font-bh-lucidatypewriter-100dpi/APKBUILD +++ b/main/font-bh-lucidatypewriter-100dpi/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/100dpi + --with-fontdir=/usr/share/fonts/100dpi \ + || return 1 make || return 1 make -j1 DESTDIR="$pkgdir" MKFONTDIR=: MKFONTSCALE=: install || return 1 } diff --git a/main/font-bh-lucidatypewriter-75dpi/APKBUILD b/main/font-bh-lucidatypewriter-75dpi/APKBUILD index 6fde0c80e7..70b170172c 100644 --- a/main/font-bh-lucidatypewriter-75dpi/APKBUILD +++ b/main/font-bh-lucidatypewriter-75dpi/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/75dpi + --with-fontdir=/usr/share/fonts/75dpi \ + || return 1 make || return 1 make -j1 DESTDIR="$pkgdir" MKFONTDIR=: MKFONTSCALE=: install || return 1 } diff --git a/main/font-bh-ttf/APKBUILD b/main/font-bh-ttf/APKBUILD index bf3a046ebb..fa29ff8555 100644 --- a/main/font-bh-ttf/APKBUILD +++ b/main/font-bh-ttf/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/TTF + --with-fontdir=/usr/share/fonts/TTF \ + || return 1 make || return 1 } diff --git a/main/font-bh-type1/APKBUILD b/main/font-bh-type1/APKBUILD index a5e718744a..507feab3c7 100644 --- a/main/font-bh-type1/APKBUILD +++ b/main/font-bh-type1/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/Type1 + --with-fontdir=/usr/share/fonts/Type1 \ + || return 1 make || return 1 } diff --git a/main/font-bitstream-100dpi/APKBUILD b/main/font-bitstream-100dpi/APKBUILD index 8adf9ea7e3..a0be678a4d 100644 --- a/main/font-bitstream-100dpi/APKBUILD +++ b/main/font-bitstream-100dpi/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/100dpi + --with-fontdir=/usr/share/fonts/100dpi \ + || return 1 make || return 1 make -j1 DESTDIR="$pkgdir" MKFONTDIR=: MKFONTSCALE=: install || return 1 } diff --git a/main/font-bitstream-75dpi/APKBUILD b/main/font-bitstream-75dpi/APKBUILD index 2182946be0..6046a2038e 100644 --- a/main/font-bitstream-75dpi/APKBUILD +++ b/main/font-bitstream-75dpi/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/75dpi + --with-fontdir=/usr/share/fonts/75dpi \ + || return 1 make || return 1 make -j1 DESTDIR="$pkgdir" MKFONTDIR=: MKFONTSCALE=: install || return 1 } diff --git a/main/font-bitstream-speedo/APKBUILD b/main/font-bitstream-speedo/APKBUILD index 1780bdde7b..557a074eec 100644 --- a/main/font-bitstream-speedo/APKBUILD +++ b/main/font-bitstream-speedo/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/Speedo + --with-fontdir=/usr/share/fonts/Speedo \ + || return 1 make || return 1 } diff --git a/main/font-bitstream-type1/APKBUILD b/main/font-bitstream-type1/APKBUILD index 4f54e8b73a..27255d96bd 100644 --- a/main/font-bitstream-type1/APKBUILD +++ b/main/font-bitstream-type1/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/Type1 + --with-fontdir=/usr/share/fonts/Type1 \ + || return 1 make || return 1 } diff --git a/main/font-cronyx-cyrillic/APKBUILD b/main/font-cronyx-cyrillic/APKBUILD index 31a610489e..8380951b2f 100644 --- a/main/font-cronyx-cyrillic/APKBUILD +++ b/main/font-cronyx-cyrillic/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/cyrillic + --with-fontdir=/usr/share/fonts/cyrillic \ + || return 1 make || return 1 make -j1 DESTDIR="$pkgdir" MKFONTDIR=: MKFONTSCALE=: install || return 1 } diff --git a/main/font-cursor-misc/APKBUILD b/main/font-cursor-misc/APKBUILD index 0a344b2454..801a07d9d8 100644 --- a/main/font-cursor-misc/APKBUILD +++ b/main/font-cursor-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 } diff --git a/main/font-daewoo-misc/APKBUILD b/main/font-daewoo-misc/APKBUILD index 8d99f6f066..fdbd5258cb 100644 --- a/main/font-daewoo-misc/APKBUILD +++ b/main/font-daewoo-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 } diff --git a/main/font-dec-misc/APKBUILD b/main/font-dec-misc/APKBUILD index 3d56bfba75..1849d1322c 100644 --- a/main/font-dec-misc/APKBUILD +++ b/main/font-dec-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 } diff --git a/main/font-ibm-type1/APKBUILD b/main/font-ibm-type1/APKBUILD index b278e73695..366e1adc1e 100644 --- a/main/font-ibm-type1/APKBUILD +++ b/main/font-ibm-type1/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/Type1 + --with-fontdir=/usr/share/fonts/Type1 \ + || return 1 make || return 1 } diff --git a/main/font-isas-misc/APKBUILD b/main/font-isas-misc/APKBUILD index b6da30844c..874904cb38 100644 --- a/main/font-isas-misc/APKBUILD +++ b/main/font-isas-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 } diff --git a/main/font-jis-misc/APKBUILD b/main/font-jis-misc/APKBUILD index 7367ae5dee..f7b6a8ac53 100644 --- a/main/font-jis-misc/APKBUILD +++ b/main/font-jis-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 } diff --git a/main/font-micro-misc/APKBUILD b/main/font-micro-misc/APKBUILD index a2d6a83aec..45801df0bb 100644 --- a/main/font-micro-misc/APKBUILD +++ b/main/font-micro-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 } diff --git a/main/font-misc-cyrillic/APKBUILD b/main/font-misc-cyrillic/APKBUILD index 7f69e82d86..f5a403bbee 100644 --- a/main/font-misc-cyrillic/APKBUILD +++ b/main/font-misc-cyrillic/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/cyrillic + --with-fontdir=/usr/share/fonts/cyrillic \ + || return 1 make || return 1 make -j1 DESTDIR="$pkgdir" MKFONTDIR=: MKFONTSCALE=: install || return 1 } diff --git a/main/font-misc-ethiopic/APKBUILD b/main/font-misc-ethiopic/APKBUILD index 8b11cf4b8f..05e76360ac 100644 --- a/main/font-misc-ethiopic/APKBUILD +++ b/main/font-misc-ethiopic/APKBUILD @@ -14,9 +14,13 @@ source="http://xorg.freedesktop.org/releases/individual/font/$pkgname-$pkgver.ta _builddir="$srcdir"/$pkgname-$pkgver build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --with-mapfiles=/usr/share/fonts/util \ - --with-fontdir=/usr/share/fonts/ethiopic + --with-fontdir=/usr/share/fonts/ethiopic \ + || return 1 make || return 1 } diff --git a/main/font-misc-meltho/APKBUILD b/main/font-misc-meltho/APKBUILD index 6c0102a361..8cd7789551 100644 --- a/main/font-misc-meltho/APKBUILD +++ b/main/font-misc-meltho/APKBUILD @@ -14,9 +14,13 @@ source="http://xorg.freedesktop.org/releases/individual/font/$pkgname-$pkgver.ta _builddir="$srcdir"/$pkgname-$pkgver build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --with-mapfiles=/usr/share/fonts/util \ - --with-fontdir=/usr/share/fonts/meltho + --with-fontdir=/usr/share/fonts/meltho \ + || return 1 make || return 1 } diff --git a/main/font-misc-misc/APKBUILD b/main/font-misc-misc/APKBUILD index b4e86369b0..3f19cc334c 100644 --- a/main/font-misc-misc/APKBUILD +++ b/main/font-misc-misc/APKBUILD @@ -14,9 +14,13 @@ source="http://xorg.freedesktop.org/releases/individual/font/$pkgname-$pkgver.ta _builddir="$srcdir"/$pkgname-$pkgver build() { cd "$_builddir" - ./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 } diff --git a/main/font-mutt-misc/APKBUILD b/main/font-mutt-misc/APKBUILD index 14f321e4c4..d9a9e521fb 100644 --- a/main/font-mutt-misc/APKBUILD +++ b/main/font-mutt-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 } diff --git a/main/font-schumacher-misc/APKBUILD b/main/font-schumacher-misc/APKBUILD index 67705d3bff..6a18163e87 100644 --- a/main/font-schumacher-misc/APKBUILD +++ b/main/font-schumacher-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 } diff --git a/main/font-screen-cyrillic/APKBUILD b/main/font-screen-cyrillic/APKBUILD index 9f5c643cb0..b016055a87 100644 --- a/main/font-screen-cyrillic/APKBUILD +++ b/main/font-screen-cyrillic/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/cyrillic + --with-fontdir=/usr/share/fonts/cyrillic \ + || return 1 make || return 1 make -j1 DESTDIR="$pkgdir" MKFONTDIR=: MKFONTSCALE=: install || return 1 } diff --git a/main/font-sony-misc/APKBUILD b/main/font-sony-misc/APKBUILD index 708ecbad7f..df52f0ad6c 100644 --- a/main/font-sony-misc/APKBUILD +++ b/main/font-sony-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 } 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 } diff --git a/main/font-util/APKBUILD b/main/font-util/APKBUILD index 16d914132d..94be113358 100644 --- a/main/font-util/APKBUILD +++ b/main/font-util/APKBUILD @@ -14,8 +14,12 @@ source="http://xorg.freedesktop.org/releases/individual/font/$pkgname-$pkgver.ta build() { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr \ - --mandir=/usr/share/man + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --mandir=/usr/share/man \ + || return 1 make || return 1 } diff --git a/main/font-winitzki-cyrillic/APKBUILD b/main/font-winitzki-cyrillic/APKBUILD index 4fe93fadbe..2a4440d0b2 100644 --- a/main/font-winitzki-cyrillic/APKBUILD +++ b/main/font-winitzki-cyrillic/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/cyrillic + --with-fontdir=/usr/share/fonts/cyrillic \ + || return 1 make || return 1 make -j1 DESTDIR="$pkgdir" MKFONTDIR=: MKFONTSCALE=: install || return 1 } diff --git a/main/font-xfree86-type1/APKBUILD b/main/font-xfree86-type1/APKBUILD index b1e0897399..cbb2d42d44 100644 --- a/main/font-xfree86-type1/APKBUILD +++ b/main/font-xfree86-type1/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/Type1 + --with-fontdir=/usr/share/fonts/Type1 \ + || return 1 make || return 1 } diff --git a/main/fontconfig/APKBUILD b/main/fontconfig/APKBUILD index ecc9a9fb42..2390d8f2b7 100644 --- a/main/fontconfig/APKBUILD +++ b/main/fontconfig/APKBUILD @@ -29,9 +29,13 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ - --disable-docs + --disable-docs \ + || return 1 make || return 1 } diff --git a/main/fontsproto/APKBUILD b/main/fontsproto/APKBUILD index 1ea7040bf8..fde07dbcb2 100644 --- a/main/fontsproto/APKBUILD +++ b/main/fontsproto/APKBUILD @@ -12,7 +12,11 @@ source="http://xorg.freedesktop.org/releases/individual/proto/$pkgname-$pkgver.t build() { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 } diff --git a/main/fping/APKBUILD b/main/fping/APKBUILD index 1ac36be458..b39056dfaa 100644 --- a/main/fping/APKBUILD +++ b/main/fping/APKBUILD @@ -15,8 +15,12 @@ _builddir="$srcdir"/$pkgname-$pkgver build () { cd "$_builddir" - ./configure --prefix=/usr \ - --mandir=/usr/share/man + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --mandir=/usr/share/man \ + || return 1 make || return 1 } diff --git a/main/fprobe-ulog/APKBUILD b/main/fprobe-ulog/APKBUILD index 139aaf02c1..4e88be2960 100644 --- a/main/fprobe-ulog/APKBUILD +++ b/main/fprobe-ulog/APKBUILD @@ -29,10 +29,14 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ - --infodir=/usr/share/info + --infodir=/usr/share/info \ + || return 1 make || return 1 } diff --git a/main/fprobe/APKBUILD b/main/fprobe/APKBUILD index 79da613cfb..824c4e1cbc 100644 --- a/main/fprobe/APKBUILD +++ b/main/fprobe/APKBUILD @@ -30,10 +30,14 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ - --infodir=/usr/share/info + --infodir=/usr/share/info \ + || return 1 make || return 1 } diff --git a/main/freeglut/APKBUILD b/main/freeglut/APKBUILD index 2875613001..fa624a6636 100644 --- a/main/freeglut/APKBUILD +++ b/main/freeglut/APKBUILD @@ -30,7 +30,12 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr --disable-static || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --disable-static \ + || return 1 make || return 1 } diff --git a/main/freeradius-client/APKBUILD b/main/freeradius-client/APKBUILD index 01ff2e25aa..049775d4ed 100644 --- a/main/freeradius-client/APKBUILD +++ b/main/freeradius-client/APKBUILD @@ -20,10 +20,14 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ - --infodir=/usr/share/info + --infodir=/usr/share/info \ + || return 1 make || return 1 } diff --git a/main/freeradius/APKBUILD b/main/freeradius/APKBUILD index 188c0c67c0..9f7d775ff5 100644 --- a/main/freeradius/APKBUILD +++ b/main/freeradius/APKBUILD @@ -49,11 +49,14 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ - --localstatedir=/var \ + --localstatedir=/var \ --libdir=/usr/lib/freeradius \ --disable-static \ --enable-shared \ diff --git a/main/freeswitch/APKBUILD b/main/freeswitch/APKBUILD index 3b68a04476..a7ab3467a3 100644 --- a/main/freeswitch/APKBUILD +++ b/main/freeswitch/APKBUILD @@ -50,7 +50,10 @@ build() { # remove -Werror since gcc-4.5 is more strict sed -i -e 's/-Werror//g' configure || return 1 [ "$ALPINE_LIBC" != "eglibc" ] && export LDFLAGS="$LDFLAGS -liconv" - CFLAGS="-Wno-unused-but-set-variable" ./configure --prefix=/usr \ + CFLAGS="-Wno-unused-but-set-variable" ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc/freeswitch \ --with-modinstdir=/usr/lib/freeswitch \ --with-rundir=/var/run/freeswitch \ diff --git a/main/freetds/APKBUILD b/main/freetds/APKBUILD index a1afcc46ce..d980ccd541 100644 --- a/main/freetds/APKBUILD +++ b/main/freetds/APKBUILD @@ -27,7 +27,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ diff --git a/main/freetype/APKBUILD b/main/freetype/APKBUILD index c1206f25b1..dd545dad47 100644 --- a/main/freetype/APKBUILD +++ b/main/freetype/APKBUILD @@ -29,11 +29,15 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ - --disable-static + --disable-static \ + || return 1 make || return 1 } diff --git a/main/fribidi/APKBUILD b/main/fribidi/APKBUILD index 05ca5541f5..3b2ec1b8cb 100644 --- a/main/fribidi/APKBUILD +++ b/main/fribidi/APKBUILD @@ -14,7 +14,11 @@ source="http://fribidi.org/download/fribidi-$pkgver.tar.bz2" build () { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 } diff --git a/main/fsarchiver/APKBUILD b/main/fsarchiver/APKBUILD index 6ea09df1a8..772cf9abaf 100644 --- a/main/fsarchiver/APKBUILD +++ b/main/fsarchiver/APKBUILD @@ -13,7 +13,11 @@ source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz" build() { cd $srcdir/$pkgname-$pkgver - ./configure --prefix=/usr + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make } diff --git a/main/fuse/APKBUILD b/main/fuse/APKBUILD index 122c9e4249..c24b5950c9 100644 --- a/main/fuse/APKBUILD +++ b/main/fuse/APKBUILD @@ -27,7 +27,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --disable-static \ --enable-shared \ --disable-example \ diff --git a/main/galculator/APKBUILD b/main/galculator/APKBUILD index 717cc9cec5..b42cb3f745 100644 --- a/main/galculator/APKBUILD +++ b/main/galculator/APKBUILD @@ -23,7 +23,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --disable-gtk3 \ || return 1 make || return 1 diff --git a/main/gamin/APKBUILD b/main/gamin/APKBUILD index 712be26613..b13fe04779 100644 --- a/main/gamin/APKBUILD +++ b/main/gamin/APKBUILD @@ -24,7 +24,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --disable-static \ --with-threads \ --disable-debug-api \ diff --git a/main/garcon/APKBUILD b/main/garcon/APKBUILD index 2b0cb10f4b..10e23f8a5f 100644 --- a/main/garcon/APKBUILD +++ b/main/garcon/APKBUILD @@ -16,11 +16,15 @@ replaces="xfdesktop" build() { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --libexecdir=/usr/lib \ --localstatedir=/var \ - --disable-static + --disable-static \ + || return 1 make } diff --git a/main/gawk/APKBUILD b/main/gawk/APKBUILD index 8615e8ed28..7c250586c5 100644 --- a/main/gawk/APKBUILD +++ b/main/gawk/APKBUILD @@ -14,13 +14,15 @@ source="http://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.xz" build() { cd "$srcdir/$pkgname-$pkgver" - ./configure --prefix=/usr \ - --build=${CBUILD} \ - --host=${CHOST} \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ - --disable-nls + --disable-nls \ + || return 1 make || return 1 } diff --git a/main/gc/APKBUILD b/main/gc/APKBUILD index e8db519523..dbf6630235 100644 --- a/main/gc/APKBUILD +++ b/main/gc/APKBUILD @@ -24,9 +24,13 @@ prepare() { build() { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --datadir=/usr/share/doc/gc \ - --enable-cplusplus || return 1 + --enable-cplusplus \ + || return 1 make || return 1 } diff --git a/main/gconf/APKBUILD b/main/gconf/APKBUILD index c20157e75c..77b8fe0b72 100644 --- a/main/gconf/APKBUILD +++ b/main/gconf/APKBUILD @@ -30,9 +30,14 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ - --with-gtk=2.0 || return 0 + --with-gtk=2.0 \ + || return 0 \ + || return 1 make || return 1 } diff --git a/main/gd/APKBUILD b/main/gd/APKBUILD index 63d7a11646..6a5632eadd 100644 --- a/main/gd/APKBUILD +++ b/main/gd/APKBUILD @@ -20,7 +20,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ @@ -28,7 +31,8 @@ build() { --with-freetype \ --with-jpeg \ --without-xpm \ - --without-fontconfig + --without-fontconfig \ + || return 1 make || return 1 } diff --git a/main/gdb/APKBUILD b/main/gdb/APKBUILD index b9b4439be0..b4c45b7cb3 100644 --- a/main/gdb/APKBUILD +++ b/main/gdb/APKBUILD @@ -34,9 +34,10 @@ prepare() { build () { cd "$_builddir" - local _config="--prefix=/usr + local _config=" --build=$CBUILD --host=$CHOST + --prefix=/usr --target=$CTARGET --with-build-sysroot=$CBUILDROOT --disable-nls @@ -50,9 +51,8 @@ build () { # gdb server does not compile with musl [ "${CHOST#*musl}" != "$CHOST" ] && _config="$_config --disable-gdbserver" - ./configure $_config - cd opcodes && ./configure $_config || return 1 - cd .. + ./configure $_config || return 1 + (cd opcodes && ./configure $_config) || return 1 make || return 1 } diff --git a/main/gdbm/APKBUILD b/main/gdbm/APKBUILD index dd515f5ec7..d6b820cd47 100644 --- a/main/gdbm/APKBUILD +++ b/main/gdbm/APKBUILD @@ -28,11 +28,15 @@ build() { cd "$_builddir" # we disable large-file due to it makes the db file non-compat # with gdbm-1.8.3 - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --enable-libgdbm-compat \ --disable-largefile \ --disable-dependency-tracking \ - --enable-fast-install + --enable-fast-install \ + || return 1 make || return 1 } diff --git a/main/gdk-pixbuf/APKBUILD b/main/gdk-pixbuf/APKBUILD index f00640764c..72e82c6a47 100644 --- a/main/gdk-pixbuf/APKBUILD +++ b/main/gdk-pixbuf/APKBUILD @@ -28,11 +28,15 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --with-x11 \ --mandir=/usr/share/man \ - --infodir=/usr/share/info + --infodir=/usr/share/info \ + || return 1 make || return 1 } diff --git a/main/gdl/APKBUILD b/main/gdl/APKBUILD index fb03c64c4a..415b5f911d 100644 --- a/main/gdl/APKBUILD +++ b/main/gdl/APKBUILD @@ -12,7 +12,10 @@ source="http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver%.*}/$pkgname-$p build() { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --disable-static \ diff --git a/main/gdnsd/APKBUILD b/main/gdnsd/APKBUILD index 77a96eb30b..5652bf31d5 100644 --- a/main/gdnsd/APKBUILD +++ b/main/gdnsd/APKBUILD @@ -35,7 +35,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --enable-fast-install \ diff --git a/main/geany/APKBUILD b/main/geany/APKBUILD index 4118919b41..8a699339de 100644 --- a/main/geany/APKBUILD +++ b/main/geany/APKBUILD @@ -53,7 +53,11 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 } diff --git a/main/gegl/APKBUILD b/main/gegl/APKBUILD index 5f4d40521b..56987a3d38 100644 --- a/main/gegl/APKBUILD +++ b/main/gegl/APKBUILD @@ -24,7 +24,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --with-librsvg \ --disable-docs \ || return 1 diff --git a/main/geh/APKBUILD b/main/geh/APKBUILD index dfa61e095f..afa3b555b2 100644 --- a/main/geh/APKBUILD +++ b/main/geh/APKBUILD @@ -26,10 +26,14 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ - --infodir=/usr/share/info + --infodir=/usr/share/info \ + || return 1 make || return 1 } diff --git a/main/geoip/APKBUILD b/main/geoip/APKBUILD index d5f72ef0c9..2c18cae4f9 100644 --- a/main/geoip/APKBUILD +++ b/main/geoip/APKBUILD @@ -23,10 +23,14 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc/geoip \ --mandir=/usr/share/man \ - --infodir=/usr/share/info + --infodir=/usr/share/info \ + || return 1 make || return 1 make check || return 1 } diff --git a/main/gettext/APKBUILD b/main/gettext/APKBUILD index 4a5c0de14d..4c9ff82f6a 100644 --- a/main/gettext/APKBUILD +++ b/main/gettext/APKBUILD @@ -35,11 +35,15 @@ build() { # http://bugs.gentoo.org/show_bug.cgi?id=81628 export CPPFLAGS="$CPPFLAGS -I/usr/include/libxml2" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --mandir=/usr/share/man \ --enable-threads=posix \ --disable-java \ - --disable-static + --disable-static \ + || return 1 make || return 1 } 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 } diff --git a/main/giblib/APKBUILD b/main/giblib/APKBUILD index f14b62abf0..cb1196d8a9 100644 --- a/main/giblib/APKBUILD +++ b/main/giblib/APKBUILD @@ -14,7 +14,11 @@ source="http://linuxbrit.co.uk/downloads/$pkgname-$pkgver.tar.gz" depends_dev="imlib2-dev freetype-dev zlib-dev libx11-dev libxext-dev" build() { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 } diff --git a/main/giflib/APKBUILD b/main/giflib/APKBUILD index 81a5fc73a7..32f5c72161 100644 --- a/main/giflib/APKBUILD +++ b/main/giflib/APKBUILD @@ -24,7 +24,11 @@ prepare() { build () { cd "$_builddir" - ./configure --prefix=/usr || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 MAJOR=`echo $pkgver | sed 's/\([0-9]\+\)\..*/\1/'` gcc -shared -Wl,-soname,libungif.so.${MAJOR} -Llib/.libs -lgif -o libungif.so.$pkgver || return 1 diff --git a/main/gigolo/APKBUILD b/main/gigolo/APKBUILD index 0bed2a64f9..7de77d1bd9 100644 --- a/main/gigolo/APKBUILD +++ b/main/gigolo/APKBUILD @@ -20,10 +20,14 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ - --infodir=/usr/share/info + --infodir=/usr/share/info \ + || return 1 make || return 1 } diff --git a/main/gimp/APKBUILD b/main/gimp/APKBUILD index c4b6c9d15e..ec6198ef66 100644 --- a/main/gimp/APKBUILD +++ b/main/gimp/APKBUILD @@ -30,7 +30,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --disable-dependency-tracking \ --sysconfdir=/etc \ --enable-mp \ @@ -40,7 +43,8 @@ build() { --with-gvfs \ --without-gnomevfs \ --with-gif-compression=lzw \ - --without-aa || return 1 + --without-aa \ + || return 1 make || return 1 } diff --git a/main/glade/APKBUILD b/main/glade/APKBUILD index bb25db79ad..c436803b1c 100644 --- a/main/glade/APKBUILD +++ b/main/glade/APKBUILD @@ -26,10 +26,14 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ - --infodir=/usr/share/info + --infodir=/usr/share/info \ + || return 1 make || return 1 } diff --git a/main/glade3/APKBUILD b/main/glade3/APKBUILD index e70b90ba6c..1d748621af 100644 --- a/main/glade3/APKBUILD +++ b/main/glade3/APKBUILD @@ -19,7 +19,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ diff --git a/main/glib-networking/APKBUILD b/main/glib-networking/APKBUILD index ab9bc5750b..1a547ebca0 100644 --- a/main/glib-networking/APKBUILD +++ b/main/glib-networking/APKBUILD @@ -31,7 +31,10 @@ prepare() { build() { cd "$_builddir" - CONFIG_SHELL=/bin/bash ./configure --prefix=/usr \ + CONFIG_SHELL=/bin/bash ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --with-libproxy \ --with-gnutls \ || return 1 diff --git a/main/glib/APKBUILD b/main/glib/APKBUILD index 129b5df6dc..fbe1f164de 100644 --- a/main/glib/APKBUILD +++ b/main/glib/APKBUILD @@ -22,8 +22,12 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ - --mandir=/usr/share/man + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --mandir=/usr/share/man \ + || return 1 make || return 1 } diff --git a/main/glibmm/APKBUILD b/main/glibmm/APKBUILD index 3fe0ac686f..e09c93717a 100644 --- a/main/glibmm/APKBUILD +++ b/main/glibmm/APKBUILD @@ -14,7 +14,11 @@ source="http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver%.*}/$pkgname-$p build() { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 } diff --git a/main/glproto/APKBUILD b/main/glproto/APKBUILD index a6f91e3e5c..d6b9af13a1 100644 --- a/main/glproto/APKBUILD +++ b/main/glproto/APKBUILD @@ -12,7 +12,11 @@ source="http://xorg.freedesktop.org/releases/individual/proto/$pkgname-$pkgver.t build() { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 } diff --git a/main/glu/APKBUILD b/main/glu/APKBUILD index 48b117ee59..4f88ce8d94 100644 --- a/main/glu/APKBUILD +++ b/main/glu/APKBUILD @@ -27,7 +27,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --disable-static \ || return 1 make || return 1 diff --git a/main/gmime/APKBUILD b/main/gmime/APKBUILD index af59ad9e47..599de2af01 100644 --- a/main/gmime/APKBUILD +++ b/main/gmime/APKBUILD @@ -27,8 +27,12 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ - --sysconfdir=/etc || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + || return 1 make || return 1 } diff --git a/main/gmp5/APKBUILD b/main/gmp5/APKBUILD index f57a04f657..cf624951db 100644 --- a/main/gmp5/APKBUILD +++ b/main/gmp5/APKBUILD @@ -24,14 +24,15 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ - --build=${CBUILD} \ - --host=${CHOST} \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ --with-sysroot=${CBUILDROOT} \ + --prefix=/usr \ --infodir=/usr/share/info \ --mandir=/usr/share/man \ --localstatedir=/var/state/gmp \ - --enable-cxx \ + --enable-cxx \ --with-pic \ || return 1 diff --git a/main/gnats/APKBUILD b/main/gnats/APKBUILD index 9b4460809e..befad8edba 100644 --- a/main/gnats/APKBUILD +++ b/main/gnats/APKBUILD @@ -18,11 +18,15 @@ build() { # make install needs gnats user sudo sh $srcdir/$install pre_install || return 1 - AWK=awk ./configure --prefix=/usr \ + AWK=awk ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --sharedstatedir=/var/lib \ --mandir=/usr/share/man \ - --infodir=/usr/share/info + --infodir=/usr/share/info \ + || return 1 make || return 1 make DESTDIR="$pkgdir/" install diff --git a/main/gnokii/APKBUILD b/main/gnokii/APKBUILD index cd4ffce498..9d02ec5547 100644 --- a/main/gnokii/APKBUILD +++ b/main/gnokii/APKBUILD @@ -32,7 +32,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --enable-security \ --disable-unix98test \ diff --git a/main/gnomad2/APKBUILD b/main/gnomad2/APKBUILD index 804d008931..237a8dc53f 100644 --- a/main/gnomad2/APKBUILD +++ b/main/gnomad2/APKBUILD @@ -28,7 +28,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ diff --git a/main/gnome-bluetooth/APKBUILD b/main/gnome-bluetooth/APKBUILD index 182e9765ae..4666c4eb05 100644 --- a/main/gnome-bluetooth/APKBUILD +++ b/main/gnome-bluetooth/APKBUILD @@ -32,7 +32,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --disable-desktop-update \ diff --git a/main/gnome-control-center/APKBUILD b/main/gnome-control-center/APKBUILD index c7c1417cad..7977e90d4b 100644 --- a/main/gnome-control-center/APKBUILD +++ b/main/gnome-control-center/APKBUILD @@ -51,9 +51,13 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ - --disable-scrollkeeper || return 1 + --disable-scrollkeeper \ + || return 1 make || return 1 } diff --git a/main/gnome-desktop/APKBUILD b/main/gnome-desktop/APKBUILD index 5dff957bb5..c76d464408 100644 --- a/main/gnome-desktop/APKBUILD +++ b/main/gnome-desktop/APKBUILD @@ -27,10 +27,14 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --with-gnome-distributor=Alpine \ - --disable-scrollkeeper || return 1 + --disable-scrollkeeper \ + || return 1 make || return 1 } diff --git a/main/gnome-disk-utility/APKBUILD b/main/gnome-disk-utility/APKBUILD index 95c1e1e090..4d6ed67534 100644 --- a/main/gnome-disk-utility/APKBUILD +++ b/main/gnome-disk-utility/APKBUILD @@ -26,13 +26,17 @@ prepare() { build () { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --libexecdir=/usr/lib/gnome-disk-utility \ --disable-scrollkeeper \ --disable-nautilus \ - --disable-gtk-doc + --disable-gtk-doc \ + || return 1 make } diff --git a/main/gnome-doc-utils/APKBUILD b/main/gnome-doc-utils/APKBUILD index 99d0625c38..c18984186d 100644 --- a/main/gnome-doc-utils/APKBUILD +++ b/main/gnome-doc-utils/APKBUILD @@ -19,11 +19,15 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --localstatedir=/var \ - --disable-scrollkeeper || return 1 + --disable-scrollkeeper \ + || return 1 # broken with parallell builds make -j1 || return 1 } diff --git a/main/gnome-icon-theme/APKBUILD b/main/gnome-icon-theme/APKBUILD index 72a009efe3..a1f7e5f1a2 100644 --- a/main/gnome-icon-theme/APKBUILD +++ b/main/gnome-icon-theme/APKBUILD @@ -27,9 +27,13 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ - --disable-scrollkeeper || return 1 + --disable-scrollkeeper \ + || return 1 make || return 1 } diff --git a/main/gnome-keyring/APKBUILD b/main/gnome-keyring/APKBUILD index 574df5ef13..74c604f1b5 100644 --- a/main/gnome-keyring/APKBUILD +++ b/main/gnome-keyring/APKBUILD @@ -46,8 +46,12 @@ build() { cd "$_builddir" # build fails on eglibc when using ccache [ "$ALPINE_LIBC" = "eglibc" ] && export CC="/usr/bin/gcc" - ./configure --prefix=/usr \ - --sysconfdir=/etc || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + || return 1 make || return 1 } diff --git a/main/gnome-menus/APKBUILD b/main/gnome-menus/APKBUILD index 13076e9780..6827135105 100644 --- a/main/gnome-menus/APKBUILD +++ b/main/gnome-menus/APKBUILD @@ -27,9 +27,13 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ - --disable-scrollkeeper || return 1 + --disable-scrollkeeper \ + || return 1 make || return 1 } diff --git a/main/gnome-mime-data/APKBUILD b/main/gnome-mime-data/APKBUILD index 9cbd4698f7..5988e4c00d 100644 --- a/main/gnome-mime-data/APKBUILD +++ b/main/gnome-mime-data/APKBUILD @@ -27,9 +27,13 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ - --disable-scrollkeeper || return 1 + --disable-scrollkeeper \ + || return 1 make || return 1 } diff --git a/main/gnome-panel/APKBUILD b/main/gnome-panel/APKBUILD index 6e3ce26bde..e2ea967942 100644 --- a/main/gnome-panel/APKBUILD +++ b/main/gnome-panel/APKBUILD @@ -41,9 +41,13 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ - --disable-scrollkeeper || return 1 + --disable-scrollkeeper \ + || return 1 make || return 1 } diff --git a/main/gnome-power-manager/APKBUILD b/main/gnome-power-manager/APKBUILD index 08e7463ee1..16550a3adf 100644 --- a/main/gnome-power-manager/APKBUILD +++ b/main/gnome-power-manager/APKBUILD @@ -50,10 +50,14 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --disable-applets \ - --disable-scrollkeeper || return 1 + --disable-scrollkeeper \ + || return 1 make || return 1 } diff --git a/main/gnome-screensaver/APKBUILD b/main/gnome-screensaver/APKBUILD index d7e1acabb4..91da558467 100644 --- a/main/gnome-screensaver/APKBUILD +++ b/main/gnome-screensaver/APKBUILD @@ -48,10 +48,14 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --disable-applets \ - --disable-scrollkeeper || return 1 + --disable-scrollkeeper \ + || return 1 make || return 1 } diff --git a/main/gnome-session/APKBUILD b/main/gnome-session/APKBUILD index bb453be6fe..8710854ac4 100644 --- a/main/gnome-session/APKBUILD +++ b/main/gnome-session/APKBUILD @@ -36,10 +36,14 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --enable-compositor \ - --disable-scrollkeeper || return 1 + --disable-scrollkeeper \ + || return 1 make || return 1 } diff --git a/main/gnome-settings-daemon/APKBUILD b/main/gnome-settings-daemon/APKBUILD index 9d827f6ac5..58863deb36 100644 --- a/main/gnome-settings-daemon/APKBUILD +++ b/main/gnome-settings-daemon/APKBUILD @@ -47,9 +47,13 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ - --disable-scrollkeeper || return 1 + --disable-scrollkeeper \ + || return 1 make || return 1 } diff --git a/main/gnome-system-monitor/APKBUILD b/main/gnome-system-monitor/APKBUILD index 1374b21086..ad83de9e00 100644 --- a/main/gnome-system-monitor/APKBUILD +++ b/main/gnome-system-monitor/APKBUILD @@ -63,9 +63,13 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ - --disable-scrollkeeper || return 1 + --disable-scrollkeeper \ + || return 1 make || return 1 } diff --git a/main/gnome-terminal/APKBUILD b/main/gnome-terminal/APKBUILD index 9ff4320913..979e31ea96 100644 --- a/main/gnome-terminal/APKBUILD +++ b/main/gnome-terminal/APKBUILD @@ -26,9 +26,13 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ - --disable-scrollkeeper || return 1 + --disable-scrollkeeper \ + || return 1 make || return 1 } diff --git a/main/gnome-themes/APKBUILD b/main/gnome-themes/APKBUILD index b9a963e5ea..da9ce45897 100644 --- a/main/gnome-themes/APKBUILD +++ b/main/gnome-themes/APKBUILD @@ -27,9 +27,13 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ - --disable-scrollkeeper || return 1 + --disable-scrollkeeper \ + || return 1 make || return 1 } diff --git a/main/gnome-vfs/APKBUILD b/main/gnome-vfs/APKBUILD index 70d2e4ca12..0854692d1a 100644 --- a/main/gnome-vfs/APKBUILD +++ b/main/gnome-vfs/APKBUILD @@ -28,7 +28,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ || return 1 make || return 1 diff --git a/main/gnuchess/APKBUILD b/main/gnuchess/APKBUILD index bb1a7ed2a0..bc98ebeaaa 100644 --- a/main/gnuchess/APKBUILD +++ b/main/gnuchess/APKBUILD @@ -26,7 +26,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ diff --git a/main/gnumeric/APKBUILD b/main/gnumeric/APKBUILD index 119cf47059..1a0dc46de3 100644 --- a/main/gnumeric/APKBUILD +++ b/main/gnumeric/APKBUILD @@ -24,7 +24,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --disable-static \ diff --git a/main/gnupg/APKBUILD b/main/gnupg/APKBUILD index 445dd67316..0fef88634b 100644 --- a/main/gnupg/APKBUILD +++ b/main/gnupg/APKBUILD @@ -14,8 +14,12 @@ source="ftp://ftp.gnupg.org/gcrypt/gnupg/gnupg-$pkgver.tar.bz2" build () { cd "$srcdir/$pkgname-$pkgver" - ./configure --prefix=/usr \ - --disable-nls + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --disable-nls \ + || return 1 make || return 1 } diff --git a/main/gnutls/APKBUILD b/main/gnutls/APKBUILD index e7e8bf6d94..1dbe346570 100644 --- a/main/gnutls/APKBUILD +++ b/main/gnutls/APKBUILD @@ -29,7 +29,10 @@ prepare() { build() { cd "$_builddir" - LIBS="-lgmp" ./configure --prefix=/usr \ + LIBS="-lgmp" ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ diff --git a/main/gobject-introspection/APKBUILD b/main/gobject-introspection/APKBUILD index 69e8a03aa8..7d7e462a1e 100644 --- a/main/gobject-introspection/APKBUILD +++ b/main/gobject-introspection/APKBUILD @@ -31,7 +31,12 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr --disable-static || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --disable-static \ + || return 1 make V=1 || return 1 } diff --git a/main/goffice/APKBUILD b/main/goffice/APKBUILD index 961a1086b3..6d1806c778 100644 --- a/main/goffice/APKBUILD +++ b/main/goffice/APKBUILD @@ -28,7 +28,10 @@ prepare() { build() { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --disable-static \ diff --git a/main/goffice0.8/APKBUILD b/main/goffice0.8/APKBUILD index 54829f2cdd..cde30efe60 100644 --- a/main/goffice0.8/APKBUILD +++ b/main/goffice0.8/APKBUILD @@ -30,7 +30,10 @@ prepare() { build() { cd "$srcdir"/$_realname-$pkgver - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --without-gconf \ diff --git a/main/gparted/APKBUILD b/main/gparted/APKBUILD index e6f9ca91b9..e98d15415d 100644 --- a/main/gparted/APKBUILD +++ b/main/gparted/APKBUILD @@ -20,12 +20,16 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --disable-doc \ - --disable-scrollkeeper + --disable-scrollkeeper \ + || return 1 make || return 1 } diff --git a/main/gperf/APKBUILD b/main/gperf/APKBUILD index 6cad51f78e..37c4ce18ce 100644 --- a/main/gperf/APKBUILD +++ b/main/gperf/APKBUILD @@ -14,7 +14,11 @@ source="ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz" build () { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 } diff --git a/main/gpgme/APKBUILD b/main/gpgme/APKBUILD index 3e5f3419a5..bd7d29d1da 100644 --- a/main/gpgme/APKBUILD +++ b/main/gpgme/APKBUILD @@ -27,7 +27,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ diff --git a/main/gphoto2/APKBUILD b/main/gphoto2/APKBUILD index fdb6d26bf4..7831471fe6 100644 --- a/main/gphoto2/APKBUILD +++ b/main/gphoto2/APKBUILD @@ -27,7 +27,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ diff --git a/main/gpicview/APKBUILD b/main/gpicview/APKBUILD index d7b2c63975..ad26d8cd19 100644 --- a/main/gpicview/APKBUILD +++ b/main/gpicview/APKBUILD @@ -22,7 +22,12 @@ prepare() { build() { cd "$srcdir/$pkgname-$pkgver" - ./configure --sysconfdir=/etc --prefix=/usr || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --sysconfdir=/etc \ + --prefix=/usr \ + || return 1 make || return 1 } diff --git a/main/graphviz/APKBUILD b/main/graphviz/APKBUILD index d5cf0096aa..531d158e91 100644 --- a/main/graphviz/APKBUILD +++ b/main/graphviz/APKBUILD @@ -33,7 +33,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --with-x \ --disable-static \ diff --git a/main/grep/APKBUILD b/main/grep/APKBUILD index 0be3037679..3303e7bd69 100644 --- a/main/grep/APKBUILD +++ b/main/grep/APKBUILD @@ -16,11 +16,15 @@ source="http://mirrors.kernel.org/gnu/$pkgname/$pkgname-$pkgver.tar.xz" build() { cd "$srcdir/$pkgname-$pkgver" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ - --disable-nls + --disable-nls \ + || return 1 make || return 1 } diff --git a/main/groff/APKBUILD b/main/groff/APKBUILD index aca8b4803d..3b7d7a6d0d 100644 --- a/main/groff/APKBUILD +++ b/main/groff/APKBUILD @@ -13,7 +13,12 @@ source="ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz" build () { cd "$srcdir/$pkgname-$pkgver" - ./configure --prefix=/usr --without-x + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --without-x \ + || return 1 make || return 1 } diff --git a/main/gross/APKBUILD b/main/gross/APKBUILD index e06a6ef58a..9ab6ca9ab4 100644 --- a/main/gross/APKBUILD +++ b/main/gross/APKBUILD @@ -33,10 +33,14 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + || return 1 make -j1 || return 1 } diff --git a/main/gsl/APKBUILD b/main/gsl/APKBUILD index aee3d17fec..479e571d52 100644 --- a/main/gsl/APKBUILD +++ b/main/gsl/APKBUILD @@ -15,7 +15,11 @@ source="http://ftp.gnu.org/gnu/gsl/gsl-$pkgver.tar.gz" _builddir="$srcdir"/$pkgname-$pkgver build() { cd "$_builddir" - ./configure --prefix=/usr + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 } diff --git a/main/gst-ffmpeg/APKBUILD b/main/gst-ffmpeg/APKBUILD index fb66fe98a8..23a6599171 100644 --- a/main/gst-ffmpeg/APKBUILD +++ b/main/gst-ffmpeg/APKBUILD @@ -21,11 +21,15 @@ prepare() { build() { cd "$_builddir" export CFLAGS="$CFLAGS -fno-strict-aliasing" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --enable-orc \ - --with-ffmpeg-extra-configure="--enable-pic --disable-mmx --disable-mmx2" || return 1 + --with-ffmpeg-extra-configure="--enable-pic --disable-mmx --disable-mmx2" \ + || return 1 make || return 1 } diff --git a/main/gst-libav1/APKBUILD b/main/gst-libav1/APKBUILD index 685fe007d2..8eb1fb3831 100644 --- a/main/gst-libav1/APKBUILD +++ b/main/gst-libav1/APKBUILD @@ -26,7 +26,10 @@ prepare() { build() { cd "$_builddir" export CFLAGS="$CFLAGS -fno-strict-aliasing" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --enable-orc \ diff --git a/main/gst-plugins-bad/APKBUILD b/main/gst-plugins-bad/APKBUILD index 458fc74118..ce7bb29822 100644 --- a/main/gst-plugins-bad/APKBUILD +++ b/main/gst-plugins-bad/APKBUILD @@ -19,7 +19,10 @@ source="http://gstreamer.freedesktop.org//src/gst-plugins-bad/gst-plugins-bad-$p build() { cd "$srcdir"/gst-plugins-bad-$pkgver - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --disable-static \ diff --git a/main/gst-plugins-bad1/APKBUILD b/main/gst-plugins-bad1/APKBUILD index 2a758e9aa2..e7a103cd9c 100644 --- a/main/gst-plugins-bad1/APKBUILD +++ b/main/gst-plugins-bad1/APKBUILD @@ -41,7 +41,10 @@ ldpath="/usr/lib/gstreamer-1.0" _builddir="$srcdir"/gst-plugins-bad-$pkgver build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --disable-static \ diff --git a/main/gst-plugins-base/APKBUILD b/main/gst-plugins-base/APKBUILD index 2b2d3e09c5..5aec95753e 100644 --- a/main/gst-plugins-base/APKBUILD +++ b/main/gst-plugins-base/APKBUILD @@ -26,7 +26,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --disable-static \ diff --git a/main/gst-plugins-base1/APKBUILD b/main/gst-plugins-base1/APKBUILD index 4b1de23e7b..0891ea957d 100644 --- a/main/gst-plugins-base1/APKBUILD +++ b/main/gst-plugins-base1/APKBUILD @@ -36,7 +36,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --disable-static \ diff --git a/main/gst-plugins-good/APKBUILD b/main/gst-plugins-good/APKBUILD index 66cae73267..353c27a831 100644 --- a/main/gst-plugins-good/APKBUILD +++ b/main/gst-plugins-good/APKBUILD @@ -32,7 +32,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --disable-static \ diff --git a/main/gst-plugins-good1/APKBUILD b/main/gst-plugins-good1/APKBUILD index a119a4810c..53b9d86cdc 100644 --- a/main/gst-plugins-good1/APKBUILD +++ b/main/gst-plugins-good1/APKBUILD @@ -50,7 +50,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --disable-static \ diff --git a/main/gst-plugins-ugly/APKBUILD b/main/gst-plugins-ugly/APKBUILD index 04a39c4438..f97ca6d810 100644 --- a/main/gst-plugins-ugly/APKBUILD +++ b/main/gst-plugins-ugly/APKBUILD @@ -27,13 +27,17 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --disable-static \ --enable-experimental \ --with-package-name="GStreamer Ugly Plugins (Alpine Linux)" \ - --with-package-origin="http://www.alpinelinux.org/" || return 1 + --with-package-origin="http://www.alpinelinux.org/" \ + || return 1 make } diff --git a/main/gst-plugins-ugly1/APKBUILD b/main/gst-plugins-ugly1/APKBUILD index 6430d0a068..962dd01eed 100644 --- a/main/gst-plugins-ugly1/APKBUILD +++ b/main/gst-plugins-ugly1/APKBUILD @@ -30,13 +30,17 @@ _builddir="$srcdir"/gst-plugins-ugly-$pkgver build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --disable-static \ --enable-experimental \ --with-package-name="GStreamer Ugly Plugins (Alpine Linux)" \ - --with-package-origin="http://alpinelinux.org/" || return 1 + --with-package-origin="http://alpinelinux.org/" \ + || return 1 make } diff --git a/main/gstreamer/APKBUILD b/main/gstreamer/APKBUILD index 1d7d1f46f2..ce158ab2f9 100644 --- a/main/gstreamer/APKBUILD +++ b/main/gstreamer/APKBUILD @@ -32,11 +32,15 @@ prepare() { build() { cd "$srcdir"/gstreamer-$pkgver - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --enable-introspection \ - --disable-docs-build || return 1 + --disable-docs-build \ + || return 1 make || return 1 } diff --git a/main/gstreamer1/APKBUILD b/main/gstreamer1/APKBUILD index 59df186f63..d7a5149869 100644 --- a/main/gstreamer1/APKBUILD +++ b/main/gstreamer1/APKBUILD @@ -28,7 +28,10 @@ prepare() { build() { cd "$srcdir"/gstreamer-$pkgver - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --enable-introspection \ diff --git a/main/gtk+2.0/APKBUILD b/main/gtk+2.0/APKBUILD index acfe2689ff..97fa9ac57c 100644 --- a/main/gtk+2.0/APKBUILD +++ b/main/gtk+2.0/APKBUILD @@ -66,12 +66,16 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --with-xinput=yes \ --without-libjasper \ - --with-included-loaders=png || return 1 + --with-included-loaders=png \ + || return 1 # https://bugzilla.gnome.org/show_bug.cgi?id=655517 sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool || return 1 make || return 1 diff --git a/main/gtk+3.0/APKBUILD b/main/gtk+3.0/APKBUILD index 0c84becd13..43013e2174 100644 --- a/main/gtk+3.0/APKBUILD +++ b/main/gtk+3.0/APKBUILD @@ -54,7 +54,10 @@ source="http://ftp.gnome.org/pub/gnome/sources/gtk+/${pkgver%.*}/gtk+-$pkgver.ta _builddir="$srcdir"/gtk+-$pkgver build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ || return 1 diff --git a/main/gtk-doc/APKBUILD b/main/gtk-doc/APKBUILD index a0828f5887..1c70f5b7e7 100644 --- a/main/gtk-doc/APKBUILD +++ b/main/gtk-doc/APKBUILD @@ -12,7 +12,11 @@ source="http://ftp.gnome.org/pub/gnome/sources/$pkgname/$pkgver/$pkgname-$pkgver build() { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 } diff --git a/main/gtk-engines/APKBUILD b/main/gtk-engines/APKBUILD index 643ecd8665..50baa5cbf1 100644 --- a/main/gtk-engines/APKBUILD +++ b/main/gtk-engines/APKBUILD @@ -32,10 +32,14 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --enable-animation \ - --disable-scrollkeeper || return 1 + --disable-scrollkeeper \ + || return 1 make || return 1 } diff --git a/main/gtk-vnc/APKBUILD b/main/gtk-vnc/APKBUILD index e3c1e32807..0304bda523 100644 --- a/main/gtk-vnc/APKBUILD +++ b/main/gtk-vnc/APKBUILD @@ -15,11 +15,15 @@ source="http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$p subpackages="$pkgname-dev gvncviewer $pkgname-lang $pkgname-doc" build () { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --with-examples \ --enable-introspection \ --with-gtk=3.0 \ - --disable-static || return 1 + --disable-static \ + || return 1 make || return 1 } diff --git a/main/gtk-xfce-engine/APKBUILD b/main/gtk-xfce-engine/APKBUILD index 9004db9292..9fa4fc0abf 100644 --- a/main/gtk-xfce-engine/APKBUILD +++ b/main/gtk-xfce-engine/APKBUILD @@ -23,11 +23,15 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --libexecdir=/usr/lib \ --localstatedir=/var \ - --disable-static + --disable-static \ + || return 1 make || return 1 } diff --git a/main/gtkglext/APKBUILD b/main/gtkglext/APKBUILD index adee233d10..b6d9747733 100644 --- a/main/gtkglext/APKBUILD +++ b/main/gtkglext/APKBUILD @@ -30,7 +30,10 @@ prepare() { build() { cd "$_builddir" ./configure \ - --prefix=/usr || return 1 + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 } diff --git a/main/gtkmm/APKBUILD b/main/gtkmm/APKBUILD index c4f57d332e..c2422dc465 100644 --- a/main/gtkmm/APKBUILD +++ b/main/gtkmm/APKBUILD @@ -14,7 +14,11 @@ source="http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver%.*}/$pkgname-$p build() { cd "$srcdir"/gtkmm-$pkgver - ./configure --prefix=/usr || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 } diff --git a/main/gtksourceview/APKBUILD b/main/gtksourceview/APKBUILD index 09d46d392e..5a9da5c9d7 100644 --- a/main/gtksourceview/APKBUILD +++ b/main/gtksourceview/APKBUILD @@ -14,10 +14,14 @@ source="http://ftp.gnome.org/pub/gnome/sources/gtksourceview/${pkgver%.*}/gtksou build() { cd "$srcdir"/gtksourceview-$pkgver - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ - --disable-static || return 1 + --disable-static \ + || return 1 make || return 1 } diff --git a/main/gtkspell/APKBUILD b/main/gtkspell/APKBUILD index 3b5df6f94f..9112599b6f 100644 --- a/main/gtkspell/APKBUILD +++ b/main/gtkspell/APKBUILD @@ -13,7 +13,10 @@ source="http://$pkgname.sourceforge.net/download/$pkgname-$pkgver.tar.gz" depends_dev="gtk+-dev" build() { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ || return 1 make || return 1 } diff --git a/main/gucharmap/APKBUILD b/main/gucharmap/APKBUILD index e942c30ae8..e7078e43ef 100644 --- a/main/gucharmap/APKBUILD +++ b/main/gucharmap/APKBUILD @@ -21,7 +21,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ diff --git a/main/guile/APKBUILD b/main/guile/APKBUILD index f3fb25372a..7166bb65cb 100644 --- a/main/guile/APKBUILD +++ b/main/guile/APKBUILD @@ -29,8 +29,12 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ - --disable-error-on-warning || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --disable-error-on-warning \ + || return 1 make LDFLAGS+="-lpthread" || return 1 } diff --git a/main/gvfs/APKBUILD b/main/gvfs/APKBUILD index d771bd5c11..33a7f08e95 100644 --- a/main/gvfs/APKBUILD +++ b/main/gvfs/APKBUILD @@ -37,7 +37,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --libexecdir=/usr/lib/gvfs \ --mandir=/usr/share/man \ diff --git a/main/gzip/APKBUILD b/main/gzip/APKBUILD index fec3177a31..b1b062c06d 100644 --- a/main/gzip/APKBUILD +++ b/main/gzip/APKBUILD @@ -19,9 +19,13 @@ build() { # avoid text relocation export DEFS="NO_ASM" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --mandir=/usr/share/man \ - --infodir=/usr/share/info + --infodir=/usr/share/info \ + || return 1 make || return 1 } @@ -29,6 +33,9 @@ package() { cd "$_builddir" make DESTDIR=$pkgdir install + rm -rf "$pkgdir"/usr/lib/charset.alias + rmdir -p "$pkgdir"/usr/lib 2>/dev/null + mkdir -p "$pkgdir"/bin mv "$pkgdir"/usr/bin/gzip "$pkgdir"/usr/bin/gunzip "$pkgdir"/bin/ ln -s /bin/gzip "$pkgdir"/usr/bin/gzip diff --git a/main/harfbuzz/APKBUILD b/main/harfbuzz/APKBUILD index 1a6244bb6a..358ca8735f 100644 --- a/main/harfbuzz/APKBUILD +++ b/main/harfbuzz/APKBUILD @@ -26,7 +26,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --disable-static \ || return 1 make diff --git a/main/haserl/APKBUILD b/main/haserl/APKBUILD index ad7e36d233..26c3ee6c1e 100644 --- a/main/haserl/APKBUILD +++ b/main/haserl/APKBUILD @@ -32,8 +32,12 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ - --with-lua=lua5.1 || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --with-lua=lua5.1 \ + || return 1 make || return 1 } diff --git a/main/haveged/APKBUILD b/main/haveged/APKBUILD index 54e6993b34..7490e314fd 100644 --- a/main/haveged/APKBUILD +++ b/main/haveged/APKBUILD @@ -16,7 +16,12 @@ _builddir="$srcdir"/$pkgname-$pkgver build() { cd "$_builddir" - ./configure --prefix /usr --sysconfdir /etc || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix /usr \ + --sysconfdir /etc \ + || return 1 make || return 1 } diff --git a/main/heimdal/APKBUILD b/main/heimdal/APKBUILD index 767ee41789..d5a71f3097 100644 --- a/main/heimdal/APKBUILD +++ b/main/heimdal/APKBUILD @@ -54,14 +54,18 @@ build() { export LDFLAGS="${LDFLAGS} -Wl,--as-needed" export LIBS="-ldb" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --enable-shared=yes \ --without-x \ --with-berkeley-db \ --with-readline-lib=/usr/lib \ --with-readline-include=/usr/include/readline \ --with-sqlite3=/usr \ - --with-openssl=/usr || return 1 + --with-openssl=/usr \ + || return 1 # make sure we use system version rm -r lib/sqlite lib/com_err diff --git a/main/hicolor-icon-theme/APKBUILD b/main/hicolor-icon-theme/APKBUILD index c3d7144baa..d752d0be8a 100644 --- a/main/hicolor-icon-theme/APKBUILD +++ b/main/hicolor-icon-theme/APKBUILD @@ -12,7 +12,11 @@ source="http://icon-theme.freedesktop.org/releases/$pkgname-$pkgver.tar.gz" build() { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 } diff --git a/main/htop/APKBUILD b/main/htop/APKBUILD index ac4a843b5f..c7c89133fc 100644 --- a/main/htop/APKBUILD +++ b/main/htop/APKBUILD @@ -15,6 +15,8 @@ _builddir="$srcdir"/$pkgname-$pkgver build() { cd "$_builddir" ./configure \ + --build=$CBUILD \ + --host=$CHOST \ --prefix=/usr \ --mandir=/usr/share/man \ || return 1 diff --git a/main/hunspell/APKBUILD b/main/hunspell/APKBUILD index a8409b8b46..f629a1e46c 100644 --- a/main/hunspell/APKBUILD +++ b/main/hunspell/APKBUILD @@ -13,9 +13,13 @@ source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz" build() { cd "$srcdir/hunspell-$pkgver" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --disable-static \ - --without-included-gettext || return 1 + --without-included-gettext \ + || return 1 make || return 1 } diff --git a/main/hwdata/APKBUILD b/main/hwdata/APKBUILD index bdb25ceb82..caa449df86 100644 --- a/main/hwdata/APKBUILD +++ b/main/hwdata/APKBUILD @@ -26,7 +26,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --datadir=/usr/share \ || return 1 diff --git a/main/hylafax/APKBUILD b/main/hylafax/APKBUILD index 418027766f..35c01c96e1 100644 --- a/main/hylafax/APKBUILD +++ b/main/hylafax/APKBUILD @@ -27,7 +27,11 @@ build() { # the configure script does not handle ccache or distcc export CC=gcc export CXX=g++ - ./configure --nointeractive --disable-pam \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --nointeractive \ + --disable-pam \ --with-DIR_BIN=/usr/bin \ --with-DIR_SBIN=/usr/sbin \ --with-DIR_LIB=/usr/lib \ diff --git a/main/hypermail/APKBUILD b/main/hypermail/APKBUILD index 5a6824d856..02c8f3fcf3 100644 --- a/main/hypermail/APKBUILD +++ b/main/hypermail/APKBUILD @@ -17,12 +17,16 @@ source="http://www.hypermail-project.org/$pkgname-$pkgver.tar.gz _builddir="$srcdir"/hypermail build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --with-httpddir=/var/www \ - --with-cgidir=/var/www/cgi-bin + --with-cgidir=/var/www/cgi-bin \ + || return 1 make || return 1 } package() { diff --git a/main/iceauth/APKBUILD b/main/iceauth/APKBUILD index 42712528df..77fad92b3b 100644 --- a/main/iceauth/APKBUILD +++ b/main/iceauth/APKBUILD @@ -12,7 +12,10 @@ makedepends="pkgconfig libice-dev" source="http://xorg.freedesktop.org/releases/individual/app/iceauth-$pkgver.tar.bz2" build() { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --mandir=/usr/share/man \ || return 1 make || return 1 diff --git a/main/icecast/APKBUILD b/main/icecast/APKBUILD index 83282982c7..4046c5e4b1 100644 --- a/main/icecast/APKBUILD +++ b/main/icecast/APKBUILD @@ -26,11 +26,15 @@ prepare() { build() { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --localstatedir=/var \ --sysconfdir=/etc \ --mandir=/usr/share/man \ - --infodir=/usr/share/info + --infodir=/usr/share/info \ + || return 1 make } diff --git a/main/icedtea-web/APKBUILD b/main/icedtea-web/APKBUILD index 74cfaebd96..0a45aa915a 100644 --- a/main/icedtea-web/APKBUILD +++ b/main/icedtea-web/APKBUILD @@ -28,7 +28,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr/lib/jvm/java-1.6-openjdk \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr/lib/jvm/java-1.6-openjdk \ --datarootdir=/usr/share \ --sysconfdir=/etc \ --mandir=/usr/share/man \ diff --git a/main/icon-naming-utils/APKBUILD b/main/icon-naming-utils/APKBUILD index c55416924e..b7ba1e1822 100644 --- a/main/icon-naming-utils/APKBUILD +++ b/main/icon-naming-utils/APKBUILD @@ -13,10 +13,14 @@ source="http://tango.freedesktop.org/releases/$pkgname-$pkgver.tar.bz2" build () { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --libexecdir=/usr/lib/icon-naming-utils \ - --localstatedir=/var || return 1 + --localstatedir=/var \ + || return 1 make || return 1 make DESTDIR="$pkgdir" install || return 1 mv "$pkgdir"/usr/share/pkgconfig "$pkgdir"/usr/lib/pkgconfig || return 1 diff --git a/main/icu/APKBUILD b/main/icu/APKBUILD index a8ebea5917..240a3e8f43 100644 --- a/main/icu/APKBUILD +++ b/main/icu/APKBUILD @@ -40,7 +40,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --with-data-packaging=library \ --disable-samples \ diff --git a/main/iftop/APKBUILD b/main/iftop/APKBUILD index c0161cdc9c..26a8b0fd86 100644 --- a/main/iftop/APKBUILD +++ b/main/iftop/APKBUILD @@ -13,7 +13,12 @@ source="http://www.ex-parrot.com/~pdw/$pkgname/download/$pkgname-$pkgver.tar.gz" build() { cd "$srcdir/$pkgname-$pkgver" - ./configure --prefix=/usr --mandir=/usr/share/man + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --mandir=/usr/share/man \ + || return 1 make } diff --git a/main/igmpproxy/APKBUILD b/main/igmpproxy/APKBUILD index c0a8b9a5b0..792cb2f7eb 100644 --- a/main/igmpproxy/APKBUILD +++ b/main/igmpproxy/APKBUILD @@ -21,10 +21,14 @@ build() { sed -i -e 's:^#define MAX_MC_VIFS.*:#define MAX_MC_VIFS MAXVIFS:' \ src/igmpproxy.h - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ - --infodir=/usr/share/info + --infodir=/usr/share/info \ + || return 1 make || return 1 make DESTDIR="$pkgdir" install 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 } diff --git a/main/imlib2/APKBUILD b/main/imlib2/APKBUILD index 15b0fe828c..0af33ef14a 100644 --- a/main/imlib2/APKBUILD +++ b/main/imlib2/APKBUILD @@ -20,7 +20,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc/imlib2 \ --x-libraries=/usr/lib \ --disable-mmx \ diff --git a/main/indent/APKBUILD b/main/indent/APKBUILD index 260684cae7..65c247549d 100644 --- a/main/indent/APKBUILD +++ b/main/indent/APKBUILD @@ -22,12 +22,16 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --without-included-gettext \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ - --without-texinfo + --without-texinfo \ + || return 1 make SUBDIRS="intl po src" || return 1 } diff --git a/main/inkscape/APKBUILD b/main/inkscape/APKBUILD index 3944f12577..b4e9d97556 100644 --- a/main/inkscape/APKBUILD +++ b/main/inkscape/APKBUILD @@ -44,7 +44,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --with-python \ --with-perl \ --without-gnome-vfs \ diff --git a/main/inputproto/APKBUILD b/main/inputproto/APKBUILD index 94775c1e5f..356919f386 100644 --- a/main/inputproto/APKBUILD +++ b/main/inputproto/APKBUILD @@ -10,7 +10,11 @@ source="http://xorg.freedesktop.org/releases/individual/proto/$pkgname-$pkgver.t build() { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 } diff --git a/main/intltool/APKBUILD b/main/intltool/APKBUILD index 8cbcad1b3a..50ba6a5ab6 100644 --- a/main/intltool/APKBUILD +++ b/main/intltool/APKBUILD @@ -12,7 +12,11 @@ source="http://edge.launchpad.net/intltool/trunk/${pkgver}/+download/${pkgname}- build () { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 } diff --git a/main/iperf/APKBUILD b/main/iperf/APKBUILD index 248abcb0b3..ede37bdf00 100644 --- a/main/iperf/APKBUILD +++ b/main/iperf/APKBUILD @@ -17,6 +17,8 @@ _builddir="$srcdir/$pkgname-$pkgver" build() { cd "$_builddir" ./configure \ + --build=$CBUILD \ + --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ diff --git a/main/iproute2/APKBUILD b/main/iproute2/APKBUILD index f0bf0056e6..ade1959dfd 100644 --- a/main/iproute2/APKBUILD +++ b/main/iproute2/APKBUILD @@ -31,7 +31,10 @@ prepare() { build() { cd "$srcdir"/$pkgname-$_realver - ./configure || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + || return 1 make CCOPTS="-D_GNU_SOURCE $CFLAGS" LIBDIR=/lib || return 1 } diff --git a/main/ipsec-tools/APKBUILD b/main/ipsec-tools/APKBUILD index 300c662799..661e2e98b9 100644 --- a/main/ipsec-tools/APKBUILD +++ b/main/ipsec-tools/APKBUILD @@ -35,7 +35,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ @@ -47,7 +50,8 @@ build() { --enable-frag \ --enable-hybrid \ --enable-ipv6 \ - --enable-natt + --enable-natt \ + || return 1 make || return 1 } diff --git a/main/ipset/APKBUILD b/main/ipset/APKBUILD index 2af4fcab0e..7411c7732c 100644 --- a/main/ipset/APKBUILD +++ b/main/ipset/APKBUILD @@ -26,7 +26,13 @@ prepare() { build() { cd "$_builddir" - ./configure --with-kmod=no --prefix=/usr && make + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --with-kmod=no \ + --prefix=/usr \ + || return 1 + make || return 1 } package() { diff --git a/main/iptables/APKBUILD b/main/iptables/APKBUILD index 02916d3c6a..600f6cade8 100644 --- a/main/iptables/APKBUILD +++ b/main/iptables/APKBUILD @@ -24,19 +24,22 @@ prepare() { *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; esac done - sed -i -e '/if_packet/i#define __aligned_u64 __u64 __attribute__((aligned(8)))' \ + sed -i -e '/if_packet/i#define __aligned_u64 __u64 __attribute__((aligned(8)))' \ extensions/libxt_pkttype.c || return 1 } build() { cd "$srcdir/$pkgname-$pkgver" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --mandir=/usr/share/man \ --sbindir=/sbin \ --without-kernel \ - --enable-devel \ + --enable-devel \ --enable-libipq \ - --enable-shared \ + --enable-shared \ || return 1 # do not use rpath sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool diff --git a/main/iptraf-ng/APKBUILD b/main/iptraf-ng/APKBUILD index 7fb417a740..58aac82726 100644 --- a/main/iptraf-ng/APKBUILD +++ b/main/iptraf-ng/APKBUILD @@ -27,7 +27,10 @@ prepare() { build() { cd "$_builddir" - CFLAGS="$CFLAGS -std=gnu99" ./configure --prefix=/usr \ + CFLAGS="$CFLAGS -std=gnu99" ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ || return 1 make } diff --git a/main/ircii/APKBUILD b/main/ircii/APKBUILD index a1dd40456b..a18f48408a 100644 --- a/main/ircii/APKBUILD +++ b/main/ircii/APKBUILD @@ -16,7 +16,10 @@ source="http://dev.alpinelinux.org/archive/ircii/ircii-$pkgver.tar.bz2" build() { cd "$srcdir/$pkgname-$pkgver" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ diff --git a/main/ircservices/APKBUILD b/main/ircservices/APKBUILD index 2e37382494..3527070319 100644 --- a/main/ircservices/APKBUILD +++ b/main/ircservices/APKBUILD @@ -25,6 +25,8 @@ prepare() { build() { cd "$srcdir"/$pkgname-$pkgver + + # note: this is not autotools RUNGROUP=ircservices ./configure \ -cc "$CC" \ -cflags "$CFLAGS" \ @@ -33,9 +35,9 @@ build() { || return 1 # build targets one by one as paralell builds breaks - make config-check &&\ - make ircservices &&\ - make languages &&\ + make config-check && \ + make ircservices && \ + make languages && \ make tools } diff --git a/main/irqbalance/APKBUILD b/main/irqbalance/APKBUILD index 461aa5c9da..45dbc9eec3 100644 --- a/main/irqbalance/APKBUILD +++ b/main/irqbalance/APKBUILD @@ -25,10 +25,14 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ - --infodir=/usr/share/info + --infodir=/usr/share/info \ + || return 1 make || return 1 } diff --git a/main/irssi/APKBUILD b/main/irssi/APKBUILD index 8a3de49fca..9e4d9aae8e 100644 --- a/main/irssi/APKBUILD +++ b/main/irssi/APKBUILD @@ -29,11 +29,15 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --with-perl-staticlib \ - --with-proxy + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --with-perl-staticlib \ + --with-proxy \ + || return 1 make || return 1 } diff --git a/main/isl/APKBUILD b/main/isl/APKBUILD index 4aa28ad201..1d9d0ef2ce 100644 --- a/main/isl/APKBUILD +++ b/main/isl/APKBUILD @@ -28,12 +28,13 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --localstatedir=/var \ - --build=${CBUILD} \ - --host=${CHOST} \ --with-sysroot=${CBUILDROOT} \ || return 1 diff --git a/main/iso-codes/APKBUILD b/main/iso-codes/APKBUILD index abee4ef9d3..d57d110406 100644 --- a/main/iso-codes/APKBUILD +++ b/main/iso-codes/APKBUILD @@ -14,7 +14,11 @@ source="http://pkg-isocodes.alioth.debian.org/downloads/$pkgname-$pkgver.tar.xz" build() { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 } diff --git a/main/itstool/APKBUILD b/main/itstool/APKBUILD index 4321f6d814..6b8c48d6ee 100644 --- a/main/itstool/APKBUILD +++ b/main/itstool/APKBUILD @@ -26,7 +26,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ diff --git a/main/jansson/APKBUILD b/main/jansson/APKBUILD index d3e8a9cb3d..8811086f37 100644 --- a/main/jansson/APKBUILD +++ b/main/jansson/APKBUILD @@ -27,7 +27,10 @@ prepare() { build() { cd "$_builddir" LIBS=-lm \ - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ diff --git a/main/jasper/APKBUILD b/main/jasper/APKBUILD index f246759549..57a5d5847c 100644 --- a/main/jasper/APKBUILD +++ b/main/jasper/APKBUILD @@ -30,9 +30,13 @@ prepare() { build () { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --mandir=/usr/share/man \ - --enable-shared || return 1 + --enable-shared \ + || return 1 make || return 1 } diff --git a/main/jfsutils/APKBUILD b/main/jfsutils/APKBUILD index 86bbd721ee..f14ad8668b 100644 --- a/main/jfsutils/APKBUILD +++ b/main/jfsutils/APKBUILD @@ -29,7 +29,10 @@ prepare() { build () { cd "$_builddir" ./configure \ - --mandir=/usr/share/man + --build=$CBUILD \ + --host=$CHOST \ + --mandir=/usr/share/man \ + || return 1 make || return 1 } diff --git a/main/joe/APKBUILD b/main/joe/APKBUILD index 6ee1013bd9..51e07aa880 100644 --- a/main/joe/APKBUILD +++ b/main/joe/APKBUILD @@ -26,7 +26,12 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr --sysconfdir=/etc || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + || return 1 make || return 1 } diff --git a/main/js/APKBUILD b/main/js/APKBUILD index fb986990f1..ec55fff252 100644 --- a/main/js/APKBUILD +++ b/main/js/APKBUILD @@ -44,7 +44,10 @@ EOF build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --with-system-nspr \ --enable-threadsafe \ --enable-readline \ diff --git a/main/json-glib/APKBUILD b/main/json-glib/APKBUILD index 892b2b8ec9..66c64b4d75 100644 --- a/main/json-glib/APKBUILD +++ b/main/json-glib/APKBUILD @@ -14,7 +14,11 @@ source="http://ftp.gnome.org/pub/GNOME/sources/json-glib/${pkgver%.*}/json-glib- _builddir="$srcdir"/$pkgname-$pkgver build() { cd $srcdir/$pkgname-$pkgver - ./configure --prefix=/usr + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make } diff --git a/main/jwhois/APKBUILD b/main/jwhois/APKBUILD index c5a5c89eba..8bc206fdea 100644 --- a/main/jwhois/APKBUILD +++ b/main/jwhois/APKBUILD @@ -28,7 +28,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/ \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/ \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ diff --git a/main/jwm/APKBUILD b/main/jwm/APKBUILD index 12fc7d875b..77dd40a319 100644 --- a/main/jwm/APKBUILD +++ b/main/jwm/APKBUILD @@ -23,6 +23,8 @@ _builddir="$srcdir"/$pkgname-$pkgver build() { cd "$_builddir" ./configure \ + --build=$CBUILD \ + --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --enable-confirm \ @@ -36,7 +38,8 @@ build() { --enable-xmu \ --enable-xinerama \ --disable-fribidi \ - --disable-debug || return 1 + --disable-debug \ + || return 1 make || return 1 } diff --git a/main/kbd/APKBUILD b/main/kbd/APKBUILD index 59b4bf87d9..35aa5c1e4f 100644 --- a/main/kbd/APKBUILD +++ b/main/kbd/APKBUILD @@ -48,7 +48,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --datadir=/lib/kbd \ --localedir=/usr/share/locale \ --disable-nls \ diff --git a/main/kbproto/APKBUILD b/main/kbproto/APKBUILD index 6d5baee5b8..c12289b127 100644 --- a/main/kbproto/APKBUILD +++ b/main/kbproto/APKBUILD @@ -12,7 +12,11 @@ source="http://xorg.freedesktop.org/releases/individual/proto/$pkgname-$pkgver.t build() { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 } diff --git a/main/keybinder/APKBUILD b/main/keybinder/APKBUILD index 8c4188f023..94ea810679 100644 --- a/main/keybinder/APKBUILD +++ b/main/keybinder/APKBUILD @@ -27,7 +27,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --disable-static \ --disable-python \ --disable-lua \ diff --git a/main/kmod/APKBUILD b/main/kmod/APKBUILD index 65e52722c4..877c1ccfbd 100644 --- a/main/kmod/APKBUILD +++ b/main/kmod/APKBUILD @@ -27,7 +27,10 @@ prepare() { build() { cd "$_builddir" - ./configure --bindir=/bin \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --bindir=/bin \ --with-rootlibdir=/lib \ --with-zlib \ --with-xz \ diff --git a/main/knock/APKBUILD b/main/knock/APKBUILD index 58a63654d5..0e28532456 100644 --- a/main/knock/APKBUILD +++ b/main/knock/APKBUILD @@ -30,10 +30,14 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ - --infodir=/usr/share/info + --infodir=/usr/share/info \ + || return 1 make || return 1 } diff --git a/main/krb5/APKBUILD b/main/krb5/APKBUILD index 72ec854993..061e981050 100644 --- a/main/krb5/APKBUILD +++ b/main/krb5/APKBUILD @@ -43,6 +43,8 @@ build() { cd "$_builddir"/src ./configure \ CPPFLAGS="$CPPFLAGS -fPIC -I/usr/include/et" \ + --build=$CBUILD \ + --host=$CHOST \ --prefix=/usr \ --localstatedir=/var/lib \ --enable-shared \ diff --git a/main/lame/APKBUILD b/main/lame/APKBUILD index 45de772a21..f9a9a26462 100644 --- a/main/lame/APKBUILD +++ b/main/lame/APKBUILD @@ -37,11 +37,15 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --enable-nasm \ --disable-mp3x \ --enable-shared \ - --with-pic + --with-pic \ + || return 1 make || return 1 } diff --git a/main/lcms/APKBUILD b/main/lcms/APKBUILD index c2d09b112b..583a251a6a 100644 --- a/main/lcms/APKBUILD +++ b/main/lcms/APKBUILD @@ -14,7 +14,11 @@ source="http://downloads.sourceforge.net/project/lcms/lcms/$pkgver/lcms-$pkgver. _builddir="$srcdir"/$pkgname-$pkgver build() { cd "$_builddir" - ./configure --prefix=/usr + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 } diff --git a/main/ldns/APKBUILD b/main/ldns/APKBUILD index 75041a6339..b389817232 100644 --- a/main/ldns/APKBUILD +++ b/main/ldns/APKBUILD @@ -27,14 +27,25 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --localstatedir=/var \ || return 1 - (cd drill && ./configure --prefix=/usr) - (cd examples && ./configure --prefix=/usr) + (cd drill && ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr) \ + || return 1 + (cd examples && ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr) \ + || return 1 make || return 1 make -C drill || return 1 diff --git a/main/less/APKBUILD b/main/less/APKBUILD index 8953f964d8..b7e140363c 100644 --- a/main/less/APKBUILD +++ b/main/less/APKBUILD @@ -15,10 +15,14 @@ source="http://www.greenwoodsoftware.com/$pkgname/$pkgname-$pkgver.tar.gz" build() { cd "$srcdir/$pkgname-$pkgver" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ - --infodir=/usr/share/info + --infodir=/usr/share/info \ + || return 1 make || return 1 } diff --git a/main/lftp/APKBUILD b/main/lftp/APKBUILD index de23dfddba..c676c96dfb 100644 --- a/main/lftp/APKBUILD +++ b/main/lftp/APKBUILD @@ -25,13 +25,17 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc/lftp \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --with-modules \ --disable-nls \ - --with-openssl + --with-openssl \ + || return 1 make || return 1 } diff --git a/main/lha/APKBUILD b/main/lha/APKBUILD index 5ee866fb9b..22a71502ca 100644 --- a/main/lha/APKBUILD +++ b/main/lha/APKBUILD @@ -15,10 +15,14 @@ source="http://osdn.dl.sourceforge.jp/lha/22231/$pkgname-$pkgver-ac20050924p1.ta build () { cd $srcdir/$pkgname-$pkgver-ac20050924p1 - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ - --infodir=/usr/share/info + --infodir=/usr/share/info \ + || return 1 make || return 1 make "DESTDIR=$pkgdir" install #install -D -m755 $srcdir/lha $pkgdir/usr/bin/lha diff --git a/main/libao/APKBUILD b/main/libao/APKBUILD index 5e47953411..cfffd994b2 100644 --- a/main/libao/APKBUILD +++ b/main/libao/APKBUILD @@ -13,10 +13,14 @@ source="http://downloads.xiph.org/releases/ao/$pkgname-$pkgver.tar.gz" build () { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --enable-alsa09 \ --disable-esd \ - --disable-arts + --disable-arts \ + || return 1 make || return 1 } diff --git a/main/libarchive/APKBUILD b/main/libarchive/APKBUILD index 5305967e1b..20ee616df5 100644 --- a/main/libarchive/APKBUILD +++ b/main/libarchive/APKBUILD @@ -25,7 +25,12 @@ prepare() { build () { cd "$_builddir" - ./configure --prefix=/usr --without-xml2 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --without-xml2 \ + || return 1 make } diff --git a/main/libart-lgpl/APKBUILD b/main/libart-lgpl/APKBUILD index 0f76730111..436c460a02 100644 --- a/main/libart-lgpl/APKBUILD +++ b/main/libart-lgpl/APKBUILD @@ -15,7 +15,11 @@ source="http://ftp.gnome.org/pub/GNOME/sources/libart_lgpl/2.3/libart_lgpl-$pkgv _builddir="$srcdir"/libart_lgpl-$pkgver build() { cd "$_builddir" - ./configure --prefix=/usr || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 } diff --git a/main/libass/APKBUILD b/main/libass/APKBUILD index 3edf6bf927..34f5f2543d 100644 --- a/main/libass/APKBUILD +++ b/main/libass/APKBUILD @@ -21,10 +21,14 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ - --infodir=/usr/share/info + --infodir=/usr/share/info \ + || return 1 make || return 1 } diff --git a/main/libassuan/APKBUILD b/main/libassuan/APKBUILD index e85724155e..87d89fb8f8 100644 --- a/main/libassuan/APKBUILD +++ b/main/libassuan/APKBUILD @@ -13,7 +13,11 @@ source="ftp://ftp.gnupg.org/gcrypt/$pkgname/$pkgname-$pkgver.tar.bz2" build () { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 } diff --git a/main/libasyncns/APKBUILD b/main/libasyncns/APKBUILD index edb57b1de1..366f3f0828 100644 --- a/main/libasyncns/APKBUILD +++ b/main/libasyncns/APKBUILD @@ -18,6 +18,8 @@ _builddir="$srcdir"/$pkgname-$pkgver build() { cd "$_builddir" ./configure \ + --build=$CBUILD \ + --host=$CHOST \ --disable-static \ --prefix=/usr \ || return 1 diff --git a/main/libatasmart/APKBUILD b/main/libatasmart/APKBUILD index e73dcfc6b1..4a30fbe7f2 100644 --- a/main/libatasmart/APKBUILD +++ b/main/libatasmart/APKBUILD @@ -23,12 +23,16 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --disable-static \ - --localstatedir=/var + --localstatedir=/var \ + || return 1 make || return 1 } diff --git a/main/libavc1394/APKBUILD b/main/libavc1394/APKBUILD index ed8423ac79..f392c3aa6d 100644 --- a/main/libavc1394/APKBUILD +++ b/main/libavc1394/APKBUILD @@ -31,7 +31,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ diff --git a/main/libbluray/APKBUILD b/main/libbluray/APKBUILD index 180e8cbfed..8472993e9b 100644 --- a/main/libbluray/APKBUILD +++ b/main/libbluray/APKBUILD @@ -33,7 +33,10 @@ build() { # and this seems to be what libbluray assumes export CFLAGS="$CFLAGS -D_BSD_SOURCE" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ diff --git a/main/libbonobo/APKBUILD b/main/libbonobo/APKBUILD index e1150894c7..65bf599129 100644 --- a/main/libbonobo/APKBUILD +++ b/main/libbonobo/APKBUILD @@ -32,7 +32,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ || return 1 make || return 1 diff --git a/main/libbsd/APKBUILD b/main/libbsd/APKBUILD index a8f0866b05..1499eb93d4 100644 --- a/main/libbsd/APKBUILD +++ b/main/libbsd/APKBUILD @@ -27,7 +27,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ diff --git a/main/libburn/APKBUILD b/main/libburn/APKBUILD index e42741117e..bb7da61397 100644 --- a/main/libburn/APKBUILD +++ b/main/libburn/APKBUILD @@ -20,7 +20,12 @@ _builddir="$srcdir"/$pkgname-$_ver build () { cd "$_builddir" - ./configure --prefix=/usr --disable-static + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --disable-static \ + || return 1 make || return 1 } diff --git a/main/libcanberra/APKBUILD b/main/libcanberra/APKBUILD index 2bbeccc57d..26705f7225 100644 --- a/main/libcanberra/APKBUILD +++ b/main/libcanberra/APKBUILD @@ -23,10 +23,14 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ - --infodir=/usr/share/info + --infodir=/usr/share/info \ + || return 1 make || return 1 } diff --git a/main/libcap-ng/APKBUILD b/main/libcap-ng/APKBUILD index 8f6fd85ed8..6421b4ff9a 100644 --- a/main/libcap-ng/APKBUILD +++ b/main/libcap-ng/APKBUILD @@ -21,10 +21,14 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ - --infodir=/usr/share/info + --infodir=/usr/share/info \ + || return 1 make || return 1 } diff --git a/main/libcddb/APKBUILD b/main/libcddb/APKBUILD index 482702da7a..4a03352067 100644 --- a/main/libcddb/APKBUILD +++ b/main/libcddb/APKBUILD @@ -25,10 +25,14 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ - --infodir=/usr/share/info + --infodir=/usr/share/info \ + || return 1 make || return 1 } diff --git a/main/libcdio-paranoia/APKBUILD b/main/libcdio-paranoia/APKBUILD index d82446378d..16cb1323d0 100644 --- a/main/libcdio-paranoia/APKBUILD +++ b/main/libcdio-paranoia/APKBUILD @@ -30,7 +30,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ diff --git a/main/libcdio/APKBUILD b/main/libcdio/APKBUILD index 72619db032..0e31e75472 100644 --- a/main/libcdio/APKBUILD +++ b/main/libcdio/APKBUILD @@ -25,14 +25,18 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --disable-vcd-info \ --disable-static \ --disable-rpath \ - --disable-cpp-progs + --disable-cpp-progs \ + || return 1 make || return 1 } diff --git a/main/libcec/APKBUILD b/main/libcec/APKBUILD index 9068783f2e..d8ff6106a8 100644 --- a/main/libcec/APKBUILD +++ b/main/libcec/APKBUILD @@ -28,11 +28,14 @@ prepare() { build() { cd "$_builddir" ./bootstrap || return 1 - ./configure --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --localstatedir=/var \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --localstatedir=/var \ || return 1 } diff --git a/main/libconfig/APKBUILD b/main/libconfig/APKBUILD index d86ce9bf05..615f12e46d 100644 --- a/main/libconfig/APKBUILD +++ b/main/libconfig/APKBUILD @@ -14,9 +14,13 @@ subpackages="$pkgname-doc $pkgname-dev" _builddir="$srcdir"/$pkgname-$pkgver build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --mandir=/usr/share/man \ - --disable-cxx + --disable-cxx \ + || return 1 make || return 1 } diff --git a/main/libcroco/APKBUILD b/main/libcroco/APKBUILD index 539d3ac39a..a183994cce 100644 --- a/main/libcroco/APKBUILD +++ b/main/libcroco/APKBUILD @@ -15,8 +15,12 @@ depends_dev="glib-dev libxml2-dev pkgconfig" build() { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr \ - --disable-static || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --disable-static \ + || return 1 make || return 1 } diff --git a/main/libcue/APKBUILD b/main/libcue/APKBUILD index 0972f23880..3cb1c3d023 100644 --- a/main/libcue/APKBUILD +++ b/main/libcue/APKBUILD @@ -17,10 +17,14 @@ _builddir="$srcdir"/$pkgname-$pkgver build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ - --infodir=/usr/share/info + --infodir=/usr/share/info \ + || return 1 make || return 1 } diff --git a/main/libdaemon/APKBUILD b/main/libdaemon/APKBUILD index bac12d55ac..a6adb55fd4 100644 --- a/main/libdaemon/APKBUILD +++ b/main/libdaemon/APKBUILD @@ -14,7 +14,10 @@ source="http://0pointer.de/lennart/projects/libdaemon/libdaemon-$pkgver.tar.gz" _builddir="$srcdir"/$pkgname-$pkgver build () { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --localstatedir=/var \ --disable-lynx \ || return 1 diff --git a/main/libdc1394/APKBUILD b/main/libdc1394/APKBUILD index f80a4a2522..488a7a06d2 100644 --- a/main/libdc1394/APKBUILD +++ b/main/libdc1394/APKBUILD @@ -27,7 +27,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ diff --git a/main/libdnet/APKBUILD b/main/libdnet/APKBUILD index 6bd8c61d6f..b5b11be992 100644 --- a/main/libdnet/APKBUILD +++ b/main/libdnet/APKBUILD @@ -30,7 +30,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --mandir=/usr/share/man \ --without-python \ || return 1 diff --git a/main/libdrm/APKBUILD b/main/libdrm/APKBUILD index 88aa6cc7b0..ce89f01862 100644 --- a/main/libdrm/APKBUILD +++ b/main/libdrm/APKBUILD @@ -22,7 +22,10 @@ prepare() { build() { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --enable-udev \ --disable-manpages \ || return 1 diff --git a/main/libdv/APKBUILD b/main/libdv/APKBUILD index 4d46ae3be5..dd5b90ee4a 100644 --- a/main/libdv/APKBUILD +++ b/main/libdv/APKBUILD @@ -34,7 +34,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ diff --git a/main/libdvbcsa/APKBUILD b/main/libdvbcsa/APKBUILD index deb48b6e3a..75a173d7d7 100644 --- a/main/libdvbcsa/APKBUILD +++ b/main/libdvbcsa/APKBUILD @@ -27,7 +27,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ diff --git a/main/libdvbpsi/APKBUILD b/main/libdvbpsi/APKBUILD index eaa87f2a4b..bbe543c846 100644 --- a/main/libdvbpsi/APKBUILD +++ b/main/libdvbpsi/APKBUILD @@ -14,8 +14,12 @@ source="http://download.videolan.org/pub/libdvbpsi/$pkgver/$pkgname-$pkgver.tar. _builddir="$srcdir/$pkgname-$pkgver" build() { cd "$_builddir" - ./configure --prefix=/usr \ - --enable-release || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --enable-release \ + || return 1 make || return 1 } diff --git a/main/libedit/APKBUILD b/main/libedit/APKBUILD index 410baf91cb..39e2e622c9 100644 --- a/main/libedit/APKBUILD +++ b/main/libedit/APKBUILD @@ -27,7 +27,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ diff --git a/main/libee/APKBUILD b/main/libee/APKBUILD index 45de60b530..90eeac8ad1 100644 --- a/main/libee/APKBUILD +++ b/main/libee/APKBUILD @@ -14,7 +14,11 @@ source="http://www.libee.org/download/files/download/$pkgname-$pkgver.tar.gz" _builddir="$srcdir/$pkgname-$pkgver" prepare() { cd "$_builddir" - ./configure --prefix=/usr || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 } build() { diff --git a/main/libelf/APKBUILD b/main/libelf/APKBUILD index 82ad01352c..6ca2d542fd 100644 --- a/main/libelf/APKBUILD +++ b/main/libelf/APKBUILD @@ -13,10 +13,14 @@ source="http://www.mr511.de/software/$pkgname-$pkgver.tar.gz" build() { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --enable-shared \ --enable-gnu-names \ - --enable-compat || return 1 + --enable-compat \ + || return 1 make || return 1 } diff --git a/main/libestr/APKBUILD b/main/libestr/APKBUILD index b5b2509a67..eb58b5d001 100644 --- a/main/libestr/APKBUILD +++ b/main/libestr/APKBUILD @@ -13,7 +13,11 @@ source="http://libestr.adiscon.com/files/download/$pkgname-$pkgver.tar.gz" _builddir="$srcdir"/$pkgname-$pkgver prepare() { cd "$_builddir" - ./configure --prefix=/usr || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 } build() { diff --git a/main/libetpan/APKBUILD b/main/libetpan/APKBUILD index fde5177cfe..055df1d48a 100644 --- a/main/libetpan/APKBUILD +++ b/main/libetpan/APKBUILD @@ -25,11 +25,15 @@ prepare() { build () { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --with-gnutls=yes \ --with-openssl=no \ --with-gnutls \ - --disable-static + --disable-static \ + || return 1 make || return 1 } diff --git a/main/libev/APKBUILD b/main/libev/APKBUILD index 0bc2576a9b..7b7855b069 100644 --- a/main/libev/APKBUILD +++ b/main/libev/APKBUILD @@ -32,8 +32,12 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ - --sysconfdir=/etc || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + || return 1 make || return 1 } diff --git a/main/libevent/APKBUILD b/main/libevent/APKBUILD index ea160c1e23..f031f8cb37 100644 --- a/main/libevent/APKBUILD +++ b/main/libevent/APKBUILD @@ -16,9 +16,12 @@ _builddir="$srcdir"/$pkgname-$pkgver-stable build() { cd "$_builddir" ./configure \ + --build=$CBUILD \ + --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ - --disable-static || return 1 + --disable-static \ + || return 1 make || return 1 } diff --git a/main/libexif/APKBUILD b/main/libexif/APKBUILD index b26b623eca..7380981b98 100644 --- a/main/libexif/APKBUILD +++ b/main/libexif/APKBUILD @@ -13,7 +13,11 @@ source="http://downloads.sf.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.bz2" build() { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make } diff --git a/main/libffi/APKBUILD b/main/libffi/APKBUILD index 9291c6b206..7ea08ee543 100644 --- a/main/libffi/APKBUILD +++ b/main/libffi/APKBUILD @@ -15,7 +15,11 @@ source="ftp://sourceware.org/pub/$pkgname/$pkgname-$pkgver.tar.gz" _builddir="$srcdir"/$pkgname-$pkgver build () { cd "$_builddir" - ./configure --prefix=/usr || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 } diff --git a/main/libfontenc/APKBUILD b/main/libfontenc/APKBUILD index 93cf33d1a3..6b4c625b76 100644 --- a/main/libfontenc/APKBUILD +++ b/main/libfontenc/APKBUILD @@ -13,11 +13,15 @@ source="http://xorg.freedesktop.org/releases/individual/lib/$pkgname-$pkgver.tar build() { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --disable-static \ - --with-encodingsdir=/usr/share/fonts/encodings + --with-encodingsdir=/usr/share/fonts/encodings \ + || return 1 make || return 1 } diff --git a/main/libfprint/APKBUILD b/main/libfprint/APKBUILD index 879c91169d..e142b8396a 100644 --- a/main/libfprint/APKBUILD +++ b/main/libfprint/APKBUILD @@ -31,7 +31,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ diff --git a/main/libgcrypt/APKBUILD b/main/libgcrypt/APKBUILD index 241ff5bdda..84d5ff86d6 100644 --- a/main/libgcrypt/APKBUILD +++ b/main/libgcrypt/APKBUILD @@ -16,10 +16,13 @@ depends_dev="libgpg-error-dev" build () { cd "$srcdir"/$pkgname-$pkgver - ./configure --build=${CHOST:-i486-alpine-linux-uclibc} \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ --prefix=/usr \ --enable-padlock-support \ - --disable-static + --disable-static \ + || return 1 make || return 1 } diff --git a/main/libgee/APKBUILD b/main/libgee/APKBUILD index 241dcd63e5..d992c76940 100644 --- a/main/libgee/APKBUILD +++ b/main/libgee/APKBUILD @@ -16,7 +16,12 @@ source="http://ftp.gnome.org/pub/GNOME/sources/libgee/${_xy}/libgee-$pkgver.tar. _builddir="$srcdir"/$pkgname-$pkgver build() { cd "$srcdir/$pkgname-$pkgver" - ./configure --prefix=/usr --disable-static || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --disable-static \ + || return 1 make || return 1 } diff --git a/main/libgexiv2/APKBUILD b/main/libgexiv2/APKBUILD index e0031e000c..96cb4b8e83 100644 --- a/main/libgexiv2/APKBUILD +++ b/main/libgexiv2/APKBUILD @@ -23,10 +23,14 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ - --infodir=/usr/share/info + --infodir=/usr/share/info \ + || return 1 make || return 1 } diff --git a/main/libglade/APKBUILD b/main/libglade/APKBUILD index f730b60c1f..17a55d58a1 100644 --- a/main/libglade/APKBUILD +++ b/main/libglade/APKBUILD @@ -24,10 +24,14 @@ package() { build() { cd "$_builddir" - ./configure --sysconfdir=/etc \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --sysconfdir=/etc \ --prefix=/usr \ --disable-static \ - --localstatedir=/var || return 1 + --localstatedir=/var \ + || return 1 make || return 1 } diff --git a/main/libgnome-keyring/APKBUILD b/main/libgnome-keyring/APKBUILD index ecf98536f0..55d738c7ce 100644 --- a/main/libgnome-keyring/APKBUILD +++ b/main/libgnome-keyring/APKBUILD @@ -43,9 +43,13 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ - --disable-scrollkeeper || return 1 + --disable-scrollkeeper \ + || return 1 make || return 1 } diff --git a/main/libgnome/APKBUILD b/main/libgnome/APKBUILD index 515f0efb08..ada696e2e7 100644 --- a/main/libgnome/APKBUILD +++ b/main/libgnome/APKBUILD @@ -28,7 +28,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ || return 1 make || return 1 diff --git a/main/libgnomekbd/APKBUILD b/main/libgnomekbd/APKBUILD index 8407830958..4c4045f6a7 100644 --- a/main/libgnomekbd/APKBUILD +++ b/main/libgnomekbd/APKBUILD @@ -38,9 +38,13 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ - --disable-scrollkeeper || return 1 + --disable-scrollkeeper \ + || return 1 make || return 1 } diff --git a/main/libgpg-error/APKBUILD b/main/libgpg-error/APKBUILD index 1606a92203..18fec5c249 100644 --- a/main/libgpg-error/APKBUILD +++ b/main/libgpg-error/APKBUILD @@ -13,8 +13,12 @@ source="ftp://ftp.franken.de/pub/crypt/mirror/ftp.gnupg.org/gcrypt/$pkgname/$pkg build () { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr \ - --disable-nls + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --disable-nls \ + || return 1 make || return 1 } diff --git a/main/libgphoto2/APKBUILD b/main/libgphoto2/APKBUILD index 8cb026f8d0..f0ad59d8c1 100644 --- a/main/libgphoto2/APKBUILD +++ b/main/libgphoto2/APKBUILD @@ -18,7 +18,10 @@ options="libtool" _builddir="$srcdir"/$pkgname-$pkgver build() { cd "$_builddir" - udevscriptdir=/lib/udev ./configure --prefix=/usr \ + udevscriptdir=/lib/udev ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --with-drivers=all \ --disable-static \ --disable-rpath \ diff --git a/main/libgsf/APKBUILD b/main/libgsf/APKBUILD index d5c099736a..1673d97334 100644 --- a/main/libgsf/APKBUILD +++ b/main/libgsf/APKBUILD @@ -16,13 +16,17 @@ depends_dev="glib-dev bzip2-dev libxml2-dev pkgconfig" build() { cd "$srcdir"/$pkgname-$pkgver sed -i -e 's/gsf-gnome//' -e 's/thumbnailer//' Makefile.* || return 1 - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --mandir=/usr/share/man \ --disable-static \ --without-gnome-vfs \ - --without-bonobo || return 1 + --without-bonobo \ + || return 1 make || return 1 } diff --git a/main/libgssglue/APKBUILD b/main/libgssglue/APKBUILD index aeb880b649..fc10ce7239 100644 --- a/main/libgssglue/APKBUILD +++ b/main/libgssglue/APKBUILD @@ -14,7 +14,11 @@ source="http://www.citi.umich.edu/projects/nfsv4/linux/$pkgname/$pkgname-$pkgver _builddir="$srcdir"/$pkgname-$pkgver build() { cd "$_builddir" - ./configure --prefix=/usr + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 } diff --git a/main/libgtop/APKBUILD b/main/libgtop/APKBUILD index f837561e7c..44e58b3b33 100644 --- a/main/libgtop/APKBUILD +++ b/main/libgtop/APKBUILD @@ -27,9 +27,13 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ - --disable-scrollkeeper || return 1 + --disable-scrollkeeper \ + || return 1 make || return 1 } diff --git a/main/libguess/APKBUILD b/main/libguess/APKBUILD index ae50e898b2..997e53c079 100644 --- a/main/libguess/APKBUILD +++ b/main/libguess/APKBUILD @@ -28,10 +28,14 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ - --infodir=/usr/share/info + --infodir=/usr/share/info \ + || return 1 make || return 1 } diff --git a/main/libgweather/APKBUILD b/main/libgweather/APKBUILD index 1fa9e5244f..c2a37cb304 100644 --- a/main/libgweather/APKBUILD +++ b/main/libgweather/APKBUILD @@ -27,10 +27,14 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --with-zoneinfo-dir=. \ - --disable-scrollkeeper || return 1 + --disable-scrollkeeper \ + || return 1 make || return 1 } diff --git a/main/libical/APKBUILD b/main/libical/APKBUILD index 7ad9ffd252..f900cc9000 100644 --- a/main/libical/APKBUILD +++ b/main/libical/APKBUILD @@ -27,7 +27,10 @@ prepare() { build() { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --enable-shared \ --disable-static \ || return 1 diff --git a/main/libice/APKBUILD b/main/libice/APKBUILD index 9bf4fbb1fc..50023319de 100644 --- a/main/libice/APKBUILD +++ b/main/libice/APKBUILD @@ -14,8 +14,12 @@ source="http://xorg.freedesktop.org/releases/individual/lib/libICE-$pkgver.tar.b depends_dev="xproto" build () { cd "$srcdir"/libICE-$pkgver - ./configure --prefix=/usr \ - --sysconfdir=/etc + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + || return 1 make || return 1 } diff --git a/main/libiconv/APKBUILD b/main/libiconv/APKBUILD index 6f4214e72d..e5ed3e26ef 100644 --- a/main/libiconv/APKBUILD +++ b/main/libiconv/APKBUILD @@ -15,7 +15,10 @@ build() { #only build if we need it [ "$ALPINE_LIBC" = "eglibc" ] && return 0 - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --mandir=/usr/share/man \ || return 1 # work around rpath issue diff --git a/main/libid3tag/APKBUILD b/main/libid3tag/APKBUILD index aaee71faec..2526477bf4 100644 --- a/main/libid3tag/APKBUILD +++ b/main/libid3tag/APKBUILD @@ -16,10 +16,14 @@ source="ftp://ftp.mars.org/pub/mpeg/libid3tag-$pkgver.tar.gz" build() { cd "$srcdir/$pkgname-$pkgver" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ - --infodir=/usr/share/info + --infodir=/usr/share/info \ + || return 1 make || return 1 } diff --git a/main/libidl/APKBUILD b/main/libidl/APKBUILD index c14ecd627c..714c105e12 100644 --- a/main/libidl/APKBUILD +++ b/main/libidl/APKBUILD @@ -22,10 +22,14 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ - --infodir=/usr/share/info + --infodir=/usr/share/info \ + || return 1 make || return 1 } diff --git a/main/libidn/APKBUILD b/main/libidn/APKBUILD index 931ad283c6..fd93b3fcb2 100644 --- a/main/libidn/APKBUILD +++ b/main/libidn/APKBUILD @@ -17,11 +17,15 @@ source="http://ftp.gnu.org/gnu/libidn/$pkgname-$pkgver.tar.gz" build() { cd "$srcdir/$pkgname-$pkgver" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ - --disable-nls + --disable-nls \ + || return 1 make || return 1 } diff --git a/main/libiec61883/APKBUILD b/main/libiec61883/APKBUILD index 7f3d5f787c..6718faa7a8 100644 --- a/main/libiec61883/APKBUILD +++ b/main/libiec61883/APKBUILD @@ -27,7 +27,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ diff --git a/main/libisofs/APKBUILD b/main/libisofs/APKBUILD index 31d3653d25..7ba3c398fb 100644 --- a/main/libisofs/APKBUILD +++ b/main/libisofs/APKBUILD @@ -14,10 +14,14 @@ source="http://files.libburnia-project.org/releases/libisofs-$pkgver.tar.gz" _builddir="$srcdir"/$pkgname-$pkgver build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --enable-libacl \ --enable-xattr \ - --disable-static + --disable-static \ + || return 1 make || return 1 } diff --git a/main/libjpeg-turbo/APKBUILD b/main/libjpeg-turbo/APKBUILD index 6133c00ed9..6b339ca416 100644 --- a/main/libjpeg-turbo/APKBUILD +++ b/main/libjpeg-turbo/APKBUILD @@ -28,7 +28,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ diff --git a/main/libksba/APKBUILD b/main/libksba/APKBUILD index 09e1be546f..f257c8e804 100644 --- a/main/libksba/APKBUILD +++ b/main/libksba/APKBUILD @@ -13,7 +13,11 @@ source="ftp://ftp.gnupg.org/gcrypt/$pkgname/$pkgname-$pkgver.tar.bz2" build () { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 } diff --git a/main/liblockfile/APKBUILD b/main/liblockfile/APKBUILD index 16d5d1b78b..a52bb15918 100644 --- a/main/liblockfile/APKBUILD +++ b/main/liblockfile/APKBUILD @@ -18,9 +18,13 @@ _builddir="$srcdir"/$pkgname-$pkgver build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ - --mandir=/usr/share/man + --mandir=/usr/share/man \ + || return 1 make -j1 || return 1 } diff --git a/main/libmad/APKBUILD b/main/libmad/APKBUILD index 8791a5d7fa..360430ef17 100644 --- a/main/libmad/APKBUILD +++ b/main/libmad/APKBUILD @@ -31,9 +31,13 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --enable-fpm=intel \ - --enable-accuracy + --enable-accuracy \ + || return 1 make -j1 || return 1 } diff --git a/main/libmcrypt/APKBUILD b/main/libmcrypt/APKBUILD index 2edbed5163..4920b74746 100644 --- a/main/libmcrypt/APKBUILD +++ b/main/libmcrypt/APKBUILD @@ -15,9 +15,13 @@ source="http://downloads.sourceforge.net/mcrypt/${pkgname}-${pkgver}.tar.bz2" build() { cd "$srcdir/$pkgname-$pkgver" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --mandir=/usr/share/man \ - --disable-posix-threads + --disable-posix-threads \ + || return 1 make || return 1 } diff --git a/main/libmicrohttpd/APKBUILD b/main/libmicrohttpd/APKBUILD index 4111ff7420..943815c059 100644 --- a/main/libmicrohttpd/APKBUILD +++ b/main/libmicrohttpd/APKBUILD @@ -22,13 +22,17 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --enable-largefile \ --enable-curl \ - --enable-messages + --enable-messages \ + || return 1 make || return 1 } diff --git a/main/libmikmod/APKBUILD b/main/libmikmod/APKBUILD index 374e5f08a2..aab61c37a0 100644 --- a/main/libmikmod/APKBUILD +++ b/main/libmikmod/APKBUILD @@ -29,7 +29,12 @@ build() { cd "$_builddir" # build fails with bash export CONFIG_SHELL="/bin/sh" - ./configure --prefix=/usr --enable-alsa || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --enable-alsa \ + || return 1 make || return 1 } diff --git a/main/libmms/APKBUILD b/main/libmms/APKBUILD index bb184d1a17..c217d56278 100644 --- a/main/libmms/APKBUILD +++ b/main/libmms/APKBUILD @@ -22,11 +22,15 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ - --disable-static + --disable-static \ + || return 1 make || return 1 } diff --git a/main/libmng/APKBUILD b/main/libmng/APKBUILD index 988f427196..0c46982ea3 100644 --- a/main/libmng/APKBUILD +++ b/main/libmng/APKBUILD @@ -23,7 +23,11 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 } diff --git a/main/libmnl/APKBUILD b/main/libmnl/APKBUILD index 068c6f4627..309be9782f 100644 --- a/main/libmnl/APKBUILD +++ b/main/libmnl/APKBUILD @@ -16,7 +16,11 @@ source="http://www.netfilter.org/projects/$pkgname/files/$pkgname-$pkgver.tar.bz _builddir="$srcdir"/$pkgname-$pkgver build() { cd "$_builddir" - ./configure --prefix=/usr + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 } package() { diff --git a/main/libmodplug/APKBUILD b/main/libmodplug/APKBUILD index b2c144df0e..40f098d776 100644 --- a/main/libmodplug/APKBUILD +++ b/main/libmodplug/APKBUILD @@ -22,10 +22,14 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ - --infodir=/usr/share/info + --infodir=/usr/share/info \ + || return 1 make || return 1 } diff --git a/main/libmowgli/APKBUILD b/main/libmowgli/APKBUILD index 780cf6b5ef..8e6b992b49 100644 --- a/main/libmowgli/APKBUILD +++ b/main/libmowgli/APKBUILD @@ -24,10 +24,14 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ - --infodir=/usr/share/info + --infodir=/usr/share/info \ + || return 1 make || return 1 } diff --git a/main/libmp3splt/APKBUILD b/main/libmp3splt/APKBUILD index 3d2716ec10..41571e2846 100644 --- a/main/libmp3splt/APKBUILD +++ b/main/libmp3splt/APKBUILD @@ -27,7 +27,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --enable-ogg \ --enable-mp3 \ || return 1 diff --git a/main/libmpc/APKBUILD b/main/libmpc/APKBUILD index 2fb1129351..80b25e5803 100644 --- a/main/libmpc/APKBUILD +++ b/main/libmpc/APKBUILD @@ -22,9 +22,10 @@ build() { cd "$_builddir" # workaround for a bug in configure script EGREP=egrep \ - ./configure --prefix=/usr \ - --build=${CBUILD} \ - --host=${CHOST} \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ diff --git a/main/libmpdclient/APKBUILD b/main/libmpdclient/APKBUILD index f10f18e097..2319966624 100644 --- a/main/libmpdclient/APKBUILD +++ b/main/libmpdclient/APKBUILD @@ -13,7 +13,11 @@ source="http://www.musicpd.org/download/libmpdclient/${pkgver%.*}/libmpdclient-$ build() { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 } diff --git a/main/libmpeg2/APKBUILD b/main/libmpeg2/APKBUILD index 3b67503734..f5d4a723f9 100644 --- a/main/libmpeg2/APKBUILD +++ b/main/libmpeg2/APKBUILD @@ -13,9 +13,13 @@ source="http://$pkgname.sourceforge.net/files/$pkgname-$pkgver.tar.gz" build() { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --enable-shared \ - --disable-static || return 1 + --disable-static \ + || return 1 make OPT_CFLAGS="${CFLAGS}" \ MPEG2DEC_CFLAGS="${CFLAGS}" \ LIBMPEG2_CFLAGS="" || return 1 diff --git a/main/libmtp/APKBUILD b/main/libmtp/APKBUILD index e43af2e602..87aae32d30 100644 --- a/main/libmtp/APKBUILD +++ b/main/libmtp/APKBUILD @@ -27,7 +27,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ diff --git a/main/libnet/APKBUILD b/main/libnet/APKBUILD index fabb1c7d49..295eaef34c 100644 --- a/main/libnet/APKBUILD +++ b/main/libnet/APKBUILD @@ -15,7 +15,11 @@ source="http://downloads.sourceforge.net/project/libnet-dev/libnet-$pkgver.tar.g build() { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 } diff --git a/main/libnetfilter_acct/APKBUILD b/main/libnetfilter_acct/APKBUILD index 83bba7515a..afa4e5d89e 100644 --- a/main/libnetfilter_acct/APKBUILD +++ b/main/libnetfilter_acct/APKBUILD @@ -15,10 +15,14 @@ source="http://www.netfilter.org/projects/$pkgname/files/$pkgname-$pkgver.tar.bz build() { cd "$srcdir/$pkgname-$pkgver" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ - --infodir=/usr/share/info + --infodir=/usr/share/info \ + || return 1 make || return 1 } diff --git a/main/libnetfilter_conntrack/APKBUILD b/main/libnetfilter_conntrack/APKBUILD index 376e79e465..c7b894798b 100644 --- a/main/libnetfilter_conntrack/APKBUILD +++ b/main/libnetfilter_conntrack/APKBUILD @@ -15,10 +15,14 @@ source="http://www.netfilter.org/projects/$pkgname/files/$pkgname-$pkgver.tar.bz build() { cd "$srcdir/$pkgname-$pkgver" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ - --infodir=/usr/share/info + --infodir=/usr/share/info \ + || return 1 make || return 1 } diff --git a/main/libnetfilter_cthelper/APKBUILD b/main/libnetfilter_cthelper/APKBUILD index aee2921c4e..50c4533dfb 100644 --- a/main/libnetfilter_cthelper/APKBUILD +++ b/main/libnetfilter_cthelper/APKBUILD @@ -25,7 +25,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ diff --git a/main/libnetfilter_cttimeout/APKBUILD b/main/libnetfilter_cttimeout/APKBUILD index 7c63f0cdf9..f90e923e99 100644 --- a/main/libnetfilter_cttimeout/APKBUILD +++ b/main/libnetfilter_cttimeout/APKBUILD @@ -27,7 +27,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ diff --git a/main/libnetfilter_log/APKBUILD b/main/libnetfilter_log/APKBUILD index 5c427c9a0e..8345639dd3 100644 --- a/main/libnetfilter_log/APKBUILD +++ b/main/libnetfilter_log/APKBUILD @@ -15,10 +15,14 @@ source="http://www.netfilter.org/projects/$pkgname/files/$pkgname-$pkgver.tar.bz build() { cd "$srcdir/$pkgname-$pkgver" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ - --infodir=/usr/share/info + --infodir=/usr/share/info \ + || return 1 make || return 1 } diff --git a/main/libnetfilter_queue/APKBUILD b/main/libnetfilter_queue/APKBUILD index 7d4b119ebe..98a4251545 100644 --- a/main/libnetfilter_queue/APKBUILD +++ b/main/libnetfilter_queue/APKBUILD @@ -25,7 +25,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ diff --git a/main/libnfnetlink/APKBUILD b/main/libnfnetlink/APKBUILD index 7a4983b6d0..3931f27c17 100644 --- a/main/libnfnetlink/APKBUILD +++ b/main/libnfnetlink/APKBUILD @@ -15,10 +15,14 @@ source="http://www.netfilter.org/projects/libnfnetlink/files/libnfnetlink-$pkgve build() { cd "$srcdir/$pkgname-$pkgver" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ - --infodir=/usr/share/info + --infodir=/usr/share/info \ + || return 1 make || return 1 } diff --git a/main/libnfs/APKBUILD b/main/libnfs/APKBUILD index f75fcc43dc..52375bd900 100644 --- a/main/libnfs/APKBUILD +++ b/main/libnfs/APKBUILD @@ -28,12 +28,15 @@ prepare() { build() { cd "$_builddir" ./bootstrap || return 1 - ./configure --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --localstatedir=/var \ - || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --localstatedir=/var \ + || return 1 make || return 1 } diff --git a/main/libnfsidmap/APKBUILD b/main/libnfsidmap/APKBUILD index 480dab8a81..1ed782826c 100644 --- a/main/libnfsidmap/APKBUILD +++ b/main/libnfsidmap/APKBUILD @@ -26,7 +26,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --disable-static \ || return 1 make || return 1 diff --git a/main/libnice/APKBUILD b/main/libnice/APKBUILD index 3e6054ade2..9905aaea53 100644 --- a/main/libnice/APKBUILD +++ b/main/libnice/APKBUILD @@ -27,7 +27,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ diff --git a/main/libnih/APKBUILD b/main/libnih/APKBUILD index 2d6c0c26d8..7875ed96a0 100644 --- a/main/libnih/APKBUILD +++ b/main/libnih/APKBUILD @@ -27,10 +27,14 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --libdir=/lib \ --sysconfdir=/etc \ - --localstatedir=/var || return 1 + --localstatedir=/var \ + || return 1 make || return 1 } diff --git a/main/libnjb/APKBUILD b/main/libnjb/APKBUILD index 186d87e744..b5378df39a 100644 --- a/main/libnjb/APKBUILD +++ b/main/libnjb/APKBUILD @@ -27,7 +27,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ diff --git a/main/libnl/APKBUILD b/main/libnl/APKBUILD index 49089fdcf3..04c84c2b8c 100644 --- a/main/libnl/APKBUILD +++ b/main/libnl/APKBUILD @@ -29,7 +29,11 @@ prepare () { build () { cd "$_builddir" - ./configure --prefix=/usr || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 } diff --git a/main/libnl3/APKBUILD b/main/libnl3/APKBUILD index f4c4ac2db8..f9489a6b87 100644 --- a/main/libnl3/APKBUILD +++ b/main/libnl3/APKBUILD @@ -25,7 +25,10 @@ prepare () { build () { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --disable-static \ || return 1 make || return 1 diff --git a/main/libnotify/APKBUILD b/main/libnotify/APKBUILD index e801dfe6f0..fcc742b3b2 100644 --- a/main/libnotify/APKBUILD +++ b/main/libnotify/APKBUILD @@ -27,7 +27,12 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr --disable-static || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --disable-static \ + || return 1 make || return 1 } diff --git a/main/libogg/APKBUILD b/main/libogg/APKBUILD index d2d9e6fdb0..6182643aa3 100644 --- a/main/libogg/APKBUILD +++ b/main/libogg/APKBUILD @@ -15,7 +15,11 @@ source="http://downloads.xiph.org/releases/ogg/$pkgname-$pkgver.tar.gz build() { cd "$srcdir/$pkgname-$pkgver" - ./configure --prefix=/usr + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 } diff --git a/main/liboil/APKBUILD b/main/liboil/APKBUILD index a28283c120..1ea58325ae 100644 --- a/main/liboil/APKBUILD +++ b/main/liboil/APKBUILD @@ -14,7 +14,11 @@ build () { unset CFLAGS cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 } diff --git a/main/libotr/APKBUILD b/main/libotr/APKBUILD index 1150e948c7..72926f5400 100644 --- a/main/libotr/APKBUILD +++ b/main/libotr/APKBUILD @@ -27,7 +27,11 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 } diff --git a/main/libotr3/APKBUILD b/main/libotr3/APKBUILD index 664fc0d88b..03c44342ab 100644 --- a/main/libotr3/APKBUILD +++ b/main/libotr3/APKBUILD @@ -28,7 +28,11 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 } diff --git a/main/libpaper/APKBUILD b/main/libpaper/APKBUILD index 7bddda58e5..51364d250b 100644 --- a/main/libpaper/APKBUILD +++ b/main/libpaper/APKBUILD @@ -15,8 +15,12 @@ _builddir="$srcdir"/$pkgname-$pkgver build () { cd "$_builddir" - ./configure --prefix=/usr \ - --mandir="$pkgdir"/usr/share/man + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --mandir="$pkgdir"/usr/share/man \ + || return 1 make || return 1 } diff --git a/main/libpcap/APKBUILD b/main/libpcap/APKBUILD index 4853e9f291..91c0ccf0c2 100644 --- a/main/libpcap/APKBUILD +++ b/main/libpcap/APKBUILD @@ -25,7 +25,12 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr --enable-ipv6 || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --enable-ipv6 \ + || return 1 # seems to be problem with timestamps sleep 1 ./config.status diff --git a/main/libpciaccess/APKBUILD b/main/libpciaccess/APKBUILD index 45f74f46fb..85e1851079 100644 --- a/main/libpciaccess/APKBUILD +++ b/main/libpciaccess/APKBUILD @@ -13,7 +13,11 @@ source="http://xorg.freedesktop.org/releases/individual/lib/$pkgname-$pkgver.tar build() { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 } diff --git a/main/libpng/APKBUILD b/main/libpng/APKBUILD index 6e499884c3..51cec20230 100644 --- a/main/libpng/APKBUILD +++ b/main/libpng/APKBUILD @@ -24,7 +24,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ || return 1 make } diff --git a/main/libpthread-stubs/APKBUILD b/main/libpthread-stubs/APKBUILD index 9f9347e000..30a2d9159c 100644 --- a/main/libpthread-stubs/APKBUILD +++ b/main/libpthread-stubs/APKBUILD @@ -11,7 +11,11 @@ source="http://xcb.freedesktop.org/dist/$pkgname-$pkgver.tar.bz2" build() { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 # we actually have pthread_exit, the configure script just # fails to detect it make CFLAGS="$CFLAGS -DHAVE_PTHREAD_EXIT=1" diff --git a/main/libraw/APKBUILD b/main/libraw/APKBUILD index 221d60cc64..4d89b9239f 100644 --- a/main/libraw/APKBUILD +++ b/main/libraw/APKBUILD @@ -23,7 +23,11 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make lib/libraw.a lib/libraw_r.a make } diff --git a/main/libraw1394/APKBUILD b/main/libraw1394/APKBUILD index 1b45a8e975..8c8e36648e 100644 --- a/main/libraw1394/APKBUILD +++ b/main/libraw1394/APKBUILD @@ -27,7 +27,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ diff --git a/main/libresample/APKBUILD b/main/libresample/APKBUILD index be81aacf80..0c8289049d 100644 --- a/main/libresample/APKBUILD +++ b/main/libresample/APKBUILD @@ -26,10 +26,14 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ - --infodir=/usr/share/info + --infodir=/usr/share/info \ + || return 1 make || return 1 } diff --git a/main/librpcsecgss/APKBUILD b/main/librpcsecgss/APKBUILD index f6ee20aa11..57b21a8eaf 100644 --- a/main/librpcsecgss/APKBUILD +++ b/main/librpcsecgss/APKBUILD @@ -26,7 +26,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ diff --git a/main/librsvg/APKBUILD b/main/librsvg/APKBUILD index e43118c576..b6922c336b 100644 --- a/main/librsvg/APKBUILD +++ b/main/librsvg/APKBUILD @@ -18,12 +18,16 @@ depends_dev="glib-dev gtk+-dev cairo-dev libcroco-dev libgsf-dev" _builddir="$srcdir"/$pkgname-$pkgver build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --libexecdir=/usr/lib/$pkgname \ --with-croco \ --disable-static \ --disable-mozilla-plugin \ - --with-svgz || return 1 + --with-svgz \ + || return 1 make || return 1 } diff --git a/main/librsync/APKBUILD b/main/librsync/APKBUILD index 25c1b0ee87..3e42bf7007 100644 --- a/main/librsync/APKBUILD +++ b/main/librsync/APKBUILD @@ -18,7 +18,13 @@ _builddir="$srcdir"/$pkgname-$pkgver build() { cd "$_builddir" - ./configure --prefix=/usr --mandir=/usr/share/man --enable-shared + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --mandir=/usr/share/man \ + --enable-shared \ + || return 1 make || return 1 } diff --git a/main/libsamplerate/APKBUILD b/main/libsamplerate/APKBUILD index ecf28f7eaa..c8d3e9bfbe 100644 --- a/main/libsamplerate/APKBUILD +++ b/main/libsamplerate/APKBUILD @@ -12,7 +12,11 @@ source="http://www.mega-nerd.com/SRC/$pkgname-$pkgver.tar.gz" build () { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 } diff --git a/main/libsecret/APKBUILD b/main/libsecret/APKBUILD index c355f41408..a036d55583 100644 --- a/main/libsecret/APKBUILD +++ b/main/libsecret/APKBUILD @@ -27,7 +27,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ diff --git a/main/libsexy/APKBUILD b/main/libsexy/APKBUILD index b30998cb10..e3423d53b6 100644 --- a/main/libsexy/APKBUILD +++ b/main/libsexy/APKBUILD @@ -13,8 +13,12 @@ source="http://releases.chipx86.com/$pkgname/$pkgname/$pkgname-$pkgver.tar.gz" build () { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr \ - --disable-static + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --disable-static \ + || return 1 make || return 1 } diff --git a/main/libshairport/APKBUILD b/main/libshairport/APKBUILD index e320b572c4..17e036e91e 100644 --- a/main/libshairport/APKBUILD +++ b/main/libshairport/APKBUILD @@ -29,11 +29,15 @@ prepare() { build() { cd "$_builddir" autoreconf -vif - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ - --localstatedir=/var + --localstatedir=/var \ + || return 1 make || return 1 } diff --git a/main/libshout/APKBUILD b/main/libshout/APKBUILD index d39a110d01..3eacdcde44 100644 --- a/main/libshout/APKBUILD +++ b/main/libshout/APKBUILD @@ -25,7 +25,11 @@ prepare() { } build() { cd "$_builddir" - ./configure --prefix=/usr + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 --sysconfdir=/etc --localstatedir=/var make LDFLAGS+=-lspeex || return 1 diff --git a/main/libsigc++/APKBUILD b/main/libsigc++/APKBUILD index 816a1eae46..e7e44d9a82 100644 --- a/main/libsigc++/APKBUILD +++ b/main/libsigc++/APKBUILD @@ -13,7 +13,11 @@ source="http://ftp.gnome.org/pub/GNOME/sources/$pkgname/2.2/$pkgname-$pkgver.tar build() { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 } diff --git a/main/libsm/APKBUILD b/main/libsm/APKBUILD index 13488e4f0c..16ce377b49 100644 --- a/main/libsm/APKBUILD +++ b/main/libsm/APKBUILD @@ -15,7 +15,12 @@ depends_dev="libice-dev xproto" build () { cd "$srcdir"/libSM-$pkgver - ./configure --prefix=/usr --sysconfdir=/etc || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + || return 1 make || return 1 } diff --git a/main/libsndfile/APKBUILD b/main/libsndfile/APKBUILD index 19a22714d2..673d5d0165 100644 --- a/main/libsndfile/APKBUILD +++ b/main/libsndfile/APKBUILD @@ -15,7 +15,10 @@ source="http://www.mega-nerd.com/$pkgname/files/$pkgname-$pkgver.tar.gz" build () { cd "$srcdir"/$pkgname-$pkgver ac_cv_sys_largefile_CFLAGS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" \ - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --disable-sqlite \ --enable-largefile \ || return 1 diff --git a/main/libsoup/APKBUILD b/main/libsoup/APKBUILD index a679a1cfad..0d522b90c1 100644 --- a/main/libsoup/APKBUILD +++ b/main/libsoup/APKBUILD @@ -15,7 +15,10 @@ source="http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$p build() { cd "$srcdir"/$pkgname-$pkgver - DATADIRNAME=share ./configure --prefix=/usr \ + DATADIRNAME=share ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --disable-static \ diff --git a/main/libspf2/APKBUILD b/main/libspf2/APKBUILD index 41ae24e8ff..5bfa649f65 100644 --- a/main/libspf2/APKBUILD +++ b/main/libspf2/APKBUILD @@ -31,7 +31,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ || return 1 make || return 1 } diff --git a/main/libssh2/APKBUILD b/main/libssh2/APKBUILD index e45b92bc77..ca69b55a73 100644 --- a/main/libssh2/APKBUILD +++ b/main/libssh2/APKBUILD @@ -27,7 +27,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ diff --git a/main/libtasn1/APKBUILD b/main/libtasn1/APKBUILD index 43eaa6d3bd..72bdfa6956 100644 --- a/main/libtasn1/APKBUILD +++ b/main/libtasn1/APKBUILD @@ -15,7 +15,11 @@ source="ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz" _builddir="$srcdir"/$pkgname-$pkgver build() { cd "$_builddir" - ./configure --prefix=/usr || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 } diff --git a/main/libtheora/APKBUILD b/main/libtheora/APKBUILD index a11d641182..a4632b2f44 100644 --- a/main/libtheora/APKBUILD +++ b/main/libtheora/APKBUILD @@ -32,9 +32,13 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --enable-shared \ - --disable-static || return 1 + --disable-static \ + || return 1 cd lib && make || return 1 cd .. diff --git a/main/libtirpc/APKBUILD b/main/libtirpc/APKBUILD index 029d7d33de..98f736a962 100644 --- a/main/libtirpc/APKBUILD +++ b/main/libtirpc/APKBUILD @@ -36,7 +36,10 @@ prepare() { build() { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --enable-gss \ || return 1 make || return 1 diff --git a/main/libtool/APKBUILD b/main/libtool/APKBUILD index 758156d613..d91cfe41dc 100644 --- a/main/libtool/APKBUILD +++ b/main/libtool/APKBUILD @@ -13,7 +13,11 @@ options="libtool" build() { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make } diff --git a/main/libtorrent/APKBUILD b/main/libtorrent/APKBUILD index 2f23d1f53b..d7d0dad963 100644 --- a/main/libtorrent/APKBUILD +++ b/main/libtorrent/APKBUILD @@ -13,19 +13,20 @@ options='libtool' source="http://libtorrent.rakshasa.no/downloads/${pkgname}-${pkgver}.tar.gz" build() { - cd "$srcdir"/$pkgname-$pkgver + cd "$srcdir"/$pkgname-$pkgver - ./configure \ - --prefix=/usr \ - --disable-debug \ - || return 1 - - make || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --disable-debug \ + || return 1 + make || return 1 } package() { - cd "$srcdir"/$pkgname-$pkgver - make DESTDIR="$pkgdir" install || return 1 + cd "$srcdir"/$pkgname-$pkgver + make DESTDIR="$pkgdir" install || return 1 } md5sums="e94f6c590bb02aaf4d58618f738a85f2 libtorrent-0.13.3.tar.gz" diff --git a/main/libtxc_dxtn/APKBUILD b/main/libtxc_dxtn/APKBUILD index 13dd5142bc..121e4ca248 100644 --- a/main/libtxc_dxtn/APKBUILD +++ b/main/libtxc_dxtn/APKBUILD @@ -29,7 +29,12 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr --sysconfdir=/etc || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + || return 1 make } diff --git a/main/libunique/APKBUILD b/main/libunique/APKBUILD index e93a3cb127..f0f304f90d 100644 --- a/main/libunique/APKBUILD +++ b/main/libunique/APKBUILD @@ -24,7 +24,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --enable-maintainer-flags=no \ diff --git a/main/libunique3/APKBUILD b/main/libunique3/APKBUILD index 2a1411e6f0..f545c71e2c 100644 --- a/main/libunique3/APKBUILD +++ b/main/libunique3/APKBUILD @@ -24,7 +24,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --disable-static \ diff --git a/main/libunistring/APKBUILD b/main/libunistring/APKBUILD index e55d7474d0..12d220a122 100644 --- a/main/libunistring/APKBUILD +++ b/main/libunistring/APKBUILD @@ -28,7 +28,11 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make all || return 1 } diff --git a/main/libusb-compat/APKBUILD b/main/libusb-compat/APKBUILD index 4952b3c975..39d0368494 100644 --- a/main/libusb-compat/APKBUILD +++ b/main/libusb-compat/APKBUILD @@ -14,7 +14,12 @@ source="http://downloads.sourceforge.net/libusb/$pkgname-$pkgver.tar.bz2" build() { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr --disable-build-docs + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --disable-build-docs \ + || return 1 make || return 1 } diff --git a/main/libusb/APKBUILD b/main/libusb/APKBUILD index 4de038b5ee..72feccc2be 100644 --- a/main/libusb/APKBUILD +++ b/main/libusb/APKBUILD @@ -27,7 +27,11 @@ source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2" _builddir="$srcdir"/$pkgname-$_ver build() { cd "$_builddir" - ./configure --prefix=/usr + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 } diff --git a/main/libva-intel-driver/APKBUILD b/main/libva-intel-driver/APKBUILD index 3356450de1..5c8d43b1f0 100644 --- a/main/libva-intel-driver/APKBUILD +++ b/main/libva-intel-driver/APKBUILD @@ -28,7 +28,11 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 } diff --git a/main/libva/APKBUILD b/main/libva/APKBUILD index 9acb53e1aa..02b35cbc3a 100644 --- a/main/libva/APKBUILD +++ b/main/libva/APKBUILD @@ -27,7 +27,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ diff --git a/main/libvdpau/APKBUILD b/main/libvdpau/APKBUILD index 51c5c22347..70e1bc7d9b 100644 --- a/main/libvdpau/APKBUILD +++ b/main/libvdpau/APKBUILD @@ -22,10 +22,14 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ - --infodir=/usr/share/info + --infodir=/usr/share/info \ + || return 1 make || return 1 } diff --git a/main/libverto/APKBUILD b/main/libverto/APKBUILD index 64dc5dfd85..c0a371e0f9 100644 --- a/main/libverto/APKBUILD +++ b/main/libverto/APKBUILD @@ -27,7 +27,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --with-libev \ --with-libevent \ || return 1 diff --git a/main/libvirt-glib/APKBUILD b/main/libvirt-glib/APKBUILD index 30c9e9e638..834fec326a 100644 --- a/main/libvirt-glib/APKBUILD +++ b/main/libvirt-glib/APKBUILD @@ -27,7 +27,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ diff --git a/main/libvirt/APKBUILD b/main/libvirt/APKBUILD index 966482aaa5..aa0d91c403 100644 --- a/main/libvirt/APKBUILD +++ b/main/libvirt/APKBUILD @@ -59,7 +59,10 @@ prepare() { build() { cd "$_builddir" export LDFLAGS="$LDFLAGS -lm" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ diff --git a/main/libvorbis/APKBUILD b/main/libvorbis/APKBUILD index 37727e4241..8224b0a28a 100644 --- a/main/libvorbis/APKBUILD +++ b/main/libvorbis/APKBUILD @@ -16,8 +16,12 @@ source="http://downloads.xiph.org/releases/vorbis/libvorbis-$pkgver.tar.gz" build () { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr \ - --disable-static || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --disable-static \ + || return 1 make || return 1 } diff --git a/main/libvpx/APKBUILD b/main/libvpx/APKBUILD index 98556a7e8d..74a4ff470c 100644 --- a/main/libvpx/APKBUILD +++ b/main/libvpx/APKBUILD @@ -28,6 +28,8 @@ prepare() { build() { cd "$_builddir" ./configure \ + --build=$CBUILD \ + --host=$CHOST \ --enable-pic \ --enable-libs \ --enable-runtime-cpu-detect \ diff --git a/main/libwebp/APKBUILD b/main/libwebp/APKBUILD index de99445b43..27c0d2962a 100644 --- a/main/libwebp/APKBUILD +++ b/main/libwebp/APKBUILD @@ -19,7 +19,11 @@ _builddir="$srcdir/$pkgname-$pkgver" build() { cd "$_builddir" sh autogen.sh - ./configure --prefix=/usr || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 } diff --git a/main/libwnck/APKBUILD b/main/libwnck/APKBUILD index db9e905bee..9b0699a3b7 100644 --- a/main/libwnck/APKBUILD +++ b/main/libwnck/APKBUILD @@ -18,10 +18,14 @@ depends_dev="glib-dev gtk+-dev libx11-dev pango-dev cairo-dev _builddir="$srcdir"/$pkgname-$pkgver build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ - --disable-static || return 1 + --disable-static \ + || return 1 make || return 1 } diff --git a/main/libx11/APKBUILD b/main/libx11/APKBUILD index 7b8fc4d995..b42b6d0d68 100644 --- a/main/libx11/APKBUILD +++ b/main/libx11/APKBUILD @@ -16,8 +16,12 @@ source="http://xorg.freedesktop.org/releases/individual/lib/libX11-$pkgver.tar.b build() { cd "$srcdir"/libX11-$pkgver - ./configure --prefix=/usr \ - --with-xcb || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --with-xcb \ + || return 1 make } diff --git a/main/libxau/APKBUILD b/main/libxau/APKBUILD index 88ed3e1b05..7c0d6c6719 100644 --- a/main/libxau/APKBUILD +++ b/main/libxau/APKBUILD @@ -15,7 +15,12 @@ depends_dev="xproto" build() { cd "$srcdir"/libXau-$pkgver - ./configure --prefix=/usr --sysconfdir=/etc || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + || return 1 make || return 1 } diff --git a/main/libxcb/APKBUILD b/main/libxcb/APKBUILD index 1657306f5b..23a845bb37 100644 --- a/main/libxcb/APKBUILD +++ b/main/libxcb/APKBUILD @@ -25,7 +25,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --enable-xkb \ --enable-xinput \ --disable-xprint \ diff --git a/main/libxcomposite/APKBUILD b/main/libxcomposite/APKBUILD index b7e58c819c..1b891c4b49 100644 --- a/main/libxcomposite/APKBUILD +++ b/main/libxcomposite/APKBUILD @@ -15,8 +15,12 @@ depends_dev="xproto compositeproto libxfixes-dev libx11-dev libxext-dev" _builddir="$srcdir"/libXcomposite-$pkgver build() { cd "$_builddir" - ./configure --prefix=/usr \ - --sysconfdir=/etc + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + || return 1 make || return 1 } diff --git a/main/libxcursor/APKBUILD b/main/libxcursor/APKBUILD index c1d14bcc6e..c394aa1d70 100644 --- a/main/libxcursor/APKBUILD +++ b/main/libxcursor/APKBUILD @@ -24,7 +24,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ || return 1 make || return 1 diff --git a/main/libxdamage/APKBUILD b/main/libxdamage/APKBUILD index 52038101ea..0ddd9126a9 100644 --- a/main/libxdamage/APKBUILD +++ b/main/libxdamage/APKBUILD @@ -14,7 +14,12 @@ source="http://xorg.freedesktop.org/releases/individual/lib/libXdamage-$pkgver.t depends_dev="xproto damageproto libxfixes-dev libx11-dev fixesproto" build() { cd "$srcdir"/libXdamage-$pkgver - ./configure --prefix=/usr --sysconfdir=/etc + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + || return 1 make || return 1 } diff --git a/main/libxdg-basedir/APKBUILD b/main/libxdg-basedir/APKBUILD index 63f515209f..65934815a6 100644 --- a/main/libxdg-basedir/APKBUILD +++ b/main/libxdg-basedir/APKBUILD @@ -27,8 +27,12 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ - --sysconfdir=/etc || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + || return 1 make || return 1 } diff --git a/main/libxdmcp/APKBUILD b/main/libxdmcp/APKBUILD index 62aabfb1a6..b63883dd0e 100644 --- a/main/libxdmcp/APKBUILD +++ b/main/libxdmcp/APKBUILD @@ -13,8 +13,12 @@ source="http://xorg.freedesktop.org/releases/individual/lib/libXdmcp-$pkgver.tar build() { cd "$srcdir"/libXdmcp-$pkgver - ./configure --prefix=/usr \ - --sysconfdir=/etc + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + || return 1 make || return 1 } diff --git a/main/libxext/APKBUILD b/main/libxext/APKBUILD index 90c3921f33..bd4e308a47 100644 --- a/main/libxext/APKBUILD +++ b/main/libxext/APKBUILD @@ -26,7 +26,12 @@ prepare() { build() { cd "$srcdir"/libXext-$pkgver - ./configure --prefix=/usr --sysconfdir=/etc + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + || return 1 make } diff --git a/main/libxfce4ui/APKBUILD b/main/libxfce4ui/APKBUILD index 55d39a5313..dedff9861f 100644 --- a/main/libxfce4ui/APKBUILD +++ b/main/libxfce4ui/APKBUILD @@ -16,13 +16,17 @@ source="http://archive.xfce.org/src/xfce/${pkgname}/${pkgver%.*}/${pkgname}-${pk depends_dev="gtk+-dev libxfce4util-dev xfconf-dev startup-notification-dev" build() { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --libexecdir=/usr/lib \ --localstatedir=/var \ --enable-gladeui \ --with-vendor-info="Alpine Linux" \ - --disable-static + --disable-static \ + || return 1 make || return 1 } diff --git a/main/libxfce4util/APKBUILD b/main/libxfce4util/APKBUILD index ca175426cc..995b6d2769 100644 --- a/main/libxfce4util/APKBUILD +++ b/main/libxfce4util/APKBUILD @@ -14,11 +14,15 @@ source="http://archive.xfce.org/src/xfce/$pkgname/${pkgver%.*}/$pkgname-$pkgver. depends_dev="glib-dev" build() { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --libexecdir=/usr/lib \ --localstatedir=/var \ - --disable-static + --disable-static \ + || return 1 make || return 1 } diff --git a/main/libxfcegui4/APKBUILD b/main/libxfcegui4/APKBUILD index 6979041cfb..166d19d318 100644 --- a/main/libxfcegui4/APKBUILD +++ b/main/libxfcegui4/APKBUILD @@ -15,11 +15,15 @@ source="http://archive.xfce.org/src/xfce/${pkgname}/${pkgver%.*}/${pkgname}-${pk depends_dev="gtk+-dev libxfce4util-dev xfconf-dev startup-notification-dev" build() { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --libexecdir=/usr/lib \ --localstatedir=/var \ - --disable-static + --disable-static \ + || return 1 make || return 1 } diff --git a/main/libxfixes/APKBUILD b/main/libxfixes/APKBUILD index 89decdb0e1..c0e67347c6 100644 --- a/main/libxfixes/APKBUILD +++ b/main/libxfixes/APKBUILD @@ -24,7 +24,12 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr --sysconfdir=/etc --build=${CHOST} --host=${CHOST} + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + || return 1 make || return 1 } diff --git a/main/libxfont/APKBUILD b/main/libxfont/APKBUILD index 4b32241761..6313cfd50a 100644 --- a/main/libxfont/APKBUILD +++ b/main/libxfont/APKBUILD @@ -15,7 +15,12 @@ source="http://xorg.freedesktop.org/archive/individual/lib/libXfont-$pkgver.tar. build() { cd "$srcdir"/libXfont-$pkgver - ./configure --prefix=/usr --sysconfdir=/etc || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + || return 1 make || return 1 } diff --git a/main/libxft/APKBUILD b/main/libxft/APKBUILD index ae7e4bc632..83776140e0 100644 --- a/main/libxft/APKBUILD +++ b/main/libxft/APKBUILD @@ -14,8 +14,12 @@ source="http://xorg.freedesktop.org/releases/individual/lib/libXft-$pkgver.tar.b build () { cd "$srcdir"/libXft-$pkgver - ./configure --prefix=/usr \ - --sysconfdir=/etc || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + || return 1 make || return 1 } diff --git a/main/libxi/APKBUILD b/main/libxi/APKBUILD index 485d33e983..294e4aa564 100644 --- a/main/libxi/APKBUILD +++ b/main/libxi/APKBUILD @@ -30,7 +30,12 @@ prepare() { build () { cd "$_builddir" - ./configure --prefix=/usr --sysconfdir=/etc || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + || return 1 make || return 1 } diff --git a/main/libxinerama/APKBUILD b/main/libxinerama/APKBUILD index 2d5465f243..39c95ef994 100644 --- a/main/libxinerama/APKBUILD +++ b/main/libxinerama/APKBUILD @@ -25,7 +25,11 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 } diff --git a/main/libxkbcommon/APKBUILD b/main/libxkbcommon/APKBUILD index d7e790cef1..fdd72b6499 100644 --- a/main/libxkbcommon/APKBUILD +++ b/main/libxkbcommon/APKBUILD @@ -27,7 +27,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ diff --git a/main/libxkbfile/APKBUILD b/main/libxkbfile/APKBUILD index fd53a15f50..351c5ace4c 100644 --- a/main/libxkbfile/APKBUILD +++ b/main/libxkbfile/APKBUILD @@ -14,8 +14,12 @@ source="http://xorg.freedesktop.org/releases/individual/lib/$pkgname-$pkgver.tar depends_dev="libx11-dev kbproto" build () { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr \ - --sysconfdir=/etc + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + || return 1 make || return 1 } diff --git a/main/libxkbui/APKBUILD b/main/libxkbui/APKBUILD index b9cffba90c..a2d77a03eb 100644 --- a/main/libxkbui/APKBUILD +++ b/main/libxkbui/APKBUILD @@ -14,7 +14,11 @@ source="http://xorg.freedesktop.org/releases/individual/lib/$pkgname-$pkgver.tar depends_dev="libx11-dev xproto libxt-dev" build () { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 } diff --git a/main/libxklavier/APKBUILD b/main/libxklavier/APKBUILD index d5075dce19..771398a481 100644 --- a/main/libxklavier/APKBUILD +++ b/main/libxklavier/APKBUILD @@ -24,9 +24,13 @@ depends_dev="libxml2-dev glib-dev gettext-dev libxkbfile-dev" build () { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --with-xkb-base=/usr/share/X11/xkb \ - --disable-static || return 1 + --disable-static \ + || return 1 make || return 1 } diff --git a/main/libxml2/APKBUILD b/main/libxml2/APKBUILD index 4121c44b2f..5500426a17 100644 --- a/main/libxml2/APKBUILD +++ b/main/libxml2/APKBUILD @@ -28,10 +28,14 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ - --infodir=/usr/share/info + --infodir=/usr/share/info \ + || return 1 make } diff --git a/main/libxmu/APKBUILD b/main/libxmu/APKBUILD index 3d18383238..c4f9442846 100644 --- a/main/libxmu/APKBUILD +++ b/main/libxmu/APKBUILD @@ -16,8 +16,12 @@ depends_dev="xproto libx11-dev libxt-dev libxext-dev util-linux-dev" build () { cd "$srcdir"/libXmu-$pkgver - ./configure --prefix=/usr \ - --sysconfdir=/etc + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + || return 1 make || return 1 } diff --git a/main/libxp/APKBUILD b/main/libxp/APKBUILD index c7a6acf771..e917d6cae8 100644 --- a/main/libxp/APKBUILD +++ b/main/libxp/APKBUILD @@ -28,7 +28,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ diff --git a/main/libxpm/APKBUILD b/main/libxpm/APKBUILD index ae409ebc4a..90c31e2c2b 100644 --- a/main/libxpm/APKBUILD +++ b/main/libxpm/APKBUILD @@ -15,7 +15,10 @@ source="http://xorg.freedesktop.org/releases/individual/lib/libXpm-$pkgver.tar.b depends_dev="libx11-dev" build() { cd "$srcdir"/libXpm-$pkgver - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ || return 1 make || return 1 diff --git a/main/libxrandr/APKBUILD b/main/libxrandr/APKBUILD index 84d96a634e..4ae7c83c98 100644 --- a/main/libxrandr/APKBUILD +++ b/main/libxrandr/APKBUILD @@ -26,7 +26,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ || return 1 make || return 1 diff --git a/main/libxrender/APKBUILD b/main/libxrender/APKBUILD index 0a4e6a80d7..b3591f0d26 100644 --- a/main/libxrender/APKBUILD +++ b/main/libxrender/APKBUILD @@ -17,7 +17,11 @@ _builddir="$srcdir"/libXrender-$pkgver build() { cd "$_builddir" - ./configure --prefix=/usr + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 } diff --git a/main/libxres/APKBUILD b/main/libxres/APKBUILD index 2abb57fed0..c1cdafcf55 100644 --- a/main/libxres/APKBUILD +++ b/main/libxres/APKBUILD @@ -25,8 +25,12 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ - --sysconfdir=/etc + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + || return 1 make || return 1 } diff --git a/main/libxslt/APKBUILD b/main/libxslt/APKBUILD index cf9d1c3228..1b7fd68fff 100644 --- a/main/libxslt/APKBUILD +++ b/main/libxslt/APKBUILD @@ -23,7 +23,11 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make } diff --git a/main/libxt/APKBUILD b/main/libxt/APKBUILD index 613958d2a5..2f006b1db6 100644 --- a/main/libxt/APKBUILD +++ b/main/libxt/APKBUILD @@ -26,7 +26,10 @@ prepare() { build () { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ || return 1 make || return 1 diff --git a/main/libxtst/APKBUILD b/main/libxtst/APKBUILD index 30da3627f4..ff61909ae1 100644 --- a/main/libxtst/APKBUILD +++ b/main/libxtst/APKBUILD @@ -25,8 +25,11 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ - --build=${CHOST} --host=${CHOST} + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 } diff --git a/main/libxv/APKBUILD b/main/libxv/APKBUILD index 5e1a2dcf19..ff07b6e49f 100644 --- a/main/libxv/APKBUILD +++ b/main/libxv/APKBUILD @@ -25,7 +25,11 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 } diff --git a/main/libxvmc/APKBUILD b/main/libxvmc/APKBUILD index 8f45ff7cc3..7aea30dcd9 100644 --- a/main/libxvmc/APKBUILD +++ b/main/libxvmc/APKBUILD @@ -16,7 +16,12 @@ _builddir="$srcdir"/libXvMC-$pkgver build() { cd "$_builddir" - ./configure --prefix=/usr --sysconfdir=/etc + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + || return 1 make || return 1 } diff --git a/main/libxxf86dga/APKBUILD b/main/libxxf86dga/APKBUILD index 464301d61c..4ea190070e 100644 --- a/main/libxxf86dga/APKBUILD +++ b/main/libxxf86dga/APKBUILD @@ -24,7 +24,11 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 } diff --git a/main/libxxf86misc/APKBUILD b/main/libxxf86misc/APKBUILD index 3750178051..1529d841ad 100644 --- a/main/libxxf86misc/APKBUILD +++ b/main/libxxf86misc/APKBUILD @@ -14,8 +14,12 @@ depends_dev="xf86miscproto libx11-dev libxext-dev" build() { cd "$srcdir"/libXxf86misc-$pkgver - ./configure --prefix=/usr \ - --mandir=/usr/share/man + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --mandir=/usr/share/man \ + || return 1 make || return 1 } diff --git a/main/libxxf86vm/APKBUILD b/main/libxxf86vm/APKBUILD index 474b6a97f9..d9323479d2 100644 --- a/main/libxxf86vm/APKBUILD +++ b/main/libxxf86vm/APKBUILD @@ -25,7 +25,11 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 } diff --git a/main/lighttpd/APKBUILD b/main/lighttpd/APKBUILD index 0ed6c45ec1..06b2446a17 100644 --- a/main/lighttpd/APKBUILD +++ b/main/lighttpd/APKBUILD @@ -55,7 +55,10 @@ __EOF__ build() { local i cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --disable-dependency-tracking \ --enable-lfs \ --libdir=/usr/lib/lighttpd \ @@ -71,7 +74,8 @@ build() { --with-ldap \ --with-openssl \ --with-libev \ - --with-lua || return 1 + --with-lua \ + || return 1 make } diff --git a/main/links/APKBUILD b/main/links/APKBUILD index 79b04d1233..9a0e77c007 100644 --- a/main/links/APKBUILD +++ b/main/links/APKBUILD @@ -13,12 +13,16 @@ source="http://$pkgname.twibright.com/download/$pkgname-$pkgver.tar.bz2" build () { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --mandir=/usr/share/man \ --enable-javascript \ --disable-graphics \ --without-x \ - --disable-nls || return 1 + --disable-nls \ + || return 1 make || return 1 } diff --git a/main/linux-pam/APKBUILD b/main/linux-pam/APKBUILD index b116403250..c244e671bb 100644 --- a/main/linux-pam/APKBUILD +++ b/main/linux-pam/APKBUILD @@ -37,7 +37,10 @@ prepare() { build() { cd "$_builddir" autoreconf -vif || return 1 - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --libdir=/lib \ --sysconfdir=/etc \ --mandir=/usr/share/man \ diff --git a/main/llvm/APKBUILD b/main/llvm/APKBUILD index 65a8bc0cf0..2fbcd1d404 100644 --- a/main/llvm/APKBUILD +++ b/main/llvm/APKBUILD @@ -58,11 +58,13 @@ build() { || return 1 $_srcdir/configure \ + --build=$CBUILD \ + --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ - --enable-ffi \ + --enable-ffi \ --enable-shared \ || return 1 diff --git a/main/lockdev/APKBUILD b/main/lockdev/APKBUILD index 7dc2d06126..d5aa96dd35 100644 --- a/main/lockdev/APKBUILD +++ b/main/lockdev/APKBUILD @@ -32,7 +32,10 @@ build() { # bootstap fails with missing m4 dir mkdir m4 ./bootstrap || return 1 - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ diff --git a/main/loudmouth/APKBUILD b/main/loudmouth/APKBUILD index aaaa9c2d33..973c32efaf 100644 --- a/main/loudmouth/APKBUILD +++ b/main/loudmouth/APKBUILD @@ -33,6 +33,8 @@ prepare() { build() { cd "$_builddir" ./configure \ + --build=$CBUILD \ + --host=$CHOST \ --disable-static \ --with-asyncns=yes \ --with-ssl=openssl \ diff --git a/main/lsscsi/APKBUILD b/main/lsscsi/APKBUILD index 98604c036d..66ed5b49a6 100644 --- a/main/lsscsi/APKBUILD +++ b/main/lsscsi/APKBUILD @@ -21,10 +21,14 @@ _builddir="$srcdir"/$pkgname-$pkgver build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ - --infodir=/usr/share/info + --infodir=/usr/share/info \ + || return 1 make || return 1 } diff --git a/main/lsyncd/APKBUILD b/main/lsyncd/APKBUILD index e7a27327ea..ec6b099e19 100644 --- a/main/lsyncd/APKBUILD +++ b/main/lsyncd/APKBUILD @@ -28,7 +28,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ diff --git a/main/ltrace/APKBUILD b/main/ltrace/APKBUILD index 1b1274a438..91785f275d 100644 --- a/main/ltrace/APKBUILD +++ b/main/ltrace/APKBUILD @@ -24,7 +24,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --disable-werror \ || return 1 diff --git a/main/lua-bitlib/APKBUILD b/main/lua-bitlib/APKBUILD index 4610091dec..0c8fd57235 100644 --- a/main/lua-bitlib/APKBUILD +++ b/main/lua-bitlib/APKBUILD @@ -17,7 +17,11 @@ _builddir="$srcdir"/$_name-$pkgver build() { cd "$_builddir" - ./configure --prefix=/usr + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 } diff --git a/main/lua-curl/APKBUILD b/main/lua-curl/APKBUILD index 501728da55..33d2564f25 100644 --- a/main/lua-curl/APKBUILD +++ b/main/lua-curl/APKBUILD @@ -15,7 +15,11 @@ source="http://luaforge.net/frs/download.php/2634/lua-curl-0.2.tar.gz" _builddir="$srcdir"/lua-curl-$pkgver build() { cd "$_builddir" - ./configure --prefix=/usr + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make } diff --git a/main/lua-posix/APKBUILD b/main/lua-posix/APKBUILD index 1dd8bcdb74..5385d5a5b4 100644 --- a/main/lua-posix/APKBUILD +++ b/main/lua-posix/APKBUILD @@ -8,7 +8,7 @@ url="https://github.com/luaposix/luaposix" arch="all" license="MIT" depends="lua lua-bitlib" -makedepends="lua-dev perl ncurses-dev" +makedepends="lua lua-dev perl ncurses-dev" source="luaposix-$pkgver.tar.gz::https://github.com/luaposix/luaposix/archive/release-v$pkgver.tar.gz 0001-Removed-Lua-5.2-functions-lua_len-and-lua_tointegerx.patch" @@ -29,7 +29,10 @@ prepare() { } build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --libdir=$_lualib \ --datadir=$_luashare \ || return 1 diff --git a/main/lua-stdlib/APKBUILD b/main/lua-stdlib/APKBUILD index b7bf1b684a..7198b89640 100644 --- a/main/lua-stdlib/APKBUILD +++ b/main/lua-stdlib/APKBUILD @@ -16,7 +16,10 @@ _builddir="$srcdir"/stdlib-$pkgver _luashare=/usr/share/lua/5.1 build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --datadir="$_luashare" \ || return 1 make || return 1 diff --git a/main/lua5.2/APKBUILD b/main/lua5.2/APKBUILD index 4f4af2e5ee..66edf7b22e 100644 --- a/main/lua5.2/APKBUILD +++ b/main/lua5.2/APKBUILD @@ -44,7 +44,11 @@ EOF build() { cd "$_builddir" - ./configure --prefix=/usr + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 cd src make V=$pkgver \ CFLAGS=" -DLUA_USE_LINUX -DLUA_COMPAT_ALL" \ diff --git a/main/lvm2/APKBUILD b/main/lvm2/APKBUILD index 38f6bf255b..0ae07a5ab3 100644 --- a/main/lvm2/APKBUILD +++ b/main/lvm2/APKBUILD @@ -17,7 +17,10 @@ subpackages="$pkgname-dev $pkgname-doc device-mapper:dm $pkgname-libs" build () { cd "$srcdir"/LVM2.$pkgver - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --libdir=/lib \ --sbindir=/sbin \ diff --git a/main/lxc/APKBUILD b/main/lxc/APKBUILD index 4a65633b7a..cfb8866c80 100644 --- a/main/lxc/APKBUILD +++ b/main/lxc/APKBUILD @@ -33,7 +33,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --disable-apparmor \ diff --git a/main/lxdm/APKBUILD b/main/lxdm/APKBUILD index da7382be4e..92228c79a9 100644 --- a/main/lxdm/APKBUILD +++ b/main/lxdm/APKBUILD @@ -35,7 +35,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --libexecdir=/usr/lib/lxdm \ --without-pam \ diff --git a/main/lxpolkit/APKBUILD b/main/lxpolkit/APKBUILD index afb9b97d5b..92b3621454 100644 --- a/main/lxpolkit/APKBUILD +++ b/main/lxpolkit/APKBUILD @@ -26,7 +26,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ diff --git a/main/lxsession/APKBUILD b/main/lxsession/APKBUILD index 1947d4a828..108512e5f2 100644 --- a/main/lxsession/APKBUILD +++ b/main/lxsession/APKBUILD @@ -26,7 +26,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ diff --git a/main/lxterminal/APKBUILD b/main/lxterminal/APKBUILD index e034031795..6b3d41543c 100644 --- a/main/lxterminal/APKBUILD +++ b/main/lxterminal/APKBUILD @@ -26,7 +26,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ diff --git a/main/lynx/APKBUILD b/main/lynx/APKBUILD index 8b841714eb..234a503e3f 100644 --- a/main/lynx/APKBUILD +++ b/main/lynx/APKBUILD @@ -29,7 +29,12 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr --sysconfdir=/etc || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + || return 1 make || return 1 } diff --git a/main/lzo/APKBUILD b/main/lzo/APKBUILD index 958e0ac12c..c522e773a5 100644 --- a/main/lzo/APKBUILD +++ b/main/lzo/APKBUILD @@ -16,11 +16,15 @@ source="http://www.oberhumer.com/opensource/lzo/download/$pkgname-$pkgver.tar.gz build() { cd "$srcdir/$pkgname-$pkgver" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ - --enable-shared + --enable-shared \ + || return 1 make || return 1 } diff --git a/main/m4/APKBUILD b/main/m4/APKBUILD index 9dff611a47..3647bb5fe6 100644 --- a/main/m4/APKBUILD +++ b/main/m4/APKBUILD @@ -22,7 +22,11 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make } diff --git a/main/make/APKBUILD b/main/make/APKBUILD index 124144ab85..06a4debc7b 100644 --- a/main/make/APKBUILD +++ b/main/make/APKBUILD @@ -32,13 +32,14 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ - --build=${CBUILD} \ - --host=${CHOST} \ - --target=${CTARGET} \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ - --disable-nls + --disable-nls \ + || return 1 make || return 1 [ "$CBUILD" = "$CHOST" ] && (make check || return 1) return 0 diff --git a/main/makedepend/APKBUILD b/main/makedepend/APKBUILD index 414ca56a98..69240b980b 100644 --- a/main/makedepend/APKBUILD +++ b/main/makedepend/APKBUILD @@ -27,8 +27,12 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ - --sysconfdir=/etc || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + || return 1 make || return 1 } diff --git a/main/makekit/APKBUILD b/main/makekit/APKBUILD index 18ed2b2e38..aaddd9b379 100644 --- a/main/makekit/APKBUILD +++ b/main/makekit/APKBUILD @@ -28,7 +28,10 @@ prepare() { build() { mkdir -p "$_builddir" cd "$_builddir" - ../configure --prefix=/usr \ + ../configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ diff --git a/main/man/APKBUILD b/main/man/APKBUILD index f1e8aa306a..e590b5da1c 100644 --- a/main/man/APKBUILD +++ b/main/man/APKBUILD @@ -24,6 +24,7 @@ prepare() { build () { cd "$_builddir" + # note: not autotools ./configure -confdir=/etc +sgid +fhs +lang none sed -i "s/\\/usr\\/bin\\/awk/\\/usr\\/bin\\/gawk/" ./conf_script make || return 1 diff --git a/main/mc/APKBUILD b/main/mc/APKBUILD index a4ac89c9e6..857bef20d0 100644 --- a/main/mc/APKBUILD +++ b/main/mc/APKBUILD @@ -14,7 +14,10 @@ source="http://www.midnight-commander.org/downloads/mc-$pkgver.tar.bz2" _builddir="$srcdir"/$pkgname-$pkgver build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --libexecdir=/usr/lib \ --mandir=/usr/share/man \ --sysconfdir=/etc \ diff --git a/main/mcabber/APKBUILD b/main/mcabber/APKBUILD index 926590715f..a5eeef8b8b 100644 --- a/main/mcabber/APKBUILD +++ b/main/mcabber/APKBUILD @@ -27,6 +27,8 @@ _builddir="$srcdir"/$pkgname-$pkgver build() { cd "$_builddir" ./configure \ + --build=$CBUILD \ + --host=$CHOST \ --disable-static \ --enable-hgcset \ --enable-enchant \ diff --git a/main/memcached/APKBUILD b/main/memcached/APKBUILD index 24f7a0453f..33639b9edc 100644 --- a/main/memcached/APKBUILD +++ b/main/memcached/APKBUILD @@ -30,7 +30,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr\ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ || return 1 make || return 1 } diff --git a/main/mesa-demos/APKBUILD b/main/mesa-demos/APKBUILD index ef871587c4..3d59f0bdc7 100644 --- a/main/mesa-demos/APKBUILD +++ b/main/mesa-demos/APKBUILD @@ -29,7 +29,11 @@ prepare() { build() { cd "$_builddir" export LDFLAGS="$LDFLAGS -Wl,-z,lazy" - ./configure --prefix=/usr + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make V=1 || return 1 } diff --git a/main/mesa/APKBUILD b/main/mesa/APKBUILD index cf16d4f4c7..c9d40bbb26 100644 --- a/main/mesa/APKBUILD +++ b/main/mesa/APKBUILD @@ -57,7 +57,10 @@ prepare() { build() { cd "$_builddir" export LDFLAGS="$LDFLAGS -Wl,-z,lazy" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --with-dri-driverdir=$_dri_driverdir \ --disable-asm \ diff --git a/main/metacity/APKBUILD b/main/metacity/APKBUILD index 49702d0e43..986134b8c8 100644 --- a/main/metacity/APKBUILD +++ b/main/metacity/APKBUILD @@ -36,10 +36,14 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --enable-compositor \ - --disable-scrollkeeper || return 1 + --disable-scrollkeeper \ + || return 1 make || return 1 } diff --git a/main/midori/APKBUILD b/main/midori/APKBUILD index e7bbe4b4b1..c5e2b4365b 100644 --- a/main/midori/APKBUILD +++ b/main/midori/APKBUILD @@ -33,13 +33,16 @@ source="http://www.midori-browser.org/downloads/midori_${pkgver}_all_.tar.bz2" _builddir="$srcdir"/midori_${pkgver}_all_ build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --jobs=${MAKEFLAGS/-j/} \ --disable-zeitgeist \ --enable-addons \ --enable-unique \ --enable-nls \ - --enable-gtk3\ + --enable-gtk3 \ || return 1 make } diff --git a/main/minicom/APKBUILD b/main/minicom/APKBUILD index 0573b468da..d9a6742f5a 100644 --- a/main/minicom/APKBUILD +++ b/main/minicom/APKBUILD @@ -17,6 +17,8 @@ _builddir="$srcdir"/$pkgname-$pkgver build() { cd "$_builddir" ./configure \ + --build=$CBUILD \ + --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ diff --git a/main/mkfontdir/APKBUILD b/main/mkfontdir/APKBUILD index 24b70697d3..bdee1b75b5 100644 --- a/main/mkfontdir/APKBUILD +++ b/main/mkfontdir/APKBUILD @@ -15,7 +15,11 @@ source="http://xorg.freedesktop.org/releases/individual/app/$pkgname-$pkgver.tar build() { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 } diff --git a/main/mkfontscale/APKBUILD b/main/mkfontscale/APKBUILD index 6069575a49..553fb772a2 100644 --- a/main/mkfontscale/APKBUILD +++ b/main/mkfontscale/APKBUILD @@ -15,7 +15,11 @@ source="http://xorg.freedesktop.org/releases/individual/app/$pkgname-$pkgver.tar build() { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 } diff --git a/main/mlmmj/APKBUILD b/main/mlmmj/APKBUILD index d98dc187c3..ac0d4ab071 100644 --- a/main/mlmmj/APKBUILD +++ b/main/mlmmj/APKBUILD @@ -17,7 +17,11 @@ source="http://mlmmj.org/releases/mlmmj-$pkgver.tar.gz" build() { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 } diff --git a/main/mousepad/APKBUILD b/main/mousepad/APKBUILD index 48b38a9bf0..ecbbfd4275 100644 --- a/main/mousepad/APKBUILD +++ b/main/mousepad/APKBUILD @@ -15,11 +15,15 @@ source="http://archive.xfce.org/src/apps/mousepad/${pkgver%.*}/mousepad-$pkgver. build () { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --libexecdir=/usr/lib/xfce4 \ --localstatedir=/var \ - --disable-static + --disable-static \ + || return 1 make || return 1 } diff --git a/main/mp3splt-gtk/APKBUILD b/main/mp3splt-gtk/APKBUILD index ceeff71418..0c14090633 100644 --- a/main/mp3splt-gtk/APKBUILD +++ b/main/mp3splt-gtk/APKBUILD @@ -28,7 +28,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --disable-gnome \ || return 1 sed -i -e 's/-DGTK_DISABLE_DEPRECATED//' Makefile src/Makefile diff --git a/main/mp3splt/APKBUILD b/main/mp3splt/APKBUILD index 35a1e8c913..d16ef30a11 100644 --- a/main/mp3splt/APKBUILD +++ b/main/mp3splt/APKBUILD @@ -26,7 +26,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --with-mp3splt-includes=/usr/include/libmp3splt \ --enable-oggsplt_symlink \ || return 1 diff --git a/main/mpc/APKBUILD b/main/mpc/APKBUILD index 47c61aa164..9dd066208b 100644 --- a/main/mpc/APKBUILD +++ b/main/mpc/APKBUILD @@ -13,7 +13,11 @@ source="http://www.musicpd.org/download/mpc/${pkgver%.*}/mpc-${pkgver}.tar.bz2" build() { cd "$srcdir"/mpc-$pkgver - ./configure --prefix=/usr || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 } diff --git a/main/mpc1/APKBUILD b/main/mpc1/APKBUILD index a6cb2fdb64..32c6f1c3ef 100644 --- a/main/mpc1/APKBUILD +++ b/main/mpc1/APKBUILD @@ -22,10 +22,11 @@ build() { cd "$_builddir" # workaround for a bug in configure script EGREP=egrep \ - ./configure --prefix=/usr \ - --build=${CBUILD} \ - --host=${CHOST} \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ --with-sysroot="${CBUILDROOT}" \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ diff --git a/main/mpd/APKBUILD b/main/mpd/APKBUILD index 443b186413..bf60c1ea69 100644 --- a/main/mpd/APKBUILD +++ b/main/mpd/APKBUILD @@ -22,7 +22,10 @@ source="http://www.musicpd.org/download/mpd/${pkgver%.*}/mpd-$pkgver.tar.xz build() { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ diff --git a/main/mpdscribble/APKBUILD b/main/mpdscribble/APKBUILD index e2c4d90693..16f82ed02f 100644 --- a/main/mpdscribble/APKBUILD +++ b/main/mpdscribble/APKBUILD @@ -28,7 +28,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ diff --git a/main/mpfr3/APKBUILD b/main/mpfr3/APKBUILD index 789096ff79..d920070431 100644 --- a/main/mpfr3/APKBUILD +++ b/main/mpfr3/APKBUILD @@ -14,11 +14,13 @@ subpackages="$pkgname-doc mpfr-dev" _builddir="$srcdir"/mpfr-$pkgver build() { cd "$_builddir" - ./configure --prefix=/usr \ - --build=${CBUILD} \ - --host=${CHOST} \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ --with-sysroot=${CBUILDROOT} \ - --enable-shared || return 1; + --prefix=/usr \ + --enable-shared \ + || return 1; make || return 1; } diff --git a/main/mpg123/APKBUILD b/main/mpg123/APKBUILD index 4777899986..3a1258754f 100644 --- a/main/mpg123/APKBUILD +++ b/main/mpg123/APKBUILD @@ -14,13 +14,17 @@ options="libtool" build() { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --disable-dependency-tracking \ --with-ipv6 \ --with-pic \ --with-optimization=0 \ --with-cpu=i386_fpu \ - --with-audio="alsa oss" || return 1 + --with-audio="alsa oss" \ + || return 1 make || return 1 } diff --git a/main/mplayer/APKBUILD b/main/mplayer/APKBUILD index 668b38e5f8..45aea5661c 100644 --- a/main/mplayer/APKBUILD +++ b/main/mplayer/APKBUILD @@ -31,7 +31,10 @@ build() { cd "$_builddir" export GCC_SPECS=hardenednopie.specs - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --disable-gui \ --disable-gif \ --disable-arts \ @@ -48,7 +51,7 @@ build() { --disable-fribidi \ --disable-libdv \ --disable-musepack \ - --language=all\ + --language=all \ --disable-esd \ --disable-mga \ --disable-lirc \ diff --git a/main/mrtg/APKBUILD b/main/mrtg/APKBUILD index a43fbb27f6..180fa51d40 100644 --- a/main/mrtg/APKBUILD +++ b/main/mrtg/APKBUILD @@ -17,7 +17,10 @@ _builddir="$srcdir"/$pkgname-$pkgver build() { cd "$_builddir" - ./configure --bindir=/usr/bin \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --bindir=/usr/bin \ --libdir=/usr/lib \ --datadir=/usr/share/doc \ --mandir=/usr/share/doc/man \ diff --git a/main/mrxvt/APKBUILD b/main/mrxvt/APKBUILD index 11b436d5d9..7e3f45a58b 100644 --- a/main/mrxvt/APKBUILD +++ b/main/mrxvt/APKBUILD @@ -24,6 +24,8 @@ prepare() { build() { cd "$_builddir" ./configure \ + --build=$CBUILD \ + --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --enable-xft \ @@ -39,7 +41,8 @@ build() { --enable-greek \ --enable-cjk \ --enable-backspace-key \ - --with-save-lines=2048 || return 1 + --with-save-lines=2048 \ + || return 1 make || return 1 } diff --git a/main/msmtp/APKBUILD b/main/msmtp/APKBUILD index 4ee01cbc3c..76ebbb0b02 100644 --- a/main/msmtp/APKBUILD +++ b/main/msmtp/APKBUILD @@ -26,7 +26,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ diff --git a/main/mtdev/APKBUILD b/main/mtdev/APKBUILD index 61c5f5beb3..be94cd7b28 100644 --- a/main/mtdev/APKBUILD +++ b/main/mtdev/APKBUILD @@ -27,7 +27,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ diff --git a/main/mtools/APKBUILD b/main/mtools/APKBUILD index d7507fea05..c04f3c7218 100644 --- a/main/mtools/APKBUILD +++ b/main/mtools/APKBUILD @@ -13,11 +13,15 @@ subpackages="$pkgname-doc" build () { cd $srcdir/$pkgname-$pkgver - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --sysconfdir=/etc \ - --without-x + --without-x \ + || return 1 make || return 1 } diff --git a/main/mtx/APKBUILD b/main/mtx/APKBUILD index dec0abd064..5fb9a720f3 100644 --- a/main/mtx/APKBUILD +++ b/main/mtx/APKBUILD @@ -15,8 +15,12 @@ source="http://downloads.sourceforge.net/mtx/$pkgname-$pkgver.tar.gz" build() { cd "$srcdir/$pkgname-$pkgver" - ./configure --prefix=/usr \ - --datadir=/usr/share + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --datadir=/usr/share \ + || return 1 make || return 1 make prefix="$pkgdir" install } diff --git a/main/mutt/APKBUILD b/main/mutt/APKBUILD index 4bc57166d5..c5da8f5f0b 100644 --- a/main/mutt/APKBUILD +++ b/main/mutt/APKBUILD @@ -24,7 +24,10 @@ prepare() { build() { cd "$_builddir" ISPELL=/usr/bin/hunspell \ - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ diff --git a/main/nagios-plugins/APKBUILD b/main/nagios-plugins/APKBUILD index d466146b7b..6f4a7cd7f6 100644 --- a/main/nagios-plugins/APKBUILD +++ b/main/nagios-plugins/APKBUILD @@ -23,7 +23,10 @@ prepare() { build() { cd "$srcdir/$pkgname-$pkgver" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --bindir=/usr/sbin \ @@ -33,7 +36,8 @@ build() { --with-ps-format="%d %s %s %s" \ --with-ps-varlist="&procpid,&procuid,&procpcpu,procprog" \ --with-ps-cols=4 \ - --with-ping-command="/bin/ping -c %d %s" + --with-ping-command="/bin/ping -c %d %s" \ + || return 1 make all || return 1 } diff --git a/main/nagios/APKBUILD b/main/nagios/APKBUILD index b53f56d12d..e8b643a193 100644 --- a/main/nagios/APKBUILD +++ b/main/nagios/APKBUILD @@ -22,7 +22,10 @@ _builddir="$srcdir/$pkgname" build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc/nagios \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ @@ -36,7 +39,8 @@ build() { --with-nagios-user=nagios \ --with-nagios-group=nagios \ --enable-embedded-perl \ - --with-perlcache + --with-perlcache \ + || return 1 make all || return 1 } diff --git a/main/nano/APKBUILD b/main/nano/APKBUILD index 1149d5ad6b..560d0950b6 100644 --- a/main/nano/APKBUILD +++ b/main/nano/APKBUILD @@ -16,12 +16,16 @@ source="http://www.nano-editor.org/dist/v${pkgver%.*}/$pkgname-$pkgver.tar.gz" build() { cd "$srcdir/$pkgname-$pkgver" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --disable-nls \ - --disable-speller + --disable-speller \ + || return 1 make || return 1 } diff --git a/main/nasm/APKBUILD b/main/nasm/APKBUILD index 2ff5c852fd..fc9f58349a 100644 --- a/main/nasm/APKBUILD +++ b/main/nasm/APKBUILD @@ -25,7 +25,11 @@ build () { cd "$_builddir" export CFLAGS= export CXXFLAGS= - ./configure --prefix=/usr + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make nasmlib.o || return 1 make || return 1 } diff --git a/main/nautilus/APKBUILD b/main/nautilus/APKBUILD index dea6db841d..0db3a42565 100644 --- a/main/nautilus/APKBUILD +++ b/main/nautilus/APKBUILD @@ -58,7 +58,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ || return 1 make || return 1 diff --git a/main/ncdu/APKBUILD b/main/ncdu/APKBUILD index 8f611adce1..e52110c402 100644 --- a/main/ncdu/APKBUILD +++ b/main/ncdu/APKBUILD @@ -18,6 +18,8 @@ _builddir="$srcdir"/$pkgname-$pkgver build() { cd "$_builddir" ./configure \ + --build=$CBUILD \ + --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ diff --git a/main/ncftp/APKBUILD b/main/ncftp/APKBUILD index 582ff63310..850d38c8b1 100644 --- a/main/ncftp/APKBUILD +++ b/main/ncftp/APKBUILD @@ -21,9 +21,13 @@ prepare() { build () { cd "$_builddir" || return 1 - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ - --mandir=/usr/share/man || return 1 + --mandir=/usr/share/man \ + || return 1 cd "$_builddir"/libncftp make shared || return 1 diff --git a/main/ncurses/APKBUILD b/main/ncurses/APKBUILD index 772ec1ad80..341212dc30 100644 --- a/main/ncurses/APKBUILD +++ b/main/ncurses/APKBUILD @@ -12,9 +12,10 @@ subpackages="$pkgname-dev $pkgname-doc $pkgname-base $pkgname-terminfo $pkgname-widec-libs:widec $pkgname-libs" build() { - local _confopts="--mandir=/usr/share/man + local _confopts=" --build=$CBUILD --host=$CHOST + --mandir=/usr/share/man --without-ada --disable-termcap --disable-rpath-hack @@ -26,12 +27,16 @@ build() { mkdir ncurses-build ncursesw-build cd ncurses-build - ../configure $_confopts || return 1 + ../configure $_confopts \ + || return 1 make libs || return 1 make -C progs || return 1 cd ../ncursesw-build - ../configure $_confopts --enable-widec --without-progs || return 1 + ../configure $_confopts \ + --enable-widec \ + --without-progs \ + || return 1 make libs || return 1 cd .. } diff --git a/main/neon/APKBUILD b/main/neon/APKBUILD index 7c661c0f05..5c4e3450ef 100644 --- a/main/neon/APKBUILD +++ b/main/neon/APKBUILD @@ -14,7 +14,10 @@ source="http://www.webdav.org/$pkgname/$pkgname-$pkgver.tar.gz" build () { cd "$srcdir/$pkgname-$pkgver" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --with-ssl \ --with-expat \ --without-gssapi \ @@ -22,7 +25,7 @@ build () { --disable-socks \ --enable-shared \ --disable-static \ - + || return 1 make || return 1 } diff --git a/main/net-snmp/APKBUILD b/main/net-snmp/APKBUILD index dce92cda11..75e8bd4617 100644 --- a/main/net-snmp/APKBUILD +++ b/main/net-snmp/APKBUILD @@ -50,7 +50,10 @@ build() { #build fails on: libnetsnmpmibs.so: undefined reference to `pthread_create' LDFLAGS="$LDFLAGS -lpthread" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ @@ -66,7 +69,8 @@ build() { --enable-shared \ --enable-as-needed \ --with-perl-modules="INSTALLDIRS=vendor" \ - --disable-embedded-perl + --disable-embedded-perl \ + || return 1 # embedded-perl seems to create TEXTREL's # work around parallell build issue diff --git a/main/netcf/APKBUILD b/main/netcf/APKBUILD index 746b16ee5d..771b4836df 100644 --- a/main/netcf/APKBUILD +++ b/main/netcf/APKBUILD @@ -21,7 +21,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ diff --git a/main/nettle/APKBUILD b/main/nettle/APKBUILD index 2998922845..236636e0ab 100644 --- a/main/nettle/APKBUILD +++ b/main/nettle/APKBUILD @@ -29,6 +29,8 @@ prepare() { build() { cd "$_builddir" ./configure \ + --build=$CBUILD \ + --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ diff --git a/main/newt/APKBUILD b/main/newt/APKBUILD index 6ecb58e583..1ec0838f34 100644 --- a/main/newt/APKBUILD +++ b/main/newt/APKBUILD @@ -26,10 +26,14 @@ prepare() { build() { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --without-gpm \ --without-tcl \ - --disable-nls + --disable-nls \ + || return 1 make RPM_OPT_FLAGS="$CFLAGS" || return 1 } diff --git a/main/nfdump/APKBUILD b/main/nfdump/APKBUILD index e7665eb8a5..aa4958c00d 100644 --- a/main/nfdump/APKBUILD +++ b/main/nfdump/APKBUILD @@ -29,7 +29,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --enable-nfprofile \ || return 1 make || return 1 diff --git a/main/nfs-utils/APKBUILD b/main/nfs-utils/APKBUILD index 2d304c41cc..32f8fa1051 100644 --- a/main/nfs-utils/APKBUILD +++ b/main/nfs-utils/APKBUILD @@ -51,7 +51,10 @@ prepare() { build() { cd "$srcdir/$pkgname-$pkgver" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ @@ -61,7 +64,8 @@ build() { --enable-uuid \ --enable-gss \ --enable-libmount-mount \ - --with-statedir=/var/lib/nfs + --with-statedir=/var/lib/nfs \ + || return 1 make || return 1 } diff --git a/main/nginx/APKBUILD b/main/nginx/APKBUILD index 9848263bec..dfd32500df 100644 --- a/main/nginx/APKBUILD +++ b/main/nginx/APKBUILD @@ -26,7 +26,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --conf-path=/etc/$pkgname/$pkgname.conf \ --pid-path=/var/run/$pkgname.pid \ --lock-path=/var/run/$pkgname.lock \ @@ -35,12 +38,15 @@ build() { --http-client-body-temp-path=/tmp/$pkgname/client-body \ --http-proxy-temp-path=/tmp/$pkgname/proxy \ --http-fastcgi-temp-path=/tmp/$pkgname/fastcgi \ - --user=http --group=http \ - --with-ipv6 --with-pcre-jit \ + --user=http \ + --group=http \ + --with-ipv6 \ + --with-pcre-jit \ --with-http_ssl_module \ --with-http_gzip_static_module \ --with-http_spdy_module \ - --with-mail --with-mail_ssl_module \ + --with-mail \ + --with-mail_ssl_module \ || return 1 make || return 1 } diff --git a/main/ngircd/APKBUILD b/main/ngircd/APKBUILD index 4e569814f3..c74d651a0a 100644 --- a/main/ngircd/APKBUILD +++ b/main/ngircd/APKBUILD @@ -26,7 +26,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc/ngircd \ --mandir=/usr/share/man \ --without-ident \ diff --git a/main/ngrep/APKBUILD b/main/ngrep/APKBUILD index 141d8566c7..31666553be 100644 --- a/main/ngrep/APKBUILD +++ b/main/ngrep/APKBUILD @@ -16,9 +16,13 @@ source="http://downloads.sourceforge.net/sourceforge/ngrep/$pkgname-$pkgver.tar. _builddir="$srcdir"/$pkgname-$pkgver build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ - --with-pcap-includes=/usr/include/pcap + --with-pcap-includes=/usr/include/pcap \ + || return 1 make || return 1 } package() { diff --git a/main/nload/APKBUILD b/main/nload/APKBUILD index 7d62326281..ac7f0a82b8 100644 --- a/main/nload/APKBUILD +++ b/main/nload/APKBUILD @@ -17,10 +17,14 @@ _builddir="$srcdir"/$pkgname-$pkgver build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ - --infodir=/usr/share/info + --infodir=/usr/share/info \ + || return 1 make || return 1 } diff --git a/main/nmap/APKBUILD b/main/nmap/APKBUILD index 3856b4c58f..cd9c5dae6e 100644 --- a/main/nmap/APKBUILD +++ b/main/nmap/APKBUILD @@ -17,13 +17,17 @@ source="http://nmap.org/dist/$pkgname-$pkgver.tgz" _builddir="$srcdir"/$pkgname-$pkgver build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --without-zenmap \ --with-liblua=/usr/include \ - --with-openssl=/usr/lib + --with-openssl=/usr/lib \ + || return 1 make || return 1 } diff --git a/main/nrpe/APKBUILD b/main/nrpe/APKBUILD index 4d59a80fb9..98ee89f90c 100644 --- a/main/nrpe/APKBUILD +++ b/main/nrpe/APKBUILD @@ -19,12 +19,16 @@ source="http://downloads.sourceforge.net/nagios/$pkgname-$pkgver.tar.gz build() { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --libexecdir=/usr/lib/nagios/plugins \ - --enable-command-args + --enable-command-args \ + || return 1 make || return 1 } diff --git a/main/nsd/APKBUILD b/main/nsd/APKBUILD index 80b104c4bf..6a94490dc5 100644 --- a/main/nsd/APKBUILD +++ b/main/nsd/APKBUILD @@ -36,6 +36,8 @@ build() { cd "$_builddir" ./configure \ + --build=$CBUILD \ + --host=$CHOST \ --sbindir=/usr/sbin \ --mandir=/usr/share/man \ --with-user=nsd \ diff --git a/main/nspr/APKBUILD b/main/nspr/APKBUILD index b72e31c288..34087da00b 100644 --- a/main/nspr/APKBUILD +++ b/main/nspr/APKBUILD @@ -39,7 +39,10 @@ build() { conf="--enable-64bit" fi cd "$_builddir"/build - ../mozilla/nsprpub/configure --prefix=/usr \ + ../mozilla/nsprpub/configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --disable-debug \ --enable-optimize \ $conf \ diff --git a/main/ntfs-3g/APKBUILD b/main/ntfs-3g/APKBUILD index 0122aa1b8c..8f5024a0dd 100644 --- a/main/ntfs-3g/APKBUILD +++ b/main/ntfs-3g/APKBUILD @@ -15,10 +15,14 @@ source="http://tuxera.com/opensource/ntfs-3g_ntfsprogs-$pkgver.tgz" _builddir="$srcdir"/ntfs-3g_ntfsprogs-$pkgver build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ - --infodir=/usr/share/info + --infodir=/usr/share/info \ + || return 1 make || return 1 } diff --git a/main/obex-data-server/APKBUILD b/main/obex-data-server/APKBUILD index f9de2be6e9..8eac8a9178 100644 --- a/main/obex-data-server/APKBUILD +++ b/main/obex-data-server/APKBUILD @@ -24,9 +24,13 @@ prepare() { build() { cd $srcdir/$pkgname-$pkgver - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ - --enable-bip=gdk-pixbuf + --enable-bip=gdk-pixbuf \ + || return 1 make } diff --git a/main/obexd/APKBUILD b/main/obexd/APKBUILD index 4b92b38f52..53af098f7d 100644 --- a/main/obexd/APKBUILD +++ b/main/obexd/APKBUILD @@ -25,7 +25,10 @@ prepare() { build () { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --libexecdir=/usr/lib/obexd \ || return 1 make || return 1 diff --git a/main/ocfs2-tools/APKBUILD b/main/ocfs2-tools/APKBUILD index ee4b71d893..a08724a96d 100644 --- a/main/ocfs2-tools/APKBUILD +++ b/main/ocfs2-tools/APKBUILD @@ -38,14 +38,18 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --enable-ocfs2console=yes \ --enable-dynamic-fsck=yes \ --enable-dynamic-ctl=yes \ - --disable-glibtest || return 1 + --disable-glibtest \ + || return 1 make -j1 || return 1 } diff --git a/main/oidentd/APKBUILD b/main/oidentd/APKBUILD index f7d9ca7522..b16a23344c 100644 --- a/main/oidentd/APKBUILD +++ b/main/oidentd/APKBUILD @@ -18,10 +18,14 @@ oidentd.confd" build() { cd "$srcdir/$pkgname-$pkgver" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ - --infodir=/usr/share/info + --infodir=/usr/share/info \ + || return 1 make || return 1 make DESTDIR="$pkgdir" install install -D -m755 "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname diff --git a/main/open-lldp/APKBUILD b/main/open-lldp/APKBUILD index ef1e73f039..e87fa00be1 100644 --- a/main/open-lldp/APKBUILD +++ b/main/open-lldp/APKBUILD @@ -30,10 +30,14 @@ build() { cd "$_builddir" ./bootstrap.sh || return 1 # aclocal -W all && automake -W all && autoconf -W all - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ - --infodir=/usr/share/info || return 1 + --infodir=/usr/share/info \ + || return 1 make || return 1 } diff --git a/main/open-vm-tools-grsec/APKBUILD b/main/open-vm-tools-grsec/APKBUILD index f8da756fbe..2150747b24 100644 --- a/main/open-vm-tools-grsec/APKBUILD +++ b/main/open-vm-tools-grsec/APKBUILD @@ -60,7 +60,10 @@ prepare() { build() { export GCC_SPECS=hardenednopie.specs cd "$_builddir" - ./configure --without-pam \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --without-pam \ --without-x \ --without-dnet \ --without-icu \ diff --git a/main/open-vm-tools/APKBUILD b/main/open-vm-tools/APKBUILD index b1afc7534c..63500a1fb5 100644 --- a/main/open-vm-tools/APKBUILD +++ b/main/open-vm-tools/APKBUILD @@ -70,7 +70,10 @@ build() { export CUSTOM_PROCPS_NAME="procps" export CFLAGS="$CLFAGS -Wno-unused-but-set-variable" cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --disable-unity \ --with-dnet \ diff --git a/main/openbox/APKBUILD b/main/openbox/APKBUILD index 1d65c2a543..fd1114a36a 100644 --- a/main/openbox/APKBUILD +++ b/main/openbox/APKBUILD @@ -28,7 +28,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --disable-static \ || return 1 diff --git a/main/openjdk6/APKBUILD b/main/openjdk6/APKBUILD index 934714211a..694fdb359b 100644 --- a/main/openjdk6/APKBUILD +++ b/main/openjdk6/APKBUILD @@ -121,7 +121,10 @@ build() { cd "$_builddir" sh autogen.sh - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ @@ -138,7 +141,7 @@ build() { --with-ant-home=$srcdir/apache-ant-$ANT_VER \ --with-rhino=$srcdir/rhino$RHINO_VER/js.jar \ --with-pkgversion="Alpine ${pkgver}-r${pkgrel}" \ - || return 1 + || return 1 make || return 1 } diff --git a/main/openldap/APKBUILD b/main/openldap/APKBUILD index 519cbc2016..5649307108 100644 --- a/main/openldap/APKBUILD +++ b/main/openldap/APKBUILD @@ -39,7 +39,10 @@ prepare() { build () { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --libexecdir=/usr/lib \ --sysconfdir=/etc \ --mandir=/usr/share/man \ diff --git a/main/openntpd/APKBUILD b/main/openntpd/APKBUILD index af55367719..a16c323a4b 100644 --- a/main/openntpd/APKBUILD +++ b/main/openntpd/APKBUILD @@ -27,7 +27,10 @@ prepare() { build() { cd "$srcdir/$pkgname-$_myver" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --mandir=/usr/share/man \ --sysconfdir=/etc \ || return 1 diff --git a/main/openobex/APKBUILD b/main/openobex/APKBUILD index 30438bb88a..d784c4ccb5 100644 --- a/main/openobex/APKBUILD +++ b/main/openobex/APKBUILD @@ -15,7 +15,10 @@ source="http://downloads.sourceforge.net/project/openobex/openobex/$pkgver/openo _builddir="$srcdir"/openobex-$pkgver-Source build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --enable-apps \ --enable-irda \ --enable-bluetooth \ diff --git a/main/openresolv/APKBUILD b/main/openresolv/APKBUILD index c84aa0093d..5bf93c6d80 100644 --- a/main/openresolv/APKBUILD +++ b/main/openresolv/APKBUILD @@ -12,10 +12,13 @@ source="http://roy.marples.name/downloads/openresolv/openresolv-$pkgver.tar.bz2" build() { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --libexecdir=/usr/lib \ --sysconfdir=/etc \ - || return + || return 1 make } diff --git a/main/openssh/APKBUILD b/main/openssh/APKBUILD index 4250f8cd37..e0ef952517 100644 --- a/main/openssh/APKBUILD +++ b/main/openssh/APKBUILD @@ -11,6 +11,8 @@ depends="openssh-client" makedepends="openssl-dev zlib-dev" subpackages="$pkgname-doc $pkgname-client" source="ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/$pkgname-$_myver.tar.gz + openssh-fix-includes.diff + openssh-fix-utmp.diff openssh-peaktput.diff openssh-hmac-accel.diff sshd.initd @@ -40,19 +42,22 @@ prepare() { build () { cd "$_builddir" - ./configure --prefix=/usr \ - --with-mantype=man \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc/ssh \ + --datadir=/usr/share/openssh \ + --libexecdir=/usr/lib/ssh \ --mandir=/usr/share/man \ - --with-ldflags="${LDFLAGS}" \ - --disable-strip \ + --with-mantype=man \ + --with-ldflags="${LDFLAGS}" \ + --disable-strip \ --disable-lastlog \ - --sysconfdir=/etc/ssh \ - --datadir=/usr/share/openssh \ - --with-privsep-path=/var/empty \ - --with-privsep-user=sshd \ - --with-md5-passwords \ - --with-ssl-engine \ - --libexecdir=/usr/lib/ssh \ + --with-privsep-path=/var/empty \ + --with-privsep-user=sshd \ + --with-md5-passwords \ + --with-ssl-engine \ --without-tcp-wrappers \ --without-pam \ || return 1 @@ -95,16 +100,22 @@ client() { } md5sums="be46174dcbb77ebb4ea88ef140685de1 openssh-6.2p2.tar.gz +99adc484731fcd5fc17b39a6f9fe055b openssh-fix-includes.diff +223b1a488cd937388e99ce75e00fb7d4 openssh-fix-utmp.diff 949ff348573438163240c60d6c3618eb openssh-peaktput.diff c65d454dc5b149647273485fc184636d openssh-hmac-accel.diff cb0dd08c413fad346f0c594107b4a2e0 sshd.initd b35e9f3829f4cfca07168fcba98749c7 sshd.confd" sha256sums="7f29b9d2ad672ae0f9e1dcbff871fc5c2e60a194e90c766432e32161b842313b openssh-6.2p2.tar.gz +41940659600fe455c43247c6a7cb3d258c3abb5fcec40fc5559d243277a2be35 openssh-fix-includes.diff +9f9cbea58ba220e64a97b190169b732af47bd1791d2629fdc3a469856a03db44 openssh-fix-utmp.diff dab18c1fd1496c1ba4a4fe08c6c6b8cf3347fc82878d85498202f50168161f6b openssh-peaktput.diff 902ea83a9ef726f32b096280da0f1b722f4372886c65c4e28985ee57e725d95c openssh-hmac-accel.diff 3fa062fd4bfac64abf21f3c1d0548f1dfcf3c6e56e84ece14c848f53a293024e sshd.initd 29c6d57ac3ec6018cadc6ba6cd9b90c9ed46e20049b970fdcc68ee2481a2ee41 sshd.confd" sha512sums="80c8fb6bb25e86e8261cc7c6671773cdc0d9b0da9c9ebca33b3d5278c44197734fe32e878e1f444b693c4b49b0a525458aa07e57c231cefafc23a9c6975b05df openssh-6.2p2.tar.gz +5521b3a02d36573480c799c748badeab72127b03a85c73184c556d69e8e20643c823c43e5d06f6edb46e83310969333c08427dacf6c6f09227b1871c48c96984 openssh-fix-includes.diff +de5f9b3f64e9bb13a1eed348f6f1239aa35b62bb71ee1af091437ea24b24c65681969469ce1680e307d481c51fb2cc5ebe97ab79902a04c36341a770ba0f7bbd openssh-fix-utmp.diff 64f2c94f41225c76428440d778b0bf5657408123d1cd7d6cb4bdf5000bfba8ad80ec5e57acd0880adc7a8ea7e2f1a64e329b83cf8be630b9aaebff6ab138d025 openssh-peaktput.diff aaa128126400171d0755038a846672aa7b1e87340edf73a672962d403abf404ef1821466b17da51dde25f04ec7533ae4a653399ccc912ea9c4a7b1a14032e76f openssh-hmac-accel.diff 1483e2bcd700da9b02f04508d490b472c816344787bf1675fef2f7e27f72b91e4323e4e8c1db701e47d81d37d6d4b0623eaeac46b2cf589ae5ad69f363baa594 sshd.initd diff --git a/main/openssl/APKBUILD b/main/openssl/APKBUILD index f9cd11cc02..c55edfccd5 100644 --- a/main/openssl/APKBUILD +++ b/main/openssl/APKBUILD @@ -67,13 +67,14 @@ build() { x86) _target="linux-elf" ;; x86_64) _target="linux-x86_64" ;; arm*) _target="linux-armv4" ;; + *) msg "Unable to determine architecture from (CARCH=$CARCH)" ; return 1 ;; esac # Configure assumes --options are for it, so can't use # gcc's --sysroot fake this by overriding CC [ -n "$CBUILDROOT" ] && CC="$CC --sysroot=${CBUILDROOT}" - ./Configure $_target --prefix=/usr \ + perl ./Configure $_target --prefix=/usr \ --libdir=lib \ --openssldir=/etc/ssl \ shared zlib enable-montasm enable-md2 \ diff --git a/main/openvpn-auth-ldap/APKBUILD b/main/openvpn-auth-ldap/APKBUILD index ab58d527a4..50e2b93bf4 100644 --- a/main/openvpn-auth-ldap/APKBUILD +++ b/main/openvpn-auth-ldap/APKBUILD @@ -24,7 +24,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ diff --git a/main/openvpn/APKBUILD b/main/openvpn/APKBUILD index 487c907bdc..61bb99b047 100644 --- a/main/openvpn/APKBUILD +++ b/main/openvpn/APKBUILD @@ -31,13 +31,17 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --mandir=/usr/share/man \ --sysconfdir=/etc/openvpn \ --enable-ssl \ --enable-crypto \ --enable-password-save \ - --enable-iproute2 + --enable-iproute2 \ + || return 1 make || return 1 cd plugin/down-root diff --git a/main/oprofile/APKBUILD b/main/oprofile/APKBUILD index 74550d29ed..d71a8f6acc 100644 --- a/main/oprofile/APKBUILD +++ b/main/oprofile/APKBUILD @@ -23,11 +23,15 @@ prepare() { build() { cd "$srcdir/$pkgname-$pkgver" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ - --with-pic + --with-pic \ + || return 1 make -j1 || return 1 } diff --git a/main/orage/APKBUILD b/main/orage/APKBUILD index 80a0cef1fc..2ee5d67d9b 100644 --- a/main/orage/APKBUILD +++ b/main/orage/APKBUILD @@ -19,11 +19,15 @@ prepare() { build() { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --libexecdir=/usr/lib \ --localstatedir=/var \ - --disable-static || return 1 + --disable-static \ + || return 1 make || return 1 } diff --git a/main/orbit2/APKBUILD b/main/orbit2/APKBUILD index 4387f4c12a..fdca00968f 100644 --- a/main/orbit2/APKBUILD +++ b/main/orbit2/APKBUILD @@ -28,7 +28,12 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr --sysconfdir=/etc || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + || return 1 make || return 1 } diff --git a/main/orc/APKBUILD b/main/orc/APKBUILD index 596afb906d..1df6ddcb2c 100644 --- a/main/orc/APKBUILD +++ b/main/orc/APKBUILD @@ -27,7 +27,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ diff --git a/main/ortp/APKBUILD b/main/ortp/APKBUILD index 93b0dd7669..dba936a87d 100644 --- a/main/ortp/APKBUILD +++ b/main/ortp/APKBUILD @@ -27,7 +27,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --disable-static \ --enable-ipv6 \ || return 1 diff --git a/main/osmo/APKBUILD b/main/osmo/APKBUILD index 1698225792..33a771d66d 100644 --- a/main/osmo/APKBUILD +++ b/main/osmo/APKBUILD @@ -28,7 +28,11 @@ prepare() { build() { cd "$_builddir" CFLAGS="$CFLAGS -I/usr/include/libical" - ./configure --prefix=/usr || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 } diff --git a/main/p11-kit/APKBUILD b/main/p11-kit/APKBUILD index 21165d899a..8087dab514 100644 --- a/main/p11-kit/APKBUILD +++ b/main/p11-kit/APKBUILD @@ -28,6 +28,8 @@ prepare() { build() { cd "$_builddir" ./configure \ + --build=$CBUILD \ + --host=$CHOST \ --sysconfdir=/etc \ --prefix=/usr \ --mandir=/usr/share/man \ diff --git a/main/pacman/APKBUILD b/main/pacman/APKBUILD index 7f8fbf9de2..a00f439a4e 100644 --- a/main/pacman/APKBUILD +++ b/main/pacman/APKBUILD @@ -27,7 +27,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ diff --git a/main/pam-pgsql/APKBUILD b/main/pam-pgsql/APKBUILD index a085bf5aed..e13322dfe7 100644 --- a/main/pam-pgsql/APKBUILD +++ b/main/pam-pgsql/APKBUILD @@ -28,7 +28,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ || return 1 make || return 1 } diff --git a/main/pango/APKBUILD b/main/pango/APKBUILD index 98092ffd0d..71458daea9 100644 --- a/main/pango/APKBUILD +++ b/main/pango/APKBUILD @@ -16,10 +16,14 @@ source="http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$p build () { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --with-included-modules=basic-fc \ - --localstatedir=/var || return 1 + --localstatedir=/var \ + || return 1 make || return 1 } diff --git a/main/pangomm/APKBUILD b/main/pangomm/APKBUILD index 11496b4c8b..6aa9441c1f 100644 --- a/main/pangomm/APKBUILD +++ b/main/pangomm/APKBUILD @@ -15,7 +15,11 @@ source="http://ftp.gnome.org/pub/GNOME/sources/pangomm/${pkgver%.*}/pangomm-$pkg _builddir="$srcdir"/$pkgname-$pkgver build() { cd "$srcdir/$pkgname-$pkgver" - ./configure --prefix=/usr || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 } diff --git a/main/pangox-compat/APKBUILD b/main/pangox-compat/APKBUILD index 4d55baf932..577ddade07 100644 --- a/main/pangox-compat/APKBUILD +++ b/main/pangox-compat/APKBUILD @@ -26,7 +26,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --disable-static \ || return 1 make || return 1 diff --git a/main/parole/APKBUILD b/main/parole/APKBUILD index f7683e8641..16b1293652 100644 --- a/main/parole/APKBUILD +++ b/main/parole/APKBUILD @@ -29,7 +29,10 @@ prepare() { build() { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ diff --git a/main/parted/APKBUILD b/main/parted/APKBUILD index f06fc54ebc..9bac464fd5 100644 --- a/main/parted/APKBUILD +++ b/main/parted/APKBUILD @@ -14,10 +14,14 @@ source="ftp://ftp.gnu.org/pub/gnu/$pkgname/$pkgname-$pkgver.tar.xz" _builddir="$srcdir"/$pkgname-$pkgver build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --disable-debug \ --disable-nls \ - --disable-Werror + --disable-Werror \ + || return 1 make || return 1 } diff --git a/main/patch/APKBUILD b/main/patch/APKBUILD index 4091c3e66b..fa8f5e0478 100644 --- a/main/patch/APKBUILD +++ b/main/patch/APKBUILD @@ -15,16 +15,21 @@ _builddir="$srcdir"/$pkgname-$pkgver build() { cd "$_builddir" - ./configure --prefix=/usr \ - --build=${CBUILD} \ - --host=${CHOST} \ - --mandir=/usr/share/man + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --mandir=/usr/share/man \ + || return 1 make || return 1 } package() { cd "$_builddir" make prefix="$pkgdir"/usr mandir="$pkgdir"/usr/share/man install + rm -rf "$pkgdir"/usr/lib/charset.alias + rmdir -p "$pkgdir"/usr/lib 2>/dev/null + return 0 } md5sums="0881a7c6477862fc395f373ada0ec6b6 patch-2.7.1.tar.bz2" diff --git a/main/patchutils/APKBUILD b/main/patchutils/APKBUILD index f30eeab846..c1b03bc780 100644 --- a/main/patchutils/APKBUILD +++ b/main/patchutils/APKBUILD @@ -27,7 +27,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ diff --git a/main/pcre/APKBUILD b/main/pcre/APKBUILD index c0af61aefc..c90d95069a 100644 --- a/main/pcre/APKBUILD +++ b/main/pcre/APKBUILD @@ -24,7 +24,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --enable-jit \ --enable-utf8 \ --enable-unicode-properties \ @@ -33,7 +36,8 @@ build() { --enable-pcre32 \ --with-match-limit-recursion=8192 \ --htmldir=/usr/share/doc/$pkgname-$pkgver/html \ - --docdir=/usr/share/doc/$pkgname-$pkgver + --docdir=/usr/share/doc/$pkgname-$pkgver \ + || return 1 make || return 1 } diff --git a/main/pdnsd/APKBUILD b/main/pdnsd/APKBUILD index a8e976929c..6dbeaf16c5 100644 --- a/main/pdnsd/APKBUILD +++ b/main/pdnsd/APKBUILD @@ -34,7 +34,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ diff --git a/main/pekwm/APKBUILD b/main/pekwm/APKBUILD index 7362112211..e4ea5a05ff 100644 --- a/main/pekwm/APKBUILD +++ b/main/pekwm/APKBUILD @@ -21,10 +21,14 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ - --infodir=/usr/share/info + --infodir=/usr/share/info \ + || return 1 make || return 1 } diff --git a/main/perdition/APKBUILD b/main/perdition/APKBUILD index 470dc3ba91..c63527faa1 100644 --- a/main/perdition/APKBUILD +++ b/main/perdition/APKBUILD @@ -30,7 +30,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ @@ -43,7 +46,8 @@ build() { --disable-nis \ --disable-posix-regex \ --disable-ldap \ - --disable-daemon-map + --disable-daemon-map \ + || return 1 make || return 1 } diff --git a/main/pgcluster/APKBUILD b/main/pgcluster/APKBUILD index 01eb9005d0..f3fdf8be7f 100644 --- a/main/pgcluster/APKBUILD +++ b/main/pgcluster/APKBUILD @@ -19,7 +19,10 @@ source="http://pgfoundry.org/frs/download.php/1705/$pkgname-$_myver.tar.gz build() { cd "$srcdir"/$pkgname-$_myver || return 1 - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --mandir=/usr/share/man \ --with-docdir=/usr/share/doc \ --with-openssl \ diff --git a/main/pgpool/APKBUILD b/main/pgpool/APKBUILD index a601022322..b56ad8becf 100644 --- a/main/pgpool/APKBUILD +++ b/main/pgpool/APKBUILD @@ -17,6 +17,8 @@ _builddir="$srcdir"/$_opkgname-$pkgver build() { cd "$_builddir" ./configure \ + --build=$CBUILD \ + --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ diff --git a/main/php-apc/APKBUILD b/main/php-apc/APKBUILD index d9263845d3..8f179d8803 100644 --- a/main/php-apc/APKBUILD +++ b/main/php-apc/APKBUILD @@ -16,9 +16,13 @@ apc.ini" build() { cd "$srcdir/APC-${pkgver}" phpize || return 1 - ./configure --enable-apc \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --enable-apc \ --disable-apc-mmap \ - --with-php-config=/usr/bin/php-config + --with-php-config=/usr/bin/php-config \ + || return 1 make || return 1 } diff --git a/main/php-mailparse/APKBUILD b/main/php-mailparse/APKBUILD index aa4a889074..e7725300cb 100644 --- a/main/php-mailparse/APKBUILD +++ b/main/php-mailparse/APKBUILD @@ -31,7 +31,11 @@ prepare() { build() { cd "$_builddir" phpize || return 1 - ./configure --prefix=/usr || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 } diff --git a/main/php-xcache/APKBUILD b/main/php-xcache/APKBUILD index 677eec0cd3..681eb6850a 100644 --- a/main/php-xcache/APKBUILD +++ b/main/php-xcache/APKBUILD @@ -29,6 +29,8 @@ build() { cd "$_builddir" phpize --clean && phpize || return 1 ./configure \ + --build=$CBUILD \ + --host=$CHOST \ --prefix=/usr \ --enable-xcache \ --enable-xcache-constant \ diff --git a/main/php/APKBUILD b/main/php/APKBUILD index 529e67cbff..5b5fd7f692 100644 --- a/main/php/APKBUILD +++ b/main/php/APKBUILD @@ -143,7 +143,9 @@ _do_build() { } build() { - _phpconfig="--build=${CHOST:-i486-alpine-linux-uclibc} \ + _phpconfig="\ + --build=$CBUILD \ + --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc/php \ --with-layout=GNU \ diff --git a/main/pidgin-audacious/APKBUILD b/main/pidgin-audacious/APKBUILD index c87b8d27c8..56aaaa9b16 100644 --- a/main/pidgin-audacious/APKBUILD +++ b/main/pidgin-audacious/APKBUILD @@ -27,7 +27,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ diff --git a/main/pidgin-otr/APKBUILD b/main/pidgin-otr/APKBUILD index 2020cf907b..944be373d2 100644 --- a/main/pidgin-otr/APKBUILD +++ b/main/pidgin-otr/APKBUILD @@ -25,7 +25,11 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 } diff --git a/main/pidgin-sipe/APKBUILD b/main/pidgin-sipe/APKBUILD index d7eb4b37de..eeb5ea9c5d 100644 --- a/main/pidgin-sipe/APKBUILD +++ b/main/pidgin-sipe/APKBUILD @@ -29,7 +29,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --enable-purple \ --disable-telepathy \ --with-vv \ diff --git a/main/pidgin/APKBUILD b/main/pidgin/APKBUILD index 8803c9a96f..622296dfad 100644 --- a/main/pidgin/APKBUILD +++ b/main/pidgin/APKBUILD @@ -30,7 +30,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --disable-avahi \ --disable-doxygen \ diff --git a/main/pinentry/APKBUILD b/main/pinentry/APKBUILD index cd972a58a7..073d922ab3 100644 --- a/main/pinentry/APKBUILD +++ b/main/pinentry/APKBUILD @@ -15,13 +15,17 @@ source="ftp://ftp.gnupg.org/gcrypt/$pkgname/$pkgname-$pkgver.tar.bz2 build () { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --disable-pinentry-gtk \ --enable-pinentry-gtk2 \ --disable-pinentry-qt \ --enable-pinentry-curses \ --enable-pinentry-gtk2 \ - --enable-fallback-curses + --enable-fallback-curses \ + || return 1 make || return 1 } diff --git a/main/pixman/APKBUILD b/main/pixman/APKBUILD index 53868db89f..f50c394ef2 100644 --- a/main/pixman/APKBUILD +++ b/main/pixman/APKBUILD @@ -13,8 +13,12 @@ source="http://xorg.freedesktop.org/releases/individual/lib/$pkgname-$pkgver.tar build() { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr \ - --disable-static || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --disable-static \ + || return 1 make || return 1 } diff --git a/main/pjproject/APKBUILD b/main/pjproject/APKBUILD index 4215fe172d..710b221d99 100644 --- a/main/pjproject/APKBUILD +++ b/main/pjproject/APKBUILD @@ -33,7 +33,9 @@ prepare() { build() { cd "$srcdir/$pkgname-$pkgver" - ./configure --build=${CHOST:-i486-alpine-linux-uclibc} \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ diff --git a/main/pkgconf/APKBUILD b/main/pkgconf/APKBUILD index b6a29ebf28..c704cef76b 100644 --- a/main/pkgconf/APKBUILD +++ b/main/pkgconf/APKBUILD @@ -27,13 +27,14 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --localstatedir=/var \ - --build=${CBUILD} \ - --host=${CHOST} \ || return 1 make || return 1 if [ "$CHOST" = "$CBUILD" ]; then diff --git a/main/pm-utils/APKBUILD b/main/pm-utils/APKBUILD index 1afed83ebd..46ffb1bb59 100644 --- a/main/pm-utils/APKBUILD +++ b/main/pm-utils/APKBUILD @@ -24,10 +24,14 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ - --infodir=/usr/share/info + --infodir=/usr/share/info \ + || return 1 make || return 1 } diff --git a/main/pmacct/APKBUILD b/main/pmacct/APKBUILD index dbdc3d2d85..075869081c 100644 --- a/main/pmacct/APKBUILD +++ b/main/pmacct/APKBUILD @@ -27,14 +27,18 @@ _builddir="$srcdir"/$pkgname-$pkgver build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --enable-pgsql \ --enable-64bit \ --enable-threads \ - --enable-ulog + --enable-ulog \ + || return 1 make || return 1 } diff --git a/main/polkit/APKBUILD b/main/polkit/APKBUILD index f072cb76cc..a4b8ab0206 100644 --- a/main/polkit/APKBUILD +++ b/main/polkit/APKBUILD @@ -32,7 +32,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ @@ -45,7 +48,8 @@ build() { --with-os-type=alpine \ --disable-gtk-doc \ --disable-gtk-doc-html \ - --disable-gtk-doc-pdf + --disable-gtk-doc-pdf \ + || return 1 make || return 1 } diff --git a/main/poppler-gtk/APKBUILD b/main/poppler-gtk/APKBUILD index 1d5331ed2c..bb71f05cd9 100644 --- a/main/poppler-gtk/APKBUILD +++ b/main/poppler-gtk/APKBUILD @@ -33,7 +33,10 @@ prepare() { build() { cd "$srcdir"/$_realname-$pkgver - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --disable-static \ diff --git a/main/poppler-qt4/APKBUILD b/main/poppler-qt4/APKBUILD index d9ed0bc231..7874197552 100644 --- a/main/poppler-qt4/APKBUILD +++ b/main/poppler-qt4/APKBUILD @@ -35,7 +35,10 @@ prepare() { build() { cd "$srcdir"/$_realname-$pkgver - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --disable-static \ diff --git a/main/poppler/APKBUILD b/main/poppler/APKBUILD index fda7ba9027..47b3e6f533 100644 --- a/main/poppler/APKBUILD +++ b/main/poppler/APKBUILD @@ -19,7 +19,10 @@ source="http://$pkgname.freedesktop.org/$pkgname-$pkgver.tar.gz" build() { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --disable-static \ diff --git a/main/popt/APKBUILD b/main/popt/APKBUILD index 33fa56032f..e5d902c44e 100644 --- a/main/popt/APKBUILD +++ b/main/popt/APKBUILD @@ -11,10 +11,12 @@ makedepends="!libiconv-dev" source="http://rpm5.org/files/$pkgname/$pkgname-$pkgver.tar.gz" subpackages="$pkgname-doc $pkgname-dev" -build () -{ +build() { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --libdir=/lib \ --disable-static \ || return 1 diff --git a/main/portaudio/APKBUILD b/main/portaudio/APKBUILD index 4ca739e980..8fb8b917ee 100644 --- a/main/portaudio/APKBUILD +++ b/main/portaudio/APKBUILD @@ -27,7 +27,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ || return 1 make || return 1 } diff --git a/main/postgresql/APKBUILD b/main/postgresql/APKBUILD index 6de9ceb151..18d33c6179 100644 --- a/main/postgresql/APKBUILD +++ b/main/postgresql/APKBUILD @@ -31,7 +31,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --mandir=/usr/share/man \ --with-openssl \ || return 1 diff --git a/main/pound/APKBUILD b/main/pound/APKBUILD index 7af602ffb1..7fe7c10cb9 100644 --- a/main/pound/APKBUILD +++ b/main/pound/APKBUILD @@ -25,7 +25,12 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr --sysconfdir=/etc/pound + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc/pound \ + || return 1 make || return 1 } diff --git a/main/ppp/APKBUILD b/main/ppp/APKBUILD index 162d6da0f9..57cc8966ab 100644 --- a/main/ppp/APKBUILD +++ b/main/ppp/APKBUILD @@ -49,7 +49,11 @@ build () { sed -i "s:^#CBCP=y:CBCP=y:" pppd/Makefile.linux # Fix build error with recent kernels rm include/linux/if_pppol2tp.h - ./configure --prefix=/usr + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make COPTS="$CFLAGS" || return 1 } diff --git a/main/printproto/APKBUILD b/main/printproto/APKBUILD index dc1c0b415c..82e0eb4f03 100644 --- a/main/printproto/APKBUILD +++ b/main/printproto/APKBUILD @@ -13,7 +13,11 @@ source="http://xorg.freedesktop.org/releases/individual/proto/$pkgname-$pkgver.t build() { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 } diff --git a/main/privoxy/APKBUILD b/main/privoxy/APKBUILD index 04b8265f78..33be30fa31 100644 --- a/main/privoxy/APKBUILD +++ b/main/privoxy/APKBUILD @@ -31,7 +31,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --localstatedir=/var/ \ --enable-zlib \ --enable-dynamic-pcre \ diff --git a/main/procps/APKBUILD b/main/procps/APKBUILD index e306be5bce..f383a1949c 100644 --- a/main/procps/APKBUILD +++ b/main/procps/APKBUILD @@ -19,7 +19,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/ \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/ \ --bindir=/bin \ --sbindir=/sbin \ --libdir=/lib \ @@ -30,7 +33,8 @@ build() { --disable-w-from \ --disable-kill \ --disable-rpath \ - --with-ncurses + --with-ncurses \ + || return 1 make || return 1 } diff --git a/main/psqlodbc/APKBUILD b/main/psqlodbc/APKBUILD index 1ba7ae7a51..a744b1b16c 100644 --- a/main/psqlodbc/APKBUILD +++ b/main/psqlodbc/APKBUILD @@ -15,7 +15,11 @@ _builddir="$srcdir/$pkgname-$pkgver" build() { cd "$_builddir" - ./configure --prefix=/usr + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 } diff --git a/main/pth/APKBUILD b/main/pth/APKBUILD index 7882289c43..5ce8302521 100644 --- a/main/pth/APKBUILD +++ b/main/pth/APKBUILD @@ -22,10 +22,14 @@ build () { patch -p1 < $i || return 1 done - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ - --mandir=/usr/share/man + --mandir=/usr/share/man \ + || return 1 make || return 1 } diff --git a/main/putty/APKBUILD b/main/putty/APKBUILD index e678cfb6ce..667dee6a37 100644 --- a/main/putty/APKBUILD +++ b/main/putty/APKBUILD @@ -32,7 +32,11 @@ build() { sed -i 's#$(INSTALL_PROGRAM) -m 755 putty $(DESTDIR)$(bindir)/putty##' Makefile.in sed -i 's#$(INSTALL_PROGRAM) -m 755 puttytel $(DESTDIR)$(bindir)/puttytel##' Makefile.in - ./configure --prefix=/usr + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make all-cli || return 1 } diff --git a/main/pwgen/APKBUILD b/main/pwgen/APKBUILD index c8fa1b99da..16a0c56855 100644 --- a/main/pwgen/APKBUILD +++ b/main/pwgen/APKBUILD @@ -16,10 +16,14 @@ _builddir="$srcdir"/$pkgname-$pkgver build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ - --infodir=/usr/share/info + --infodir=/usr/share/info \ + || return 1 make || return 1 } diff --git a/main/py-cairo/APKBUILD b/main/py-cairo/APKBUILD index 83ce38403c..2353d1dcb1 100644 --- a/main/py-cairo/APKBUILD +++ b/main/py-cairo/APKBUILD @@ -21,7 +21,8 @@ prepare() { build() { cd "$_builddir" ./waf configure --prefix=/usr || return 1 -# ./configure --prefix=/usr \ +# ./configure \ +# --prefix=/usr \ # --sysconfdir=/etc \ # --mandir=/usr/share/man \ # --infodir=/usr/share/info \ diff --git a/main/py-dbus/APKBUILD b/main/py-dbus/APKBUILD index eb35109855..0117fa0f18 100644 --- a/main/py-dbus/APKBUILD +++ b/main/py-dbus/APKBUILD @@ -14,7 +14,10 @@ source="http://dbus.freedesktop.org/releases/dbus-python/dbus-python-$pkgver.tar _builddir="$srcdir"/dbus-python-$pkgver build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ || return 1 make || return 1 make test || return 1 diff --git a/main/py-gnome/APKBUILD b/main/py-gnome/APKBUILD index e34b55768c..43a6d73b0d 100644 --- a/main/py-gnome/APKBUILD +++ b/main/py-gnome/APKBUILD @@ -26,10 +26,14 @@ prepare() { build() { cd "$_builddir" LIBS="$(pkg-config gobject-2.0 --libs)" \ - ./configure --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + || return 1 make || return 1 } diff --git a/main/py-gobject/APKBUILD b/main/py-gobject/APKBUILD index 0fe0d19b31..8fe8cb2373 100644 --- a/main/py-gobject/APKBUILD +++ b/main/py-gobject/APKBUILD @@ -21,7 +21,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ diff --git a/main/py-gobject3/APKBUILD b/main/py-gobject3/APKBUILD index c6b33ccd04..c60f660aaf 100644 --- a/main/py-gobject3/APKBUILD +++ b/main/py-gobject3/APKBUILD @@ -21,7 +21,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ diff --git a/main/py-gst/APKBUILD b/main/py-gst/APKBUILD index 9382a08074..9a6d6dcfe9 100644 --- a/main/py-gst/APKBUILD +++ b/main/py-gst/APKBUILD @@ -27,7 +27,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ diff --git a/main/py-gtk/APKBUILD b/main/py-gtk/APKBUILD index 48243c1f5e..7e9cf6c856 100644 --- a/main/py-gtk/APKBUILD +++ b/main/py-gtk/APKBUILD @@ -33,7 +33,11 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 } diff --git a/main/python/APKBUILD b/main/python/APKBUILD index 0f79882c4d..5de5a9d7a7 100644 --- a/main/python/APKBUILD +++ b/main/python/APKBUILD @@ -33,7 +33,10 @@ prepare() { build() { cd "$srcdir/Python-$pkgver" export OPT="$CFLAGS" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --enable-shared \ --with-threads \ --enable-ipv6 \ diff --git a/main/qemu/APKBUILD b/main/qemu/APKBUILD index 921b298374..58c44eeabd 100644 --- a/main/qemu/APKBUILD +++ b/main/qemu/APKBUILD @@ -97,7 +97,10 @@ prepare() { build() { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --audio-drv-list=oss,alsa,sdl \ --enable-vde \ diff --git a/main/qpdf/APKBUILD b/main/qpdf/APKBUILD index 597e0214d9..3cffa9bfd6 100644 --- a/main/qpdf/APKBUILD +++ b/main/qpdf/APKBUILD @@ -27,7 +27,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ diff --git a/main/qt/APKBUILD b/main/qt/APKBUILD index 95fecd1923..4cf6ba8720 100644 --- a/main/qt/APKBUILD +++ b/main/qt/APKBUILD @@ -49,6 +49,7 @@ build() { export QT4DIR="$_builddir" export PATH="${QT4DIR}/bin:${PATH}" export LD_LIBRARY_PATH=${QT4DIR}/lib:${LD_LIBRARY_PATH} + # note: not autotools ./configure -confirm-license -opensource \ -prefix /usr \ -docdir /usr/share/doc/qt \ diff --git a/main/quagga/APKBUILD b/main/quagga/APKBUILD index bbf69bc036..fed1530e5f 100644 --- a/main/quagga/APKBUILD +++ b/main/quagga/APKBUILD @@ -36,7 +36,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --disable-static \ --enable-ipv6 \ --enable-ospf6d \ diff --git a/main/radvd/APKBUILD b/main/radvd/APKBUILD index 8358c39aae..fe964793e7 100644 --- a/main/radvd/APKBUILD +++ b/main/radvd/APKBUILD @@ -31,7 +31,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc/ \ --with-pidfile=/var/run/radvd/radvd.pid \ || return 1 diff --git a/main/randrproto/APKBUILD b/main/randrproto/APKBUILD index 93ee41d3df..dd1965f0a5 100644 --- a/main/randrproto/APKBUILD +++ b/main/randrproto/APKBUILD @@ -12,7 +12,11 @@ source="http://xorg.freedesktop.org/releases/individual/proto/$pkgname-$pkgver.t build () { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 } diff --git a/main/rarian/APKBUILD b/main/rarian/APKBUILD index 2818f06a32..635f32f03a 100644 --- a/main/rarian/APKBUILD +++ b/main/rarian/APKBUILD @@ -16,11 +16,15 @@ build () { cd "$srcdir"/$pkgname-$pkgver patch -p0 -i "$srcdir"/user-segfault.patch || return 1 - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --enable-scrollkeeper-compat \ - --disable-static || return 1 + --disable-static \ + || return 1 make || return 1 } diff --git a/main/rdesktop/APKBUILD b/main/rdesktop/APKBUILD index 89f11058bb..6ca11e502b 100644 --- a/main/rdesktop/APKBUILD +++ b/main/rdesktop/APKBUILD @@ -14,8 +14,12 @@ source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz" build () { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr \ - --with-sound=ao + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --with-sound=ao \ + || return 1 make || return 1 } diff --git a/main/re2c/APKBUILD b/main/re2c/APKBUILD index 8d994b4373..1a7362bbf6 100644 --- a/main/re2c/APKBUILD +++ b/main/re2c/APKBUILD @@ -23,10 +23,14 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + || return 1 make || return 1 } diff --git a/main/readline/APKBUILD b/main/readline/APKBUILD index 4fa4dc6232..12fa5501ba 100644 --- a/main/readline/APKBUILD +++ b/main/readline/APKBUILD @@ -35,9 +35,12 @@ prepare() { build() { cd "$_builddir" ./configure \ + --build=$CBUILD \ + --host=$CHOST \ --prefix=/usr \ --mandir=/usr/share/man \ - --infodir=/usr/share/info + --infodir=/usr/share/info \ + || return 1 make SHLIB_LIBS=-lncurses || return 1 } diff --git a/main/recordmydesktop/APKBUILD b/main/recordmydesktop/APKBUILD index a1996adb9f..12cc3fe515 100644 --- a/main/recordmydesktop/APKBUILD +++ b/main/recordmydesktop/APKBUILD @@ -31,7 +31,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --disable-jack \ || return 1 } diff --git a/main/recordproto/APKBUILD b/main/recordproto/APKBUILD index 9df8736fd2..599ea48d2e 100644 --- a/main/recordproto/APKBUILD +++ b/main/recordproto/APKBUILD @@ -12,7 +12,11 @@ source="http://xorg.freedesktop.org/releases/individual/proto/$pkgname-$pkgver.t build() { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 } diff --git a/main/reiserfsprogs/APKBUILD b/main/reiserfsprogs/APKBUILD index 9f9a88fd92..49a0f7b41a 100644 --- a/main/reiserfsprogs/APKBUILD +++ b/main/reiserfsprogs/APKBUILD @@ -22,10 +22,14 @@ _builddir="$srcdir"/$pkgname-$pkgver build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ - --infodir=/usr/share/info + --infodir=/usr/share/info \ + || return 1 make || return 1 } diff --git a/main/remmina-xfce/APKBUILD b/main/remmina-xfce/APKBUILD index 406e8a026a..96afcda0c1 100644 --- a/main/remmina-xfce/APKBUILD +++ b/main/remmina-xfce/APKBUILD @@ -16,7 +16,10 @@ _builddir="$srcdir"/$pkgname-$pkgver build () { cd $srcdir/$pkgname-$pkgver - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ || return 1 make || return 1 } diff --git a/main/renderproto/APKBUILD b/main/renderproto/APKBUILD index 03a3c186b6..8fee739833 100644 --- a/main/renderproto/APKBUILD +++ b/main/renderproto/APKBUILD @@ -13,7 +13,11 @@ source="http://xorg.freedesktop.org/releases/individual/proto/$pkgname-$pkgver.t build () { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 make DESTDIR="$pkgdir" install || return 1 install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING diff --git a/main/resourceproto/APKBUILD b/main/resourceproto/APKBUILD index 8061f59f26..4e14da433f 100644 --- a/main/resourceproto/APKBUILD +++ b/main/resourceproto/APKBUILD @@ -12,7 +12,11 @@ source="http://xorg.freedesktop.org//releases/individual/proto/$pkgname-$pkgver. build () { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 } diff --git a/main/rest/APKBUILD b/main/rest/APKBUILD index 210833313f..5fcfcfd612 100644 --- a/main/rest/APKBUILD +++ b/main/rest/APKBUILD @@ -27,7 +27,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --disable-static \ --enable-introspection \ --without-gnome \ diff --git a/main/rgb/APKBUILD b/main/rgb/APKBUILD index 5d1cc8b828..e84d2d3710 100644 --- a/main/rgb/APKBUILD +++ b/main/rgb/APKBUILD @@ -13,7 +13,12 @@ source="http://xorg.freedesktop.org/releases/individual/app/$pkgname-$pkgver.tar build() { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr --mandir=/usr/share/man || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --mandir=/usr/share/man \ + || return 1 make || return 1 } diff --git a/main/ristretto/APKBUILD b/main/ristretto/APKBUILD index 00f73038b4..c6e6a3b102 100644 --- a/main/ristretto/APKBUILD +++ b/main/ristretto/APKBUILD @@ -24,7 +24,10 @@ prepare() { build() { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --disable-debug \ diff --git a/main/rp-pppoe/APKBUILD b/main/rp-pppoe/APKBUILD index a9d89c12a9..c1b7b51594 100644 --- a/main/rp-pppoe/APKBUILD +++ b/main/rp-pppoe/APKBUILD @@ -19,12 +19,16 @@ _builddir="$srcdir"/$pkgname-$pkgver build() { cd "$_builddir"/src - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ - --enable-plugin=/usr/include/pppd - make all || return 1 + --enable-plugin=/usr/include/pppd \ + || return 1 + make all || return 1 } package() { diff --git a/main/rpcbind/APKBUILD b/main/rpcbind/APKBUILD index 92774d5ebb..b0318d8bd7 100644 --- a/main/rpcbind/APKBUILD +++ b/main/rpcbind/APKBUILD @@ -25,7 +25,12 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr --bindir=/sbin + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --bindir=/sbin \ + || return 1 make || return 1 } diff --git a/main/rrdcollect/APKBUILD b/main/rrdcollect/APKBUILD index 5cebb462ed..def4b88f5f 100644 --- a/main/rrdcollect/APKBUILD +++ b/main/rrdcollect/APKBUILD @@ -30,7 +30,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --localstatedir=/var \ --sysconfdir=/etc/rrdcollect \ --mandir=/usr/share/man \ diff --git a/main/rrdtool/APKBUILD b/main/rrdtool/APKBUILD index a51ec6ad21..f9abbb09b0 100644 --- a/main/rrdtool/APKBUILD +++ b/main/rrdtool/APKBUILD @@ -29,7 +29,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --disable-nls \ --disable-tcl \ --disable-ruby \ diff --git a/main/rsync/APKBUILD b/main/rsync/APKBUILD index ed226d7c35..858a7f6018 100644 --- a/main/rsync/APKBUILD +++ b/main/rsync/APKBUILD @@ -16,10 +16,20 @@ source="http://$pkgname.samba.org/ftp/$pkgname/$pkgname-$pkgver.tar.gz " subpackages="$pkgname-doc" -build() { - cd "$srcdir/$pkgname-$pkgver" +_builddir="$srcdir/$pkgname-$pkgver" + +prepare() { + cd "$_builddir" ./prepare-source || return 1 - ./configure --prefix=/usr || return 1 +} + +build() { + cd "$_builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 } diff --git a/main/rsyslog/APKBUILD b/main/rsyslog/APKBUILD index c43cc4ab2b..a145aae4bb 100644 --- a/main/rsyslog/APKBUILD +++ b/main/rsyslog/APKBUILD @@ -23,6 +23,8 @@ prepare() { cd "$_builddir" export LDFLAGS="-lestr" ./configure \ + --build=$CBUILD \ + --host=$CHOST \ --disable-gui \ --disable-rfc3195 \ --enable-largefile \ @@ -40,7 +42,8 @@ prepare() { --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ - --infodir=/usr/share/info + --infodir=/usr/share/info \ + || return 1 } build() { diff --git a/main/rt4/APKBUILD b/main/rt4/APKBUILD index 1621ed11a0..82e064ad91 100644 --- a/main/rt4/APKBUILD +++ b/main/rt4/APKBUILD @@ -121,7 +121,10 @@ EOF build() { cd "$_builddir" - ./configure --enable-layout=Alpine \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --enable-layout=Alpine \ --with-rt-group=rt4 \ --with-web-group=rt4 \ --with-web-user=rt4 \ diff --git a/main/rtorrent/APKBUILD b/main/rtorrent/APKBUILD index 0bd70d8dad..24399d2fca 100644 --- a/main/rtorrent/APKBUILD +++ b/main/rtorrent/APKBUILD @@ -12,22 +12,24 @@ subpackages="$pkgname-doc" source="http://libtorrent.rakshasa.no/downloads/${pkgname}-${pkgver}.tar.gz" build() { - cd "$srcdir"/$pkgname-$pkgver + cd "$srcdir"/$pkgname-$pkgver - export LDFLAGS="$LDFLAGS -lpthread" - ./configure \ - --prefix=/usr \ - --disable-debug \ - --with-xmlrpc-c \ - || return 1 + export LDFLAGS="$LDFLAGS -lpthread" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --disable-debug \ + --with-xmlrpc-c \ + || return 1 - make || return 1 + make || return 1 } package() { - cd "$srcdir"/$pkgname-$pkgver - make DESTDIR="$pkgdir" install - install -D doc/rtorrent.rc "$pkgdir"/usr/share/doc/rtorrent/rtorrent.r + cd "$srcdir"/$pkgname-$pkgver + make DESTDIR="$pkgdir" install + install -D doc/rtorrent.rc "$pkgdir"/usr/share/doc/rtorrent/rtorrent.r } md5sums="0bf2f262faa8c8c8d3b11ce286ea2bf2 rtorrent-0.9.3.tar.gz" diff --git a/main/rtpproxy/APKBUILD b/main/rtpproxy/APKBUILD index dbc42e774d..4725332a3a 100644 --- a/main/rtpproxy/APKBUILD +++ b/main/rtpproxy/APKBUILD @@ -29,10 +29,14 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ - --infodir=/usr/share/info + --infodir=/usr/share/info \ + || return 1 make || return 1 } diff --git a/main/ruby/APKBUILD b/main/ruby/APKBUILD index 9da0f6d940..4f39d61366 100644 --- a/main/ruby/APKBUILD +++ b/main/ruby/APKBUILD @@ -65,11 +65,17 @@ build() { # ruby saves path to install. we want use $PATH export INSTALL=install - # the configure script does not detect isnan/isinf as macros - ac_cv_func_isnan=yes \ - ac_cv_func_isinf=yes \ + case "$CLIBC" in + uclibc) + # the configure script does not detect isnan/isinf as macros + export ac_cv_func_isnan=yes + export ac_cv_func_isinf=yes + ;; + esac + ./configure \ - --build=${CHOST:-i486-alpine-linux-uclibc} \ + --build=$CBUILD \ + --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ diff --git a/main/run-parts/APKBUILD b/main/run-parts/APKBUILD index 2a98f09cb4..293480e32a 100644 --- a/main/run-parts/APKBUILD +++ b/main/run-parts/APKBUILD @@ -12,7 +12,11 @@ source="http://ftp.de.debian.org/debian/pool/main/d/debianutils/debianutils_${pk build () { cd $srcdir/debianutils-$pkgver - ./configure --prefix=/usr + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make } diff --git a/main/rxvt-unicode/APKBUILD b/main/rxvt-unicode/APKBUILD index 756e06020b..aa73472f47 100644 --- a/main/rxvt-unicode/APKBUILD +++ b/main/rxvt-unicode/APKBUILD @@ -27,7 +27,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --with-terminfo=/usr/share/terminfo \ --enable-256-color \ --enable-font-styles \ diff --git a/main/samba/APKBUILD b/main/samba/APKBUILD index d0fb47c9d2..596348cd9c 100644 --- a/main/samba/APKBUILD +++ b/main/samba/APKBUILD @@ -30,7 +30,10 @@ prepare() { build() { cd "$_builddir"/source3 - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc/samba \ --with-configdir=/etc/samba \ --localstatedir=/var \ @@ -47,7 +50,8 @@ build() { --enable-external-libtalloc \ --disable-nss-wrapper \ --disable-dnssd \ - --disable-swat + --disable-swat \ + || return 1 make || return 1 } diff --git a/main/screen/APKBUILD b/main/screen/APKBUILD index bcf2849a5e..378a771466 100644 --- a/main/screen/APKBUILD +++ b/main/screen/APKBUILD @@ -21,7 +21,10 @@ build() { patch -p1 < $i || return 1 done - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ diff --git a/main/scrnsaverproto/APKBUILD b/main/scrnsaverproto/APKBUILD index 8d4f5fd229..e391421b5d 100644 --- a/main/scrnsaverproto/APKBUILD +++ b/main/scrnsaverproto/APKBUILD @@ -12,7 +12,11 @@ source="http://xorg.freedesktop.org//releases/individual/proto/$pkgname-$pkgver. build() { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 } diff --git a/main/scrot/APKBUILD b/main/scrot/APKBUILD index a11a79c2de..781d56915b 100644 --- a/main/scrot/APKBUILD +++ b/main/scrot/APKBUILD @@ -13,7 +13,12 @@ source="http://linuxbrit.co.uk/downloads/$pkgname-$pkgver.tar.gz" build() { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr --mandir=/usr/share/man || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --mandir=/usr/share/man \ + || return 1 make || return 1 } diff --git a/main/sdl/APKBUILD b/main/sdl/APKBUILD index b58047148e..ba9b6bb51c 100644 --- a/main/sdl/APKBUILD +++ b/main/sdl/APKBUILD @@ -26,7 +26,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --disable-nasm \ --disable-esd \ --disable-video-svga \ @@ -35,7 +38,8 @@ build() { --enable-alsa \ --with-x \ --disable-rpath \ - --disable-nls + --disable-nls \ + || return 1 make } diff --git a/main/sdl_image/APKBUILD b/main/sdl_image/APKBUILD index e49faded1a..7c02b18bda 100644 --- a/main/sdl_image/APKBUILD +++ b/main/sdl_image/APKBUILD @@ -27,10 +27,14 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ - --infodir=/usr/share/info + --infodir=/usr/share/info \ + || return 1 make || return 1 } diff --git a/main/sdl_mixer/APKBUILD b/main/sdl_mixer/APKBUILD index f6ff767636..7254cdd751 100644 --- a/main/sdl_mixer/APKBUILD +++ b/main/sdl_mixer/APKBUILD @@ -25,11 +25,15 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ - --enable-music-mod + --enable-music-mod \ + || return 1 make || return 1 } diff --git a/main/sed/APKBUILD b/main/sed/APKBUILD index 21a8f61b22..f2e2b1422e 100644 --- a/main/sed/APKBUILD +++ b/main/sed/APKBUILD @@ -14,12 +14,16 @@ source="ftp://ftp.gnu.org/pub/gnu/$pkgname/$pkgname-$pkgver.tar.gz" build() { cd "$srcdir/$pkgname-$pkgver" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --bindir=/bin \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --disable-i18n \ - --disable-nls + --disable-nls \ + || return 1 make || return 1 } diff --git a/main/sessreg/APKBUILD b/main/sessreg/APKBUILD index 68824d5d7e..eb5b7f7503 100644 --- a/main/sessreg/APKBUILD +++ b/main/sessreg/APKBUILD @@ -13,7 +13,12 @@ source="http://xorg.freedesktop.org/releases/individual/app/$pkgname-$pkgver.tar build () { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr --mandir=/usr/share/man || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --mandir=/usr/share/man \ + || return 1 make || return 1 } diff --git a/main/setxkbmap/APKBUILD b/main/setxkbmap/APKBUILD index 287586fd52..766cc56971 100644 --- a/main/setxkbmap/APKBUILD +++ b/main/setxkbmap/APKBUILD @@ -14,7 +14,11 @@ build () { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 make DESTDIR=""$pkgdir"" install || return 1 } diff --git a/main/sfic/APKBUILD b/main/sfic/APKBUILD index 14d28a5f31..46c5afaac2 100644 --- a/main/sfic/APKBUILD +++ b/main/sfic/APKBUILD @@ -30,7 +30,11 @@ prepare() { build() { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 } diff --git a/main/sg3_utils/APKBUILD b/main/sg3_utils/APKBUILD index 9b08281690..b52278e286 100644 --- a/main/sg3_utils/APKBUILD +++ b/main/sg3_utils/APKBUILD @@ -22,10 +22,14 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ - --infodir=/usr/share/info + --infodir=/usr/share/info \ + || return 1 make || return 1 } diff --git a/main/shared-mime-info/APKBUILD b/main/shared-mime-info/APKBUILD index 73845cb667..68d4e7c6e3 100644 --- a/main/shared-mime-info/APKBUILD +++ b/main/shared-mime-info/APKBUILD @@ -15,8 +15,12 @@ source="http://freedesktop.org/~hadess/$pkgname-$pkgver.tar.xz" build() { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr \ - --disable-update-mimedb || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --disable-update-mimedb \ + || return 1 make -j1 } diff --git a/main/shotwell/APKBUILD b/main/shotwell/APKBUILD index c422032504..7ee880f011 100644 --- a/main/shotwell/APKBUILD +++ b/main/shotwell/APKBUILD @@ -32,9 +32,13 @@ prepare() { build () { cd $srcdir/$pkgname-$pkgver - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --disable-desktop-update \ - --disable-icon-update + --disable-icon-update \ + || return 1 make } diff --git a/main/sipsak/APKBUILD b/main/sipsak/APKBUILD index 13b11ff37a..b93d5a815c 100644 --- a/main/sipsak/APKBUILD +++ b/main/sipsak/APKBUILD @@ -16,11 +16,13 @@ _builddir="$srcdir"/$pkgname-$pkgver build() { cd "$_builddir" ./configure \ + --build=$CBUILD \ + --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ - || return 1 + || return 1 make || return 1 } diff --git a/main/slang/APKBUILD b/main/slang/APKBUILD index 486e74cde2..7f13a9f0f3 100644 --- a/main/slang/APKBUILD +++ b/main/slang/APKBUILD @@ -24,7 +24,10 @@ prepare () { build () { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ || return 1 make -j1 elf static || return 1 diff --git a/main/smartmontools/APKBUILD b/main/smartmontools/APKBUILD index ffd1d9cda3..68130d849c 100644 --- a/main/smartmontools/APKBUILD +++ b/main/smartmontools/APKBUILD @@ -16,7 +16,12 @@ source="http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.t build() { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr --sysconfdir=/etc + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + || return 1 make || return 1 } diff --git a/main/smokeping/APKBUILD b/main/smokeping/APKBUILD index f97d284051..24f5de44ab 100644 --- a/main/smokeping/APKBUILD +++ b/main/smokeping/APKBUILD @@ -44,7 +44,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --bindir=/usr/bin \ --libdir=/usr/lib \ --sysconfdir=/etc/smokeping \ diff --git a/main/smstools/APKBUILD b/main/smstools/APKBUILD index 732a48a79a..f4898731ed 100644 --- a/main/smstools/APKBUILD +++ b/main/smstools/APKBUILD @@ -28,10 +28,14 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ - --infodir=/usr/share/info + --infodir=/usr/share/info \ + || return 1 make || return 1 } diff --git a/main/snort/APKBUILD b/main/snort/APKBUILD index 325a43e17f..5d7d28e126 100644 --- a/main/snort/APKBUILD +++ b/main/snort/APKBUILD @@ -44,12 +44,16 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --enable-ipv6 \ - --enable-gre + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --enable-ipv6 \ + --enable-gre \ + || return 1 make || return 1 } diff --git a/main/socat/APKBUILD b/main/socat/APKBUILD index 81d2dc2227..e25aaf942f 100644 --- a/main/socat/APKBUILD +++ b/main/socat/APKBUILD @@ -15,7 +15,11 @@ source="http://www.dest-unreach.org/$pkgname/download/$pkgname-$pkgver.tar.bz2" _builddir="$srcdir/$pkgname-$pkgver" build() { cd "$_builddir" - ./configure --prefix=/usr || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 } diff --git a/main/sox/APKBUILD b/main/sox/APKBUILD index 5822e611a1..53ec5793d3 100644 --- a/main/sox/APKBUILD +++ b/main/sox/APKBUILD @@ -26,10 +26,14 @@ prepare() { build() { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --with-dyn-default \ - --with-distro="Alpine Linux" || return 1 + --with-distro="Alpine Linux" \ + || return 1 make || return 1 } diff --git a/main/spandsp/APKBUILD b/main/spandsp/APKBUILD index b9d4ed9bb0..de0c7426e7 100644 --- a/main/spandsp/APKBUILD +++ b/main/spandsp/APKBUILD @@ -19,10 +19,14 @@ _builddir="$srcdir"/$pkgname-0.0.6 build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ - --infodir=/usr/share/info + --infodir=/usr/share/info \ + || return 1 make || return 1 } diff --git a/main/speex/APKBUILD b/main/speex/APKBUILD index 9c29dc84d3..f9ac9b6434 100644 --- a/main/speex/APKBUILD +++ b/main/speex/APKBUILD @@ -20,10 +20,14 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ - --infodir=/usr/share/info + --infodir=/usr/share/info \ + || return 1 make || return 1 } diff --git a/main/spice-gtk/APKBUILD b/main/spice-gtk/APKBUILD index 7400273e93..08323c65a9 100644 --- a/main/spice-gtk/APKBUILD +++ b/main/spice-gtk/APKBUILD @@ -33,7 +33,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --with-gtk=3.0 \ diff --git a/main/spice-protocol/APKBUILD b/main/spice-protocol/APKBUILD index 263942fbee..194b69a0b7 100644 --- a/main/spice-protocol/APKBUILD +++ b/main/spice-protocol/APKBUILD @@ -27,7 +27,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ || return 1 make || return 1 } diff --git a/main/spice/APKBUILD b/main/spice/APKBUILD index 5b5c73a4a7..08fae70d39 100644 --- a/main/spice/APKBUILD +++ b/main/spice/APKBUILD @@ -30,7 +30,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ diff --git a/main/sqlite/APKBUILD b/main/sqlite/APKBUILD index 1a48d5f756..08b605831f 100644 --- a/main/sqlite/APKBUILD +++ b/main/sqlite/APKBUILD @@ -37,7 +37,10 @@ build() { cd "$_builddir" export LTLINK_EXTRAS="-ldl" export CFLAGS="$CFLAGS -DSQLITE_ENABLE_FTS3=1 -DSQLITE_ENABLE_COLUMN_METADATA=1 -DSQLITE_ENABLE_FTS3_PARENTHESIS -DSQLITE_SECURE_DELETE -DSQLITE_ENABLE_UNLOCK_NOTIFY -DSQLITE_ENABLE_RTREE=1 -DSQLITE_USE_URI -Iext/fts3" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --enable-threadsafe \ --disable-static \ --enable-readline \ diff --git a/main/sqsh/APKBUILD b/main/sqsh/APKBUILD index c424c42c1b..5e2ea2f9a6 100644 --- a/main/sqsh/APKBUILD +++ b/main/sqsh/APKBUILD @@ -29,11 +29,14 @@ build() { cd "$_builddir" SYBASE=/usr export SYBASE - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/doc \ -# --with-x \ - --with-readline + --with-readline \ + || return 1 make || return 1 } diff --git a/main/squid/APKBUILD b/main/squid/APKBUILD index 1d5f12fc5a..a4b40a07a2 100644 --- a/main/squid/APKBUILD +++ b/main/squid/APKBUILD @@ -44,7 +44,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --datadir=/usr/share/squid \ --sysconfdir=/etc/squid \ --libexecdir=/usr/lib/squid \ diff --git a/main/sshfs/APKBUILD b/main/sshfs/APKBUILD index 31ffb8df2b..75407d3537 100644 --- a/main/sshfs/APKBUILD +++ b/main/sshfs/APKBUILD @@ -14,7 +14,11 @@ _builddir="$srcdir"/sshfs-fuse-$pkgver build () { cd "$_builddir" - ./configure --prefix=/usr + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 } diff --git a/main/sshguard/APKBUILD b/main/sshguard/APKBUILD index a337bbfc63..79d5e4d521 100644 --- a/main/sshguard/APKBUILD +++ b/main/sshguard/APKBUILD @@ -30,7 +30,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --with-firewall=iptables \ || return 1 make || return 1 diff --git a/main/sshpass/APKBUILD b/main/sshpass/APKBUILD index c47f23ffc3..0162d35f70 100644 --- a/main/sshpass/APKBUILD +++ b/main/sshpass/APKBUILD @@ -26,7 +26,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ diff --git a/main/ssmtp/APKBUILD b/main/ssmtp/APKBUILD index d8ee553a24..ee4019674a 100644 --- a/main/ssmtp/APKBUILD +++ b/main/ssmtp/APKBUILD @@ -31,10 +31,14 @@ build() { cd "$_builddir" sed -i -e 's:$(CC) -o:$(CC) @LDFLAGS@ -o:' Makefile.in - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --mandir=/usr/share/man \ --sysconfdir=/etc \ - --enable-ssl + --enable-ssl \ + || return 1 make } diff --git a/main/startup-notification/APKBUILD b/main/startup-notification/APKBUILD index 49014bf1c5..4111bce7ff 100644 --- a/main/startup-notification/APKBUILD +++ b/main/startup-notification/APKBUILD @@ -14,7 +14,10 @@ source="http://www.freedesktop.org/software/$pkgname/releases/$pkgname-$pkgver.t depends_dev="libsm-dev xcb-util-dev" build() { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --localstatedir=/var \ --sysconfdir=/etc \ || return 1 diff --git a/main/strace/APKBUILD b/main/strace/APKBUILD index 81c8349a44..fab598ff39 100644 --- a/main/strace/APKBUILD +++ b/main/strace/APKBUILD @@ -17,8 +17,11 @@ build () #changes in kernel headers in 2.6.32 sed -i -e 's/include <linux\/socket.h>/include <sys\/socket.h>/g' \ configure - ./configure --prefix=/usr \ - + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 } diff --git a/main/subversion/APKBUILD b/main/subversion/APKBUILD index 8e8e5ee109..a6d7937628 100644 --- a/main/subversion/APKBUILD +++ b/main/subversion/APKBUILD @@ -33,7 +33,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --disable-nls \ --with-apxs \ --with-apache-libexecdir \ @@ -41,7 +44,8 @@ build() { --disable-javahl \ --disable-static \ --enable-disallowing-of-undefined-references \ - --without-jdk + --without-jdk \ + || return 1 make all || return 1 make swig-pl-lib || return 1 diff --git a/main/sudo/APKBUILD b/main/sudo/APKBUILD index 818ff14841..aa266058f7 100644 --- a/main/sudo/APKBUILD +++ b/main/sudo/APKBUILD @@ -30,9 +30,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ - --build=${CBUILD} \ - --host=${CHOST} \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --with-env-editor \ --without-pam \ --without-skey \ diff --git a/main/swfdec-mozilla/APKBUILD b/main/swfdec-mozilla/APKBUILD index 984cb2308d..40e462cb48 100644 --- a/main/swfdec-mozilla/APKBUILD +++ b/main/swfdec-mozilla/APKBUILD @@ -13,9 +13,13 @@ source="http://swfdec.freedesktop.org/download/$pkgname/0.8/$pkgname-$pkgver.tar build () { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --disable-static \ - --with-plugin-dir=/usr/lib/mozilla/plugins/ + --with-plugin-dir=/usr/lib/mozilla/plugins/ \ + || return 1 make || return 1 make DESTDIR="$pkgdir" install find "$pkgdir" -name '*.la' -delete diff --git a/main/swfdec/APKBUILD b/main/swfdec/APKBUILD index ee22c23565..128c2dc342 100644 --- a/main/swfdec/APKBUILD +++ b/main/swfdec/APKBUILD @@ -17,12 +17,16 @@ source="http://$pkgname.freedesktop.org/download/$pkgname/0.8/$pkgname-$pkgver.t build () { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --disable-static \ --enable-gtk \ --enable-gstreamer \ --enable-soup \ - --with-audio=alsa + --with-audio=alsa \ + || return 1 make || return 1 } diff --git a/main/swig/APKBUILD b/main/swig/APKBUILD index 2f9a30b59a..3549002d88 100644 --- a/main/swig/APKBUILD +++ b/main/swig/APKBUILD @@ -12,7 +12,11 @@ source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz" build() { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 } diff --git a/main/swish-e/APKBUILD b/main/swish-e/APKBUILD index cc40b53b5c..9b9af9a264 100644 --- a/main/swish-e/APKBUILD +++ b/main/swish-e/APKBUILD @@ -16,10 +16,14 @@ source="http://www.swish-e.org/distribution/$pkgname-$pkgver.tar.gz" build() { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ - --infodir=/usr/share/info + --infodir=/usr/share/info \ + || return 1 make || return 1 } diff --git a/main/sylpheed/APKBUILD b/main/sylpheed/APKBUILD index 5dcbc61eaa..fdc49c1032 100644 --- a/main/sylpheed/APKBUILD +++ b/main/sylpheed/APKBUILD @@ -24,9 +24,13 @@ prepare() { build() { cd "$srcdir/sylpheed-$pkgver" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --enable-ldap \ - --disable-gtkspell || return 1 + --disable-gtkspell \ + || return 1 make || return 1 } diff --git a/main/sysfsutils/APKBUILD b/main/sysfsutils/APKBUILD index e334e2bb64..5b08606854 100644 --- a/main/sysfsutils/APKBUILD +++ b/main/sysfsutils/APKBUILD @@ -13,8 +13,12 @@ source="http://downloads.sourceforge.net/sourceforge/linux-diag/$pkgname-$pkgver build() { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr \ - --mandir=/usr/share/man + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --mandir=/usr/share/man \ + || return 1 make || return 1 } diff --git a/main/sysstat/APKBUILD b/main/sysstat/APKBUILD index c3b687df1d..c7cd0b8176 100644 --- a/main/sysstat/APKBUILD +++ b/main/sysstat/APKBUILD @@ -14,11 +14,15 @@ source="http://pagesperso-orange.fr/sebastien.godard/sysstat-$pkgver.tar.gz" build() { cd "$srcdir/$pkgname-$pkgver" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ - --disable-nls + --disable-nls \ + || return 1 make || return 1 } diff --git a/main/talloc/APKBUILD b/main/talloc/APKBUILD index 979e234f6c..d53483b8c2 100644 --- a/main/talloc/APKBUILD +++ b/main/talloc/APKBUILD @@ -29,9 +29,13 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --disable-python \ - --sysconfdir=/etc || return 1 + --sysconfdir=/etc \ + || return 1 make || return 1 } diff --git a/main/tango-icon-theme/APKBUILD b/main/tango-icon-theme/APKBUILD index ecc608f85b..21a84c0fae 100644 --- a/main/tango-icon-theme/APKBUILD +++ b/main/tango-icon-theme/APKBUILD @@ -13,7 +13,11 @@ source="http://tango.freedesktop.org/releases/$pkgname-$pkgver.tar.gz" _builddir="$srcdir"/$pkgname-$pkgver build () { cd "$_builddir" - ./configure --prefix=/usr + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 } diff --git a/main/tar/APKBUILD b/main/tar/APKBUILD index 9ef8468786..a9f28dbe29 100644 --- a/main/tar/APKBUILD +++ b/main/tar/APKBUILD @@ -22,8 +22,12 @@ prepare() { build() { cd "$srcdir/$pkgname-$pkgver" - ./configure --prefix=/usr \ - --mandir=/usr/share/man + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --mandir=/usr/share/man \ + || return 1 make || return 1 } diff --git a/main/tcl/APKBUILD b/main/tcl/APKBUILD index 5f8f0c5444..94f989a10f 100644 --- a/main/tcl/APKBUILD +++ b/main/tcl/APKBUILD @@ -8,19 +8,33 @@ arch="all" license="TCL" depends= makedepends="" -source="http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname$pkgver-src.tar.gz" +source="http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname$pkgver-src.tar.gz + tcl-stat64.patch + " subpackages="$pkgname-doc $pkgname-dev" _major=${pkgver%.*} - _builddir="$srcdir"/tcl${pkgver}/unix + +prepare() { + cd "$srcdir"/tcl${pkgver} + for i in $source; do + case $i in + *.patch) msg "$i"; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + build() { local _64bit="--disable-64bit" case "$CARCH" in x86_64) _64bit="--enable-64bit";; esac cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --mandir=/usr/share/man \ $_64bit \ || return 1 @@ -47,6 +61,9 @@ dev() { done } -md5sums="573aa5fe678e9185ef2b3c56b24658d3 tcl8.6.0-src.tar.gz" -sha256sums="354422b9c4791685499123b2dfe01faa98b555c08906c010cb4449ddc75dcade tcl8.6.0-src.tar.gz" -sha512sums="ea64d2bb5b37b55bc424c759c67b5624e7d9a13b8bede744fd635cf668ff9e4a8681e41d94849f6c0a3564ee177268cbc3e5f287448b5a93179098d678e321f8 tcl8.6.0-src.tar.gz" +md5sums="573aa5fe678e9185ef2b3c56b24658d3 tcl8.6.0-src.tar.gz +5828445dcdebfbc761caecadf624bf1a tcl-stat64.patch" +sha256sums="354422b9c4791685499123b2dfe01faa98b555c08906c010cb4449ddc75dcade tcl8.6.0-src.tar.gz +ce1b6f1eab4445337c82d4c56f8d4483e312d7f65769b5e8cd7a72fdc2ac5ff5 tcl-stat64.patch" +sha512sums="ea64d2bb5b37b55bc424c759c67b5624e7d9a13b8bede744fd635cf668ff9e4a8681e41d94849f6c0a3564ee177268cbc3e5f287448b5a93179098d678e321f8 tcl8.6.0-src.tar.gz +cd52cbe80fd2be227c9018dbe38fa0888302293402e7a57f2e231c195b7c1902f1b58bc87d19c9d123915ca757e871abf084c0ef23b1a7f187bc03ba93904cc2 tcl-stat64.patch" diff --git a/main/tcpdump/APKBUILD b/main/tcpdump/APKBUILD index d7707dd23d..34438c3c67 100644 --- a/main/tcpdump/APKBUILD +++ b/main/tcpdump/APKBUILD @@ -15,6 +15,8 @@ _builddir="$srcdir"/$pkgname-$pkgver build () { cd "$_builddir" ./configure \ + --build=$CBUILD \ + --host=$CHOST \ --prefix=/usr \ --mandir=/usr/share/man \ --enable-ipv6 \ diff --git a/main/tcpflow/APKBUILD b/main/tcpflow/APKBUILD index e5c3d3c728..2addf08f2b 100644 --- a/main/tcpflow/APKBUILD +++ b/main/tcpflow/APKBUILD @@ -17,6 +17,8 @@ _builddir="$srcdir"/$pkgname-$pkgver build() { cd "$_builddir" ./configure \ + --build=$CBUILD \ + --host=$CHOST \ --prefix=/usr \ --mandir=/usr/share/man \ || return 1 diff --git a/main/testdisk/APKBUILD b/main/testdisk/APKBUILD index 84ca5bda31..fa6bd4fc76 100644 --- a/main/testdisk/APKBUILD +++ b/main/testdisk/APKBUILD @@ -21,10 +21,14 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ - --infodir=/usr/share/info + --infodir=/usr/share/info \ + || return 1 make || return 1 } diff --git a/main/texinfo/APKBUILD b/main/texinfo/APKBUILD index 121ca9c7d2..8e0b3abc07 100644 --- a/main/texinfo/APKBUILD +++ b/main/texinfo/APKBUILD @@ -14,15 +14,24 @@ subpackages="$pkgname-doc" _builddir="$srcdir"/texinfo-$pkgver build() { cd "$_builddir" - ./configure --prefix=/usr || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 } package() { cd "$_builddir" make DESTDIR=${pkgdir} install || return 1 + rm -f ${pkgdir}/usr/share/info/dir gzip ${pkgdir}/usr/share/info/* + + rm -rf "$pkgdir"/usr/lib/charset.alias + rmdir -p "$pkgdir"/usr/lib 2>/dev/null + return 0 } md5sums="54e250014fe698fb4832016158747c03 texinfo-5.1.tar.gz" diff --git a/main/tftp-hpa/APKBUILD b/main/tftp-hpa/APKBUILD index 6e4c858c86..a42bf9408b 100644 --- a/main/tftp-hpa/APKBUILD +++ b/main/tftp-hpa/APKBUILD @@ -16,8 +16,12 @@ source="http://www.kernel.org/pub/software/network/tftp/tftp-hpa/tftp-hpa-$pkgve build() { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr \ - --mandir=/usr/share/man || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --mandir=/usr/share/man \ + || return 1 make } diff --git a/main/thunar-archive-plugin/APKBUILD b/main/thunar-archive-plugin/APKBUILD index 5662e96ecf..35104cded4 100644 --- a/main/thunar-archive-plugin/APKBUILD +++ b/main/thunar-archive-plugin/APKBUILD @@ -14,11 +14,15 @@ source="http://archive.xfce.org/src/thunar-plugins/thunar-archive-plugin/${pkgve build() { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --libexecdir=/usr/lib/xfce4 \ --localstatedir=/var \ - --disable-static + --disable-static \ + || return 1 make || return 1 } diff --git a/main/thunar-vcs-plugin/APKBUILD b/main/thunar-vcs-plugin/APKBUILD index d8272390b0..c996d8cdd9 100644 --- a/main/thunar-vcs-plugin/APKBUILD +++ b/main/thunar-vcs-plugin/APKBUILD @@ -28,7 +28,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --libexecdir=/usr/lib/xfce4 \ --disable-static \ --enable-subversion \ diff --git a/main/thunar-volman/APKBUILD b/main/thunar-volman/APKBUILD index d889ff9de1..ac069e484e 100644 --- a/main/thunar-volman/APKBUILD +++ b/main/thunar-volman/APKBUILD @@ -21,10 +21,14 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ - --infodir=/usr/share/info + --infodir=/usr/share/info \ + || return 1 make || return 1 } diff --git a/main/thunar/APKBUILD b/main/thunar/APKBUILD index 717f8b6f1f..a95c182164 100644 --- a/main/thunar/APKBUILD +++ b/main/thunar/APKBUILD @@ -28,7 +28,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --libexecdir=/usr/lib \ --localstatedir=/var \ diff --git a/main/tiff/APKBUILD b/main/tiff/APKBUILD index 2bfdb997a8..97aa351524 100644 --- a/main/tiff/APKBUILD +++ b/main/tiff/APKBUILD @@ -30,11 +30,15 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ - --disable-cxx + --disable-cxx \ + || return 1 make || return 1 } diff --git a/main/tig/APKBUILD b/main/tig/APKBUILD index 62edd3d661..51903154e8 100644 --- a/main/tig/APKBUILD +++ b/main/tig/APKBUILD @@ -18,6 +18,8 @@ _builddir="$srcdir"/$pkgname-$pkgver build() { cd "$_builddir" ./configure \ + --build=$CBUILD \ + --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ diff --git a/main/tinc/APKBUILD b/main/tinc/APKBUILD index 704f032dfc..51118d0aa0 100644 --- a/main/tinc/APKBUILD +++ b/main/tinc/APKBUILD @@ -23,13 +23,17 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --enable-jumbograms \ --enable-lzo \ - --enable-zlib + --enable-zlib \ + || return 1 make || return 1 } diff --git a/main/tinyproxy/APKBUILD b/main/tinyproxy/APKBUILD index 0bcb89648d..1240e12406 100644 --- a/main/tinyproxy/APKBUILD +++ b/main/tinyproxy/APKBUILD @@ -36,11 +36,14 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --localstatedir=/var \ --sysconfdir=/etc/tinyproxy \ --disable-dependency-tracking \ - || return + || return 1 make || return 1 } diff --git a/main/tlsdate/APKBUILD b/main/tlsdate/APKBUILD index eb0058e5f1..c072d8ef49 100644 --- a/main/tlsdate/APKBUILD +++ b/main/tlsdate/APKBUILD @@ -28,9 +28,13 @@ prepare() { build() { cd "$_builddir" autoreconf --install - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --disable-static \ - --sysconfdir=/etc || return 1 + --sysconfdir=/etc \ + || return 1 make CFLAGS+="-DUNPRIV_GROUP='\"nobody\"'" || return 1 } diff --git a/main/tmux/APKBUILD b/main/tmux/APKBUILD index 918ad1b098..ae5f98a273 100644 --- a/main/tmux/APKBUILD +++ b/main/tmux/APKBUILD @@ -27,7 +27,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr\ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ || return 1 make || return 1 } diff --git a/main/transmission/APKBUILD b/main/transmission/APKBUILD index 49bc46e248..88cc2fa65a 100644 --- a/main/transmission/APKBUILD +++ b/main/transmission/APKBUILD @@ -36,11 +36,14 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --localstatedir=/var \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --localstatedir=/var \ --enable-utp \ --with-inotify \ || return 1 diff --git a/main/tumbler/APKBUILD b/main/tumbler/APKBUILD index fe814e920d..b24554f528 100644 --- a/main/tumbler/APKBUILD +++ b/main/tumbler/APKBUILD @@ -26,7 +26,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ diff --git a/main/tvheadend/APKBUILD b/main/tvheadend/APKBUILD index 39b2676769..80eb7c76f4 100644 --- a/main/tvheadend/APKBUILD +++ b/main/tvheadend/APKBUILD @@ -32,15 +32,18 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --localstatedir=/var \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --localstatedir=/var \ --release \ - --enable-dvbcsa \ + --enable-dvbcsa \ --disable-libav \ - || return 1 + || return 1 make || return 1 } diff --git a/main/ucarp/APKBUILD b/main/ucarp/APKBUILD index 8e8da21eec..e7639dd42c 100644 --- a/main/ucarp/APKBUILD +++ b/main/ucarp/APKBUILD @@ -21,11 +21,15 @@ source="http://download.pureftpd.org/pub/ucarp/$pkgname-$pkgver.tar.gz build() { cd "$srcdir/$pkgname-$pkgver" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ - --disable-nls + --disable-nls \ + || return 1 make || return 1 } diff --git a/main/udev/APKBUILD b/main/udev/APKBUILD index 7fce39d00b..390625261c 100644 --- a/main/udev/APKBUILD +++ b/main/udev/APKBUILD @@ -20,7 +20,10 @@ source="http://www.kernel.org/pub/linux/utils/kernel/hotplug/$pkgname-$pkgver.ta build () { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --sbindir=/sbin \ --libdir=/usr/lib \ diff --git a/main/udisks/APKBUILD b/main/udisks/APKBUILD index 62b0165918..ab01329b56 100644 --- a/main/udisks/APKBUILD +++ b/main/udisks/APKBUILD @@ -30,7 +30,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ diff --git a/main/udisks2/APKBUILD b/main/udisks2/APKBUILD index 70c9be167e..c8bf6620d5 100644 --- a/main/udisks2/APKBUILD +++ b/main/udisks2/APKBUILD @@ -31,7 +31,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ diff --git a/main/ulogd/APKBUILD b/main/ulogd/APKBUILD index de590c2fd6..72a5181a8f 100644 --- a/main/ulogd/APKBUILD +++ b/main/ulogd/APKBUILD @@ -21,12 +21,16 @@ _builddir="$srcdir/$pkgname-$pkgver" build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --with-pgsql \ - --with-mysql + --with-mysql \ + || return 1 make || return 1 } diff --git a/main/umix/APKBUILD b/main/umix/APKBUILD index 97062edfbb..ec07cc7e08 100644 --- a/main/umix/APKBUILD +++ b/main/umix/APKBUILD @@ -16,10 +16,14 @@ source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz" build() { cd "$srcdir/$pkgname-$pkgver" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ - --infodir=/usr/share/info + --infodir=/usr/share/info \ + || return 1 make || return 1 } diff --git a/main/unbound/APKBUILD b/main/unbound/APKBUILD index 00639a8bb5..43ac363205 100644 --- a/main/unbound/APKBUILD +++ b/main/unbound/APKBUILD @@ -35,7 +35,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --with-pidfile=/var/run/unbound/unbound.pid \ --with-username=unbound \ diff --git a/main/unfs3/APKBUILD b/main/unfs3/APKBUILD index d39d77347d..41c4e580ad 100644 --- a/main/unfs3/APKBUILD +++ b/main/unfs3/APKBUILD @@ -14,8 +14,12 @@ subpackages="$pkgname-doc" build() { cd "$srcdir/$pkgname-$pkgver" - ./configure --prefix=/usr \ - --mandir=/usr/share/man + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --mandir=/usr/share/man \ + || return 1 make -j1 || return 1 make DESTDIR="$pkgdir/" install } diff --git a/main/unixodbc/APKBUILD b/main/unixodbc/APKBUILD index 81080280ee..0b0ceadda6 100644 --- a/main/unixodbc/APKBUILD +++ b/main/unixodbc/APKBUILD @@ -17,12 +17,16 @@ _builddir="$srcdir/unixODBC-$pkgver" build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --disable-nls \ - --enable-gui=no + --enable-gui=no \ + || return 1 make || return 1 } diff --git a/main/upower/APKBUILD b/main/upower/APKBUILD index 1d0a6eae5a..3e2a7c764c 100644 --- a/main/upower/APKBUILD +++ b/main/upower/APKBUILD @@ -15,11 +15,15 @@ source="http://upower.freedesktop.org/releases/upower-$pkgver.tar.xz" _builddir="$srcdir"/$pkgname-$pkgver build() { cd "$srcdir/$pkgname-$pkgver" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --libexecdir=/usr/lib/upower \ - --disable-static + --disable-static \ + || return 1 make } diff --git a/main/usbredir/APKBUILD b/main/usbredir/APKBUILD index 0e0614fdec..03ff7a142e 100644 --- a/main/usbredir/APKBUILD +++ b/main/usbredir/APKBUILD @@ -26,7 +26,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ diff --git a/main/usbutils/APKBUILD b/main/usbutils/APKBUILD index 2841475b3a..299d7f52b6 100644 --- a/main/usbutils/APKBUILD +++ b/main/usbutils/APKBUILD @@ -15,10 +15,14 @@ _builddir="$srcdir"/$pkgname-$pkgver build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --datadir=/usr/share/hwdata \ --disable-usbids \ - --disable-zlib + --disable-zlib \ + || return 1 make || return 1 } diff --git a/main/util-macros/APKBUILD b/main/util-macros/APKBUILD index f2a1910ef8..5a9f32ebf0 100644 --- a/main/util-macros/APKBUILD +++ b/main/util-macros/APKBUILD @@ -12,7 +12,11 @@ source="http://xorg.freedesktop.org/releases/individual/util/$pkgname-$pkgver.ta build() { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 } diff --git a/main/util-vserver/APKBUILD b/main/util-vserver/APKBUILD index f06ece122a..2f970c7c25 100644 --- a/main/util-vserver/APKBUILD +++ b/main/util-vserver/APKBUILD @@ -33,7 +33,10 @@ prepare() { build() { local i cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --mandir=/usr/share/man \ --sysconfdir=/etc \ --with-initscripts=gentoo \ diff --git a/main/v4l-utils/APKBUILD b/main/v4l-utils/APKBUILD index a1884ff87e..b8fb807c50 100644 --- a/main/v4l-utils/APKBUILD +++ b/main/v4l-utils/APKBUILD @@ -33,13 +33,16 @@ build() { if [ "$ALPINE_LIBC" != "eglibc" ]; then export LDFLAGS="$LDFLAGS -largp -liconv" fi - ./configure --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --localstatedir=/var \ - --disable-static \ - || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --localstatedir=/var \ + --disable-static \ + || return 1 make || return 1 } diff --git a/main/v86d/APKBUILD b/main/v86d/APKBUILD index 2a15f0159b..7e6ae9ede7 100644 --- a/main/v86d/APKBUILD +++ b/main/v86d/APKBUILD @@ -14,7 +14,11 @@ source="http://dev.gentoo.org/~spock/projects/uvesafb/archive/$pkgname-$pkgver.t build () { cd "$srcdir"/v86d-$pkgver - ./configure --with-x86emu + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --with-x86emu \ + || return 1 make || return 1 } diff --git a/main/vala/APKBUILD b/main/vala/APKBUILD index ad341e59bc..693c246455 100644 --- a/main/vala/APKBUILD +++ b/main/vala/APKBUILD @@ -25,8 +25,12 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ - --enable-vapigen || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --enable-vapigen \ + || return 1 make || return 1 } diff --git a/main/valgrind/APKBUILD b/main/valgrind/APKBUILD index a04b508380..beebe55850 100644 --- a/main/valgrind/APKBUILD +++ b/main/valgrind/APKBUILD @@ -36,9 +36,13 @@ build() { # fails to build with ccache export CC="gcc" export CFLAGS="$CFLAGS -fno-stack-protector -fno-pie" - ./configure --prefix=/usr \ - --without-mpicc \ - --mandir=/usr/share/man || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --without-mpicc \ + --mandir=/usr/share/man \ + || return 1 make || return 1 } diff --git a/main/vanessa_adt/APKBUILD b/main/vanessa_adt/APKBUILD index 938e7ff53f..3e84140036 100644 --- a/main/vanessa_adt/APKBUILD +++ b/main/vanessa_adt/APKBUILD @@ -24,10 +24,14 @@ prepare() { build() { export LDFLAGS="$LDFLAGS -lvanessa_logger" cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ - --infodir=/usr/share/info + --infodir=/usr/share/info \ + || return 1 make || return 1 } diff --git a/main/vanessa_logger/APKBUILD b/main/vanessa_logger/APKBUILD index 3fc1f8f4fe..53c6533f6d 100644 --- a/main/vanessa_logger/APKBUILD +++ b/main/vanessa_logger/APKBUILD @@ -23,10 +23,14 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ - --infodir=/usr/share/info + --infodir=/usr/share/info \ + || return 1 make || return 1 } diff --git a/main/vanessa_socket/APKBUILD b/main/vanessa_socket/APKBUILD index a49474c22e..227e8ed644 100644 --- a/main/vanessa_socket/APKBUILD +++ b/main/vanessa_socket/APKBUILD @@ -24,10 +24,14 @@ prepare() { build() { export LDFLAGS="$LDFLAGS -lvanessa_logger" cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ - --infodir=/usr/share/info + --infodir=/usr/share/info \ + || return 1 make || return 1 } diff --git a/main/varnish/APKBUILD b/main/varnish/APKBUILD index 74edee65cf..5af7c5c675 100644 --- a/main/varnish/APKBUILD +++ b/main/varnish/APKBUILD @@ -34,7 +34,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ diff --git a/main/vde2/APKBUILD b/main/vde2/APKBUILD index 76a6794871..a7a23dc33c 100644 --- a/main/vde2/APKBUILD +++ b/main/vde2/APKBUILD @@ -19,7 +19,10 @@ _builddir="$srcdir"/$pkgname-$pkgver build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ || return 1 make -C src/common || return 1 diff --git a/main/videoproto/APKBUILD b/main/videoproto/APKBUILD index 4128949afa..625c9d66d2 100644 --- a/main/videoproto/APKBUILD +++ b/main/videoproto/APKBUILD @@ -12,7 +12,11 @@ source="http://xorg.freedesktop.org//releases/individual/proto/$pkgname-$pkgver. build() { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 } diff --git a/main/vim/APKBUILD b/main/vim/APKBUILD index 9c2523a1f9..04d441b4ea 100644 --- a/main/vim/APKBUILD +++ b/main/vim/APKBUILD @@ -27,12 +27,16 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --enable-luainterp \ --without-x \ --disable-nls \ --enable-multibyte \ - --enable-gui=no + --enable-gui=no \ + || return 1 make || return 1 } diff --git a/main/vlc/APKBUILD b/main/vlc/APKBUILD index 6d20b3ca63..bacdb28a1a 100644 --- a/main/vlc/APKBUILD +++ b/main/vlc/APKBUILD @@ -100,7 +100,10 @@ build () export CFLAGS="$CFLAGS -D_GNU_SOURCE" export CXXFLAGS="$CXXFLAGS -fpermissive" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --disable-mmx \ --disable-nls \ --disable-optimizations \ diff --git a/main/vte/APKBUILD b/main/vte/APKBUILD index d862f0687c..9d41d5110b 100644 --- a/main/vte/APKBUILD +++ b/main/vte/APKBUILD @@ -25,7 +25,10 @@ prepare() { } build() { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --libexecdir=/usr/lib/vte \ --localstatedir=/var \ diff --git a/main/vte3/APKBUILD b/main/vte3/APKBUILD index 4520132a37..c0777d8d09 100644 --- a/main/vte3/APKBUILD +++ b/main/vte3/APKBUILD @@ -26,7 +26,10 @@ prepare() { } build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --libexecdir=/usr/lib/$pkgname \ --localstatedir=/var \ diff --git a/main/wavpack/APKBUILD b/main/wavpack/APKBUILD index def61f19c7..83658b91b1 100644 --- a/main/wavpack/APKBUILD +++ b/main/wavpack/APKBUILD @@ -31,12 +31,16 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --enable-mmx \ - --disable-static + --disable-static \ + || return 1 make || return 1 } diff --git a/main/webkitgtk/APKBUILD b/main/webkitgtk/APKBUILD index 209f6e5c06..c9ca0bea25 100644 --- a/main/webkitgtk/APKBUILD +++ b/main/webkitgtk/APKBUILD @@ -68,7 +68,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ diff --git a/main/wget/APKBUILD b/main/wget/APKBUILD index 072352fd8f..204536e705 100644 --- a/main/wget/APKBUILD +++ b/main/wget/APKBUILD @@ -17,6 +17,8 @@ _builddir="$srcdir"/$pkgname-$pkgver build() { cd "$_builddir" ./configure \ + --build=$CBUILD \ + --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ diff --git a/main/wine/APKBUILD b/main/wine/APKBUILD index 8d5346f1d4..665fcd9cc9 100644 --- a/main/wine/APKBUILD +++ b/main/wine/APKBUILD @@ -35,9 +35,13 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --with-dbus \ - --with-x + --with-x \ + || return 1 make } diff --git a/main/wireshark/APKBUILD b/main/wireshark/APKBUILD index 413fc82eb4..999f9319dc 100644 --- a/main/wireshark/APKBUILD +++ b/main/wireshark/APKBUILD @@ -33,7 +33,10 @@ prepare() { build() { cd "$srcdir"/$pkgname-$pkgver - ./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() { --with-gnutls \ --disable-text2pcap \ --disable-dftest \ - --disable-randpkt + --disable-randpkt \ + || return 1 make } diff --git a/main/wv/APKBUILD b/main/wv/APKBUILD index 16488cc166..8a1c941fec 100644 --- a/main/wv/APKBUILD +++ b/main/wv/APKBUILD @@ -18,8 +18,12 @@ prepare() { build () { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr \ - --mandir=/usr/share/man || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --mandir=/usr/share/man \ + || return 1 make || return 1 } diff --git a/main/wxgtk/APKBUILD b/main/wxgtk/APKBUILD index 9aa4167191..d8d0e97e5f 100644 --- a/main/wxgtk/APKBUILD +++ b/main/wxgtk/APKBUILD @@ -28,7 +28,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --with-sdl \ --enable-unicode \ --enable-no_deps \ diff --git a/main/x264/APKBUILD b/main/x264/APKBUILD index d34eea129c..663404e560 100644 --- a/main/x264/APKBUILD +++ b/main/x264/APKBUILD @@ -17,11 +17,15 @@ build() { if [ "$CARCH" = "x86" ]; then _asmopts="--disable-asm" fi - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --enable-visualize \ --enable-shared \ $_asmopts \ - --enable-pic || return 1 + --enable-pic \ + || return 1 make || return 1 } diff --git a/main/xarchiver/APKBUILD b/main/xarchiver/APKBUILD index b8ea83d27b..2ba0696b9a 100644 --- a/main/xarchiver/APKBUILD +++ b/main/xarchiver/APKBUILD @@ -20,8 +20,12 @@ prepare() { build() { cd "$srcdir/xarchiver-$pkgver" - ./configure --prefix=/usr \ - --libexecdir=/usr/lib/xfce4 || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --libexecdir=/usr/lib/xfce4 \ + || return 1 make || return 1 } diff --git a/main/xauth/APKBUILD b/main/xauth/APKBUILD index f5d8099216..cf3696dd25 100644 --- a/main/xauth/APKBUILD +++ b/main/xauth/APKBUILD @@ -12,7 +12,11 @@ source="http://xorg.freedesktop.org/releases/individual/app/xauth-$pkgver.tar.bz build() { cd "$srcdir"/xauth-$pkgver - ./configure --prefix=/usr || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 } diff --git a/main/xbacklight/APKBUILD b/main/xbacklight/APKBUILD index 657ce84e5b..42aa3d1f31 100644 --- a/main/xbacklight/APKBUILD +++ b/main/xbacklight/APKBUILD @@ -13,7 +13,12 @@ source="http://xorg.freedesktop.org/releases/individual/app/$pkgname-$pkgver.tar build() { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr --mandir=/usr/share/man || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --mandir=/usr/share/man \ + || return 1 make || return 1 } diff --git a/main/xbitmaps/APKBUILD b/main/xbitmaps/APKBUILD index 646f641fde..c2e8f41600 100644 --- a/main/xbitmaps/APKBUILD +++ b/main/xbitmaps/APKBUILD @@ -12,7 +12,11 @@ source="http://xorg.freedesktop.org/releases/individual/data/$pkgname-$pkgver.ta build() { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 } diff --git a/main/xbmc-pvr-addons/APKBUILD b/main/xbmc-pvr-addons/APKBUILD index 63310b4d14..dc20f31002 100644 --- a/main/xbmc-pvr-addons/APKBUILD +++ b/main/xbmc-pvr-addons/APKBUILD @@ -34,7 +34,10 @@ prepare() { build() { cd "$_builddir" ./bootstrap || return 1 - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ diff --git a/main/xbmc/APKBUILD b/main/xbmc/APKBUILD index f42fec0e5b..ac9542cc9f 100644 --- a/main/xbmc/APKBUILD +++ b/main/xbmc/APKBUILD @@ -44,7 +44,10 @@ prepare() { build() { cd "$_builddir" ./bootstrap || return 1 - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ diff --git a/main/xcb-proto/APKBUILD b/main/xcb-proto/APKBUILD index d313a94a3b..7103dc3ac4 100644 --- a/main/xcb-proto/APKBUILD +++ b/main/xcb-proto/APKBUILD @@ -12,7 +12,11 @@ source="http://xcb.freedesktop.org/dist/$pkgname-$pkgver.tar.bz2" build() { cd "$srcdir"/${pkgname}-${pkgver} - ./configure --prefix=/usr || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 } diff --git a/main/xcb-util-image/APKBUILD b/main/xcb-util-image/APKBUILD index 7f18e70921..06f479b8a9 100644 --- a/main/xcb-util-image/APKBUILD +++ b/main/xcb-util-image/APKBUILD @@ -28,7 +28,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ diff --git a/main/xcb-util-keysyms/APKBUILD b/main/xcb-util-keysyms/APKBUILD index 57292c54c5..8b29510250 100644 --- a/main/xcb-util-keysyms/APKBUILD +++ b/main/xcb-util-keysyms/APKBUILD @@ -28,7 +28,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ diff --git a/main/xcb-util-renderutil/APKBUILD b/main/xcb-util-renderutil/APKBUILD index 2e95f1d5d3..d61122a9b8 100644 --- a/main/xcb-util-renderutil/APKBUILD +++ b/main/xcb-util-renderutil/APKBUILD @@ -28,7 +28,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ diff --git a/main/xcb-util-wm/APKBUILD b/main/xcb-util-wm/APKBUILD index cec44432df..a9ab2a8230 100644 --- a/main/xcb-util-wm/APKBUILD +++ b/main/xcb-util-wm/APKBUILD @@ -28,7 +28,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ diff --git a/main/xcb-util/APKBUILD b/main/xcb-util/APKBUILD index 0796e789c3..4b0b2a6d45 100644 --- a/main/xcb-util/APKBUILD +++ b/main/xcb-util/APKBUILD @@ -14,7 +14,12 @@ source="http://xcb.freedesktop.org/dist/$pkgname-$pkgver.tar.bz2" build() { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr --disable-static || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --disable-static \ + || return 1 make || return 1 } diff --git a/main/xchat/APKBUILD b/main/xchat/APKBUILD index 8ba2a091cc..2091d59ea8 100644 --- a/main/xchat/APKBUILD +++ b/main/xchat/APKBUILD @@ -27,7 +27,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --enable-openssl \ --enable-dbus \ @@ -37,7 +40,8 @@ build() { --disable-python \ --enable-ipv6 \ --enable-shm \ - --enable-spell=static || return 1 + --enable-spell=static \ + || return 1 make || return 1 } diff --git a/main/xcmiscproto/APKBUILD b/main/xcmiscproto/APKBUILD index 6f4aa429e4..3f7edb9a5b 100644 --- a/main/xcmiscproto/APKBUILD +++ b/main/xcmiscproto/APKBUILD @@ -12,7 +12,11 @@ source="http://xorg.freedesktop.org//releases/individual/proto/$pkgname-$pkgver. build () { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 } diff --git a/main/xcmsdb/APKBUILD b/main/xcmsdb/APKBUILD index 1a7b9a94c1..526a59111a 100644 --- a/main/xcmsdb/APKBUILD +++ b/main/xcmsdb/APKBUILD @@ -13,7 +13,12 @@ source="http://xorg.freedesktop.org/releases/individual/app/$pkgname-$pkgver.tar build() { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr --mandir=/usr/share/man || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --mandir=/usr/share/man \ + || return 1 make || return 1 } diff --git a/main/xdelta3/APKBUILD b/main/xdelta3/APKBUILD index cadc708966..8fd1df5633 100644 --- a/main/xdelta3/APKBUILD +++ b/main/xdelta3/APKBUILD @@ -12,7 +12,11 @@ source="http://xdelta.googlecode.com/files/$pkgname-$pkgver.tar.gz" build() { cd $srcdir/$pkgname-$pkgver - ./configure --prefix=/usr + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make } diff --git a/main/xdg-utils/APKBUILD b/main/xdg-utils/APKBUILD index b31b5f1213..c94a5a1e45 100644 --- a/main/xdg-utils/APKBUILD +++ b/main/xdg-utils/APKBUILD @@ -28,10 +28,14 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ - --infodir=/usr/share/info + --infodir=/usr/share/info \ + || return 1 make || return 1 } diff --git a/main/xdpyinfo/APKBUILD b/main/xdpyinfo/APKBUILD index aacbf836b1..5e57ff0d96 100644 --- a/main/xdpyinfo/APKBUILD +++ b/main/xdpyinfo/APKBUILD @@ -13,8 +13,12 @@ source="http://xorg.freedesktop.org/releases/individual/app/$pkgname-$pkgver.tar build () { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr \ - --mandir=/usr/share/man || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --mandir=/usr/share/man \ + || return 1 make || return 1 make DESTDIR="$pkgdir" install || return 1 } diff --git a/main/xdriinfo/APKBUILD b/main/xdriinfo/APKBUILD index 07368425ec..a28c0ebae7 100644 --- a/main/xdriinfo/APKBUILD +++ b/main/xdriinfo/APKBUILD @@ -13,8 +13,12 @@ source="http://xorg.freedesktop.org/releases/individual/app/$pkgname-$pkgver.tar build () { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr \ - --mandir=/usr/share/man || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --mandir=/usr/share/man \ + || return 1 make || return 1 make DESTDIR="$pkgdir" install || return 1 } diff --git a/main/xen/APKBUILD b/main/xen/APKBUILD index 8c4abb98dc..7ec7f33e90 100644 --- a/main/xen/APKBUILD +++ b/main/xen/APKBUILD @@ -76,7 +76,10 @@ build() { cd "$_builddir" msg "Running configure..." - ./configure || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + || return 1 # Unset CFLAGS and LDFLAGS because the xen build system # doesn't support them. Instead use .config in xen root diff --git a/main/xev/APKBUILD b/main/xev/APKBUILD index b2c40357e7..2123a720b3 100644 --- a/main/xev/APKBUILD +++ b/main/xev/APKBUILD @@ -13,8 +13,12 @@ source="http://xorg.freedesktop.org/releases/individual/app/$pkgname-$pkgver.tar build () { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr \ - --mandir=/usr/share/man || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --mandir=/usr/share/man \ + || return 1 make || return 1 make DESTDIR="$pkgdir" install || return 1 } diff --git a/main/xextproto/APKBUILD b/main/xextproto/APKBUILD index daf511942d..5e720959ec 100644 --- a/main/xextproto/APKBUILD +++ b/main/xextproto/APKBUILD @@ -12,7 +12,11 @@ source="http://xorg.freedesktop.org/releases/individual/proto/$pkgname-$pkgver.t build() { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 } diff --git a/main/xf86-input-evdev/APKBUILD b/main/xf86-input-evdev/APKBUILD index e73ba221d6..691b99076d 100644 --- a/main/xf86-input-evdev/APKBUILD +++ b/main/xf86-input-evdev/APKBUILD @@ -16,7 +16,10 @@ build() { cd "$srcdir"/$pkgname-$pkgver export LDFLAGS="$LDFLAGS -Wl,-z,lazy" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ || return 1 make } diff --git a/main/xf86-input-keyboard/APKBUILD b/main/xf86-input-keyboard/APKBUILD index b5bba71b1c..4024896c9b 100644 --- a/main/xf86-input-keyboard/APKBUILD +++ b/main/xf86-input-keyboard/APKBUILD @@ -14,7 +14,11 @@ source="http://xorg.freedesktop.org/releases/individual/driver/$pkgname-$pkgver. build() { cd "$srcdir"/$pkgname-$pkgver export LDFLAGS="$LDFLAGS -Wl,-z,lazy" - ./configure --prefix=/usr || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 } diff --git a/main/xf86-input-mouse/APKBUILD b/main/xf86-input-mouse/APKBUILD index 32278431e3..31027bda44 100644 --- a/main/xf86-input-mouse/APKBUILD +++ b/main/xf86-input-mouse/APKBUILD @@ -14,7 +14,11 @@ source="http://xorg.freedesktop.org/releases/individual/driver/$pkgname-$pkgver. build() { cd "$srcdir"/$pkgname-$pkgver export LDFLAGS="$LDFLAGS -Wl,-z,lazy" - ./configure --prefix=/usr || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 } diff --git a/main/xf86-input-synaptics/APKBUILD b/main/xf86-input-synaptics/APKBUILD index 1ca6747198..9ec72b0275 100644 --- a/main/xf86-input-synaptics/APKBUILD +++ b/main/xf86-input-synaptics/APKBUILD @@ -15,7 +15,11 @@ source="http://xorg.freedesktop.org/releases/individual/driver/$pkgname-$pkgver. build() { cd "$srcdir"/$pkgname-$pkgver export LDFLAGS="$LDFLAGS -Wl,-z,lazy" - ./configure --prefix=/usr || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 } diff --git a/main/xf86-input-vmmouse/APKBUILD b/main/xf86-input-vmmouse/APKBUILD index aaf6ae595f..7139b8d0c4 100644 --- a/main/xf86-input-vmmouse/APKBUILD +++ b/main/xf86-input-vmmouse/APKBUILD @@ -14,7 +14,11 @@ source="http://xorg.freedesktop.org/releases/individual/driver/$pkgname-$pkgver. build() { cd "$srcdir"/$pkgname-$pkgver export LDFLAGS="$LDFLAGS -Wl,-z,lazy" - ./configure --prefix=/usr || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 } diff --git a/main/xf86-video-apm/APKBUILD b/main/xf86-video-apm/APKBUILD index b62539ddae..9621f1e4a2 100644 --- a/main/xf86-video-apm/APKBUILD +++ b/main/xf86-video-apm/APKBUILD @@ -28,7 +28,11 @@ build() { cd "$srcdir"/$pkgname-$pkgver export LDFLAGS="$LDFLAGS -Wl,-z,lazy" - ./configure --prefix=/usr || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 } diff --git a/main/xf86-video-ark/APKBUILD b/main/xf86-video-ark/APKBUILD index 32e0cd093f..1ba1d8ee35 100644 --- a/main/xf86-video-ark/APKBUILD +++ b/main/xf86-video-ark/APKBUILD @@ -26,7 +26,11 @@ prepare() { build() { cd "$_builddir" export LDFLAGS="$LDFLAGS -Wl,-z,lazy" - ./configure --prefix=/usr || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 } diff --git a/main/xf86-video-ast/APKBUILD b/main/xf86-video-ast/APKBUILD index d770103958..57d1a7ac7f 100644 --- a/main/xf86-video-ast/APKBUILD +++ b/main/xf86-video-ast/APKBUILD @@ -26,7 +26,11 @@ prepare() { build() { cd "$_builddir" export LDFLAGS="$LDFLAGS -Wl,-z,lazy" - ./configure --prefix=/usr || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 } diff --git a/main/xf86-video-ati/APKBUILD b/main/xf86-video-ati/APKBUILD index 2244e59dd1..89a4c8551e 100644 --- a/main/xf86-video-ati/APKBUILD +++ b/main/xf86-video-ati/APKBUILD @@ -34,7 +34,10 @@ build() { cd "$srcdir"/$pkgname-$pkgver export LDFLAGS="$LDFLAGS -Wl,-z,lazy" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --enable-dri \ --enable-kms \ || return 1 diff --git a/main/xf86-video-chips/APKBUILD b/main/xf86-video-chips/APKBUILD index 9b739621a9..d06527a25b 100644 --- a/main/xf86-video-chips/APKBUILD +++ b/main/xf86-video-chips/APKBUILD @@ -27,7 +27,11 @@ prepare() { build() { cd "$srcdir"/$pkgname-$pkgver export LDFLAGS="$LDFLAGS -Wl,-z,lazy" - ./configure --prefix=/usr || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 } diff --git a/main/xf86-video-cirrus/APKBUILD b/main/xf86-video-cirrus/APKBUILD index eb9f038135..160a38318a 100644 --- a/main/xf86-video-cirrus/APKBUILD +++ b/main/xf86-video-cirrus/APKBUILD @@ -25,7 +25,11 @@ prepare() { build() { cd "$srcdir"/$pkgname-$pkgver export LDFLAGS="$LDFLAGS -Wl,-z,lazy" - ./configure --prefix=/usr || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 } diff --git a/main/xf86-video-dummy/APKBUILD b/main/xf86-video-dummy/APKBUILD index 7d08b9602b..e891d074f0 100644 --- a/main/xf86-video-dummy/APKBUILD +++ b/main/xf86-video-dummy/APKBUILD @@ -26,7 +26,11 @@ prepare() { build() { cd "$_builddir" export LDFLAGS="$LDFLAGS -Wl,-z,lazy" - ./configure --prefix=/usr || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 } diff --git a/main/xf86-video-fbdev/APKBUILD b/main/xf86-video-fbdev/APKBUILD index b20df67bed..54c13c8642 100644 --- a/main/xf86-video-fbdev/APKBUILD +++ b/main/xf86-video-fbdev/APKBUILD @@ -27,7 +27,11 @@ prepare() { build() { cd "$_builddir" export LDFLAGS="$LDFLAGS -Wl,-z,lazy" - ./configure --prefix=/usr || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 } diff --git a/main/xf86-video-geode/APKBUILD b/main/xf86-video-geode/APKBUILD index 1243689be1..9bd45d9958 100644 --- a/main/xf86-video-geode/APKBUILD +++ b/main/xf86-video-geode/APKBUILD @@ -26,7 +26,11 @@ prepare() { build() { cd "$srcdir"/$pkgname-$pkgver export LDFLAGS="$LDFLAGS -Wl,-z,lazy" - ./configure --prefix=/usr || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 } diff --git a/main/xf86-video-glint/APKBUILD b/main/xf86-video-glint/APKBUILD index 079bd2c7c9..94d3f4e21d 100644 --- a/main/xf86-video-glint/APKBUILD +++ b/main/xf86-video-glint/APKBUILD @@ -28,7 +28,11 @@ prepare() { build() { cd "$_builddir" export LDFLAGS="$LDFLAGS -Wl,-z,lazy" - ./configure --prefix=/usr || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 } diff --git a/main/xf86-video-i128/APKBUILD b/main/xf86-video-i128/APKBUILD index 263a0a49ef..f2f3ef5a18 100644 --- a/main/xf86-video-i128/APKBUILD +++ b/main/xf86-video-i128/APKBUILD @@ -27,7 +27,11 @@ prepare() { build() { cd "$_builddir" export LDFLAGS="$LDFLAGS -Wl,-z,lazy" - ./configure --prefix=/usr || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 } diff --git a/main/xf86-video-i740/APKBUILD b/main/xf86-video-i740/APKBUILD index bfa9958a32..80a71a782e 100644 --- a/main/xf86-video-i740/APKBUILD +++ b/main/xf86-video-i740/APKBUILD @@ -27,7 +27,11 @@ prepare() { build() { cd "$_builddir" export LDFLAGS="$LDFLAGS -Wl,-z,lazy" - ./configure --prefix=/usr || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 } diff --git a/main/xf86-video-intel/APKBUILD b/main/xf86-video-intel/APKBUILD index dcfc73ca26..eaf5412e3c 100644 --- a/main/xf86-video-intel/APKBUILD +++ b/main/xf86-video-intel/APKBUILD @@ -28,7 +28,10 @@ prepare() { build() { cd "$srcdir"/$pkgname-$pkgver export LDFLAGS="$LDFLAGS -Wl,-z,lazy" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --enable-xvmc \ --disable-selective-werror \ || return 1 diff --git a/main/xf86-video-mach64/APKBUILD b/main/xf86-video-mach64/APKBUILD index a8e0ea2755..1ba510150a 100644 --- a/main/xf86-video-mach64/APKBUILD +++ b/main/xf86-video-mach64/APKBUILD @@ -18,7 +18,11 @@ source="http://xorg.freedesktop.org/releases/individual/driver/$pkgname-$pkgver. build() { cd "$srcdir"/$pkgname-$pkgver export LDFLAGS="$LDFLAGS -Wl,-z,lazy" - ./configure --prefix=/usr || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 } diff --git a/main/xf86-video-nouveau/APKBUILD b/main/xf86-video-nouveau/APKBUILD index 6317109596..d2db8b3cda 100644 --- a/main/xf86-video-nouveau/APKBUILD +++ b/main/xf86-video-nouveau/APKBUILD @@ -29,7 +29,11 @@ mksource() { build() { cd "$_builddir" export LDFLAGS="$LDFLAGS -Wl,-z,lazy" - ./configure --prefix=/usr || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 } diff --git a/main/xf86-video-nv/APKBUILD b/main/xf86-video-nv/APKBUILD index 9c09007816..ea6c985c3a 100644 --- a/main/xf86-video-nv/APKBUILD +++ b/main/xf86-video-nv/APKBUILD @@ -27,7 +27,11 @@ prepare() { build() { cd "$_builddir" export LDFLAGS="$LDFLAGS -Wl,-z,lazy" - ./configure --prefix=/usr || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make } diff --git a/main/xf86-video-openchrome/APKBUILD b/main/xf86-video-openchrome/APKBUILD index a9e66766ce..741f69d31a 100644 --- a/main/xf86-video-openchrome/APKBUILD +++ b/main/xf86-video-openchrome/APKBUILD @@ -29,7 +29,11 @@ prepare() { build() { cd "$_builddir" export LDFLAGS="$LDFLAGS -Wl,-z,lazy" - ./configure --prefix=/usr || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 } diff --git a/main/xf86-video-qxl/APKBUILD b/main/xf86-video-qxl/APKBUILD index 80f92f48b5..884bc0a648 100644 --- a/main/xf86-video-qxl/APKBUILD +++ b/main/xf86-video-qxl/APKBUILD @@ -29,7 +29,10 @@ prepare() { build() { cd "$_builddir" export LDFLAGS="$LDFLAGS -Wl,-z,lazy" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ diff --git a/main/xf86-video-r128/APKBUILD b/main/xf86-video-r128/APKBUILD index aedd198e4c..79d2b50cef 100644 --- a/main/xf86-video-r128/APKBUILD +++ b/main/xf86-video-r128/APKBUILD @@ -18,7 +18,10 @@ source="http://xorg.freedesktop.org/releases/individual/driver/$pkgname-$pkgver. build() { cd "$srcdir"/$pkgname-$pkgver export LDFLAGS="$LDFLAGS -Wl,-z,lazy" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --enable-dri \ || return 1 make || return 1 diff --git a/main/xf86-video-rendition/APKBUILD b/main/xf86-video-rendition/APKBUILD index e2d02188a5..d89eda86c1 100644 --- a/main/xf86-video-rendition/APKBUILD +++ b/main/xf86-video-rendition/APKBUILD @@ -26,7 +26,11 @@ prepare() { build() { cd "$srcdir"/$pkgname-$pkgver export LDFLAGS="$LDFLAGS -Wl,-z,lazy" - ./configure --prefix=/usr || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make } diff --git a/main/xf86-video-s3/APKBUILD b/main/xf86-video-s3/APKBUILD index 162c8b529a..b62e607875 100644 --- a/main/xf86-video-s3/APKBUILD +++ b/main/xf86-video-s3/APKBUILD @@ -27,7 +27,11 @@ prepare() { build() { cd "$_builddir" export LDFLAGS="$LDFLAGS -Wl,-z,lazy" - ./configure --prefix=/usr || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 } diff --git a/main/xf86-video-s3virge/APKBUILD b/main/xf86-video-s3virge/APKBUILD index d4cb83a8f8..1dfd799aa3 100644 --- a/main/xf86-video-s3virge/APKBUILD +++ b/main/xf86-video-s3virge/APKBUILD @@ -24,7 +24,11 @@ prepare() { build() { cd "$srcdir"/$pkgname-$pkgver export LDFLAGS="$LDFLAGS -Wl,-z,lazy" - ./configure --prefix=/usr || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 } diff --git a/main/xf86-video-savage/APKBUILD b/main/xf86-video-savage/APKBUILD index a6cc5b86e7..09c785f951 100644 --- a/main/xf86-video-savage/APKBUILD +++ b/main/xf86-video-savage/APKBUILD @@ -17,7 +17,11 @@ source="http://xorg.freedesktop.org/releases/individual/driver/$pkgname-$pkgver. build() { cd "$srcdir"/$pkgname-$pkgver export LDFLAGS="$LDFLAGS -Wl,-z,lazy" - ./configure --prefix=/usr || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 } diff --git a/main/xf86-video-siliconmotion/APKBUILD b/main/xf86-video-siliconmotion/APKBUILD index d1c3ad2ce4..2b5ffc2f38 100644 --- a/main/xf86-video-siliconmotion/APKBUILD +++ b/main/xf86-video-siliconmotion/APKBUILD @@ -16,7 +16,11 @@ source="http://xorg.freedesktop.org/releases/individual/driver/$pkgname-$pkgver. build() { cd "$srcdir"/$pkgname-$pkgver export LDFLAGS="$LDFLAGS -Wl,-z,lazy" - ./configure --prefix=/usr || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 } diff --git a/main/xf86-video-sis/APKBUILD b/main/xf86-video-sis/APKBUILD index 18ba6e91ca..386844c56c 100644 --- a/main/xf86-video-sis/APKBUILD +++ b/main/xf86-video-sis/APKBUILD @@ -29,7 +29,11 @@ build() { cd "$_builddir" export LDFLAGS="$LDFLAGS -Wl,-z,lazy" - ./configure --prefix=/usr || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 } diff --git a/main/xf86-video-sunleo/APKBUILD b/main/xf86-video-sunleo/APKBUILD index 04307e20b0..a6dd6e9426 100644 --- a/main/xf86-video-sunleo/APKBUILD +++ b/main/xf86-video-sunleo/APKBUILD @@ -16,7 +16,11 @@ source="http://xorg.freedesktop.org/releases/individual/driver/$pkgname-$pkgver. build() { cd "$srcdir"/$pkgname-$pkgver export LDFLAGS="$LDFLAGS -Wl,-z,lazy" - ./configure --prefix=/usr || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 } diff --git a/main/xf86-video-tdfx/APKBUILD b/main/xf86-video-tdfx/APKBUILD index 8a72dd7680..4564e730c4 100644 --- a/main/xf86-video-tdfx/APKBUILD +++ b/main/xf86-video-tdfx/APKBUILD @@ -29,7 +29,11 @@ prepare() { build() { cd "$_builddir" export LDFLAGS="$LDFLAGS -Wl,-z,lazy" - ./configure --prefix=/usr || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 } diff --git a/main/xf86-video-v4l/APKBUILD b/main/xf86-video-v4l/APKBUILD index 90eddc922c..b6d392fa90 100644 --- a/main/xf86-video-v4l/APKBUILD +++ b/main/xf86-video-v4l/APKBUILD @@ -16,7 +16,11 @@ source="http://xorg.freedesktop.org/releases/individual/driver/$pkgname-$pkgver. build() { cd "$srcdir"/$pkgname-$pkgver export LDFLAGS="$LDFLAGS -Wl,-z,lazy" - ./configure --prefix=/usr || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 } diff --git a/main/xf86-video-vesa/APKBUILD b/main/xf86-video-vesa/APKBUILD index aac853ca6b..63662e8bbe 100644 --- a/main/xf86-video-vesa/APKBUILD +++ b/main/xf86-video-vesa/APKBUILD @@ -28,7 +28,11 @@ prepare() { build() { cd "$_builddir" export LDFLAGS="$LDFLAGS -Wl,-z,lazy" - ./configure --prefix=/usr || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 } diff --git a/main/xf86-video-vmware/APKBUILD b/main/xf86-video-vmware/APKBUILD index 8c827c6e3d..fd37ea5e8d 100644 --- a/main/xf86-video-vmware/APKBUILD +++ b/main/xf86-video-vmware/APKBUILD @@ -26,7 +26,11 @@ build() { cd "$srcdir"/$pkgname-$pkgver export LDFLAGS="$LDFLAGS -Wl,-z,lazy" - ./configure --prefix=/usr || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 } diff --git a/main/xf86-video-xgixp/APKBUILD b/main/xf86-video-xgixp/APKBUILD index c835545b41..c21c2cdd60 100644 --- a/main/xf86-video-xgixp/APKBUILD +++ b/main/xf86-video-xgixp/APKBUILD @@ -26,7 +26,11 @@ build() { cd "$_builddir" export LDFLAGS="$LDFLAGS -Wl,-z,lazy" - ./configure --prefix=/usr || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 } diff --git a/main/xf86bigfontproto/APKBUILD b/main/xf86bigfontproto/APKBUILD index ba577c9f8a..a9a2808d6d 100644 --- a/main/xf86bigfontproto/APKBUILD +++ b/main/xf86bigfontproto/APKBUILD @@ -12,7 +12,11 @@ source="http://xorg.freedesktop.org/releases/individual/proto/$pkgname-$pkgver.t build() { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 make DESTDIR="$pkgdir" install || return 1 } diff --git a/main/xf86dgaproto/APKBUILD b/main/xf86dgaproto/APKBUILD index e29903cf14..927b216e2f 100644 --- a/main/xf86dgaproto/APKBUILD +++ b/main/xf86dgaproto/APKBUILD @@ -13,7 +13,11 @@ source="http://xorg.freedesktop.org/releases/individual/proto/$pkgname-$pkgver.t build () { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 make DESTDIR="$pkgdir" install || return 1 } diff --git a/main/xf86driproto/APKBUILD b/main/xf86driproto/APKBUILD index c3f726edbf..797052d939 100644 --- a/main/xf86driproto/APKBUILD +++ b/main/xf86driproto/APKBUILD @@ -12,7 +12,11 @@ source="http://xorg.freedesktop.org//releases/individual/proto/$pkgname-$pkgver. build() { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 } diff --git a/main/xf86miscproto/APKBUILD b/main/xf86miscproto/APKBUILD index c1fc9bfab3..77b83bcffc 100644 --- a/main/xf86miscproto/APKBUILD +++ b/main/xf86miscproto/APKBUILD @@ -13,7 +13,11 @@ source="http://xorg.freedesktop.org//releases/individual/proto/$pkgname-$pkgver. build () { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 make DESTDIR="$pkgdir" install || return 1 } diff --git a/main/xf86vidmodeproto/APKBUILD b/main/xf86vidmodeproto/APKBUILD index 60c6d207ff..9041b65499 100644 --- a/main/xf86vidmodeproto/APKBUILD +++ b/main/xf86vidmodeproto/APKBUILD @@ -12,7 +12,11 @@ source="http://xorg.freedesktop.org//releases/individual/proto/$pkgname-$pkgver. build() { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 } diff --git a/main/xfburn/APKBUILD b/main/xfburn/APKBUILD index a729e0e65f..e991f7ceaf 100644 --- a/main/xfburn/APKBUILD +++ b/main/xfburn/APKBUILD @@ -31,10 +31,14 @@ prepare() { build () { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --enable-gstreamer \ --enable-thunar-vfs \ - --enable-dbus + --enable-dbus \ + || return 1 make || return 1 } diff --git a/main/xfce-utils/APKBUILD b/main/xfce-utils/APKBUILD index 2db04237ed..b58a54f35e 100644 --- a/main/xfce-utils/APKBUILD +++ b/main/xfce-utils/APKBUILD @@ -14,7 +14,10 @@ source="http://archive.xfce.org/src/xfce/$pkgname/${pkgver%.*}/$pkgname-$pkgver. build () { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --libexecdir=/usr/lib \ --localstatedir=/var \ diff --git a/main/xfce4-appfinder/APKBUILD b/main/xfce4-appfinder/APKBUILD index 41bff73cec..4a36dcb29f 100644 --- a/main/xfce4-appfinder/APKBUILD +++ b/main/xfce4-appfinder/APKBUILD @@ -15,11 +15,15 @@ source="http://archive.xfce.org/src/xfce/$pkgname/${pkgver%.*}/$pkgname-$pkgver. build () { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --libexecdir=/usr/lib \ --localstatedir=/var \ - --disable-static || return 1 + --disable-static \ + || return 1 make || return 1 } diff --git a/main/xfce4-battery-plugin/APKBUILD b/main/xfce4-battery-plugin/APKBUILD index 7a4e495a40..733d13214f 100644 --- a/main/xfce4-battery-plugin/APKBUILD +++ b/main/xfce4-battery-plugin/APKBUILD @@ -23,11 +23,15 @@ prepare() { build() { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --libexecdir=/usr/lib \ --localstatedir=/var \ - --disable-static + --disable-static \ + || return 1 make || return 1 } diff --git a/main/xfce4-clipman-plugin/APKBUILD b/main/xfce4-clipman-plugin/APKBUILD index 5a44ff0a61..0f7608c09d 100644 --- a/main/xfce4-clipman-plugin/APKBUILD +++ b/main/xfce4-clipman-plugin/APKBUILD @@ -25,7 +25,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --disable-static \ --enable-unique \ || return 1 diff --git a/main/xfce4-cpufreq-plugin/APKBUILD b/main/xfce4-cpufreq-plugin/APKBUILD index 6d8aa81404..13ec1b3e45 100644 --- a/main/xfce4-cpufreq-plugin/APKBUILD +++ b/main/xfce4-cpufreq-plugin/APKBUILD @@ -16,11 +16,15 @@ _builddir="$srcdir"/$pkgname-$pkgver build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --libexecdir=/usr/lib/xfce4 \ --localstatedir=/var \ - --disable-static + --disable-static \ + || return 1 make || return 1 } diff --git a/main/xfce4-cpugraph-plugin/APKBUILD b/main/xfce4-cpugraph-plugin/APKBUILD index 77acb58515..cc8b6e25a4 100644 --- a/main/xfce4-cpugraph-plugin/APKBUILD +++ b/main/xfce4-cpugraph-plugin/APKBUILD @@ -26,7 +26,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ diff --git a/main/xfce4-dev-tools/APKBUILD b/main/xfce4-dev-tools/APKBUILD index e6d3ffcf8a..f567894fae 100644 --- a/main/xfce4-dev-tools/APKBUILD +++ b/main/xfce4-dev-tools/APKBUILD @@ -12,11 +12,15 @@ source="http://archive.xfce.org/src/xfce/xfce4-dev-tools/${pkgver%.*}/xfce4-dev- build() { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --libexecdir=/usr/lib \ --localstatedir=/var \ - --disable-static + --disable-static \ + || return 1 make || return 1 } diff --git a/main/xfce4-mixer/APKBUILD b/main/xfce4-mixer/APKBUILD index ebdcdf5d11..6946da1e0b 100644 --- a/main/xfce4-mixer/APKBUILD +++ b/main/xfce4-mixer/APKBUILD @@ -16,12 +16,16 @@ source="http://archive.xfce.org/src/apps/xfce4-mixer/${pkgver%.*}/xfce4-mixer-$p build() { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --libexecdir=/usr/lib \ --localstatedir=/var \ --disable-static \ - --with-sound=alsa || return 1 + --with-sound=alsa \ + || return 1 make || return 1 } diff --git a/main/xfce4-notes-plugin/APKBUILD b/main/xfce4-notes-plugin/APKBUILD index 94af6b0e9a..98791512b7 100644 --- a/main/xfce4-notes-plugin/APKBUILD +++ b/main/xfce4-notes-plugin/APKBUILD @@ -22,10 +22,14 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ - --infodir=/usr/share/info + --infodir=/usr/share/info \ + || return 1 make || return 1 } diff --git a/main/xfce4-notifyd/APKBUILD b/main/xfce4-notifyd/APKBUILD index 6c92495ea3..f3576ae316 100644 --- a/main/xfce4-notifyd/APKBUILD +++ b/main/xfce4-notifyd/APKBUILD @@ -16,11 +16,15 @@ source="http://archive.xfce.org/src/apps/xfce4-notifyd/${pkgver%.*}/xfce4-notify _builddir="$srcdir"/$pkgname-$pkgver build () { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --libexecdir=/usr/lib/xfce4 \ --localstatedir=/var \ - --disable-static + --disable-static \ + || return 1 make || return 1 } diff --git a/main/xfce4-panel/APKBUILD b/main/xfce4-panel/APKBUILD index 38bb98bde6..753fd1e77c 100644 --- a/main/xfce4-panel/APKBUILD +++ b/main/xfce4-panel/APKBUILD @@ -26,11 +26,15 @@ prepare() { } build() { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --libexecdir=/usr/lib \ --localstatedir=/var \ - --disable-static + --disable-static \ + || return 1 make } diff --git a/main/xfce4-power-manager/APKBUILD b/main/xfce4-power-manager/APKBUILD index 31dd472f59..2ec1b9595e 100644 --- a/main/xfce4-power-manager/APKBUILD +++ b/main/xfce4-power-manager/APKBUILD @@ -28,7 +28,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ diff --git a/main/xfce4-screenshooter/APKBUILD b/main/xfce4-screenshooter/APKBUILD index fd6a9af5b9..e18a6531b6 100644 --- a/main/xfce4-screenshooter/APKBUILD +++ b/main/xfce4-screenshooter/APKBUILD @@ -26,11 +26,15 @@ prepare() { build () { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --libexecdir=/usr/lib \ --localstatedir=/var \ - --disable-static + --disable-static \ + || return 1 make || return 1 } diff --git a/main/xfce4-session/APKBUILD b/main/xfce4-session/APKBUILD index dcd0f3239e..d54518d4ee 100644 --- a/main/xfce4-session/APKBUILD +++ b/main/xfce4-session/APKBUILD @@ -28,7 +28,10 @@ prepare() { build() { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --libexecdir=/usr/lib/xfce4 \ --localstatedir=/var \ diff --git a/main/xfce4-settings/APKBUILD b/main/xfce4-settings/APKBUILD index 8881b41ebf..de50cd6991 100644 --- a/main/xfce4-settings/APKBUILD +++ b/main/xfce4-settings/APKBUILD @@ -30,13 +30,17 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --disable-static \ --enable-libxklavier \ --enable-xrandr \ - --enable-sound-settings + --enable-sound-settings \ + || return 1 make || return 1 } diff --git a/main/xfce4-taskmanager/APKBUILD b/main/xfce4-taskmanager/APKBUILD index 8fd8454845..0e5143c15e 100644 --- a/main/xfce4-taskmanager/APKBUILD +++ b/main/xfce4-taskmanager/APKBUILD @@ -13,11 +13,15 @@ source="http://archive.xfce.org/src/apps/${pkgname}/1.0/${pkgname}-${pkgver}.tar build () { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --libexecdir=/usr/lib/xfce4 \ --localstatedir=/var \ - --disable-static + --disable-static \ + || return 1 make || return 1 } diff --git a/main/xfce4-terminal/APKBUILD b/main/xfce4-terminal/APKBUILD index 55897e7fb9..bfa04ae45b 100644 --- a/main/xfce4-terminal/APKBUILD +++ b/main/xfce4-terminal/APKBUILD @@ -16,7 +16,10 @@ source="http://archive.xfce.org/src/apps/${pkgname}/${pkgver%.*}/xfce4-terminal- _builddir="$srcdir"/xfce4-terminal-$pkgver build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --libexecdir=/usr/lib/xfce4 \ --localstatedir=/var \ diff --git a/main/xfce4-vala/APKBUILD b/main/xfce4-vala/APKBUILD index b986011b78..0f39749ee8 100644 --- a/main/xfce4-vala/APKBUILD +++ b/main/xfce4-vala/APKBUILD @@ -30,10 +30,14 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ - --infodir=/usr/share/info + --infodir=/usr/share/info \ + || return 1 make || return 1 } diff --git a/main/xfce4-wavelan-plugin/APKBUILD b/main/xfce4-wavelan-plugin/APKBUILD index f3542b549c..e270b0885a 100644 --- a/main/xfce4-wavelan-plugin/APKBUILD +++ b/main/xfce4-wavelan-plugin/APKBUILD @@ -26,11 +26,14 @@ prepare() { build() { cd "$_builddir" ./configure \ + --build=$CBUILD \ + --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --libexecdir=/usr/lib \ --localstatedir=/var \ - --disable-static + --disable-static \ + || return 1 make || return 1 } diff --git a/main/xfce4-xkb-plugin/APKBUILD b/main/xfce4-xkb-plugin/APKBUILD index 25a74cbf0a..cfcea8833a 100644 --- a/main/xfce4-xkb-plugin/APKBUILD +++ b/main/xfce4-xkb-plugin/APKBUILD @@ -22,11 +22,15 @@ prepare() { build () { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --libexecdir=/usr/lib \ --localstatedir=/var \ - --disable-static + --disable-static \ + || return 1 make || return 1 } diff --git a/main/xfconf/APKBUILD b/main/xfconf/APKBUILD index 93fe535f66..62a76ad047 100644 --- a/main/xfconf/APKBUILD +++ b/main/xfconf/APKBUILD @@ -17,11 +17,15 @@ depends_dev="glib-dev dbus-dev dbus-glib-dev" _builddir="$srcdir"/$pkgname-$pkgver build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --libexecdir=/usr/lib \ --localstatedir=/var \ - --disable-static + --disable-static \ + || return 1 make || return 1 } diff --git a/main/xfdesktop/APKBUILD b/main/xfdesktop/APKBUILD index d11f07d8dd..0d59d6ffd6 100644 --- a/main/xfdesktop/APKBUILD +++ b/main/xfdesktop/APKBUILD @@ -26,11 +26,15 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --libexecdir=/usr/lib \ --localstatedir=/var \ - --disable-static || return 1 + --disable-static \ + || return 1 make || return 1 } diff --git a/main/xfsprogs/APKBUILD b/main/xfsprogs/APKBUILD index 05c711dc6e..81d3a58658 100644 --- a/main/xfsprogs/APKBUILD +++ b/main/xfsprogs/APKBUILD @@ -25,11 +25,15 @@ build() { export OPTIMIZER="$CFLAGS" ac_cv_header_aio_h=yes ac_cv_lib_rt_lio_listio=yes \ - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sbindir=/sbin \ --libexecdir=/usr/lib \ --enable-lib64=no \ - --enable-gettext=no + --enable-gettext=no \ + || return 1 make SHELL=/bin/bash || return 1 } diff --git a/main/xfwm4-themes/APKBUILD b/main/xfwm4-themes/APKBUILD index d9eb9fafb3..093258a25d 100644 --- a/main/xfwm4-themes/APKBUILD +++ b/main/xfwm4-themes/APKBUILD @@ -13,11 +13,15 @@ source="http://archive.xfce.org/src/art/xfwm4-themes/${pkgver%.*}/xfwm4-themes-$ build() { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --libexecdir=/usr/lib \ --localstatedir=/var \ - --disable-static + --disable-static \ + || return 1 make || return 1 } diff --git a/main/xfwm4/APKBUILD b/main/xfwm4/APKBUILD index 6fc8249a43..c82d94dd8c 100644 --- a/main/xfwm4/APKBUILD +++ b/main/xfwm4/APKBUILD @@ -15,13 +15,17 @@ source="http://archive.xfce.org/src/xfce/xfwm4/${pkgver%.*}/xfwm4-$pkgver.tar.bz build () { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --libexecdir=/usr/lib \ --localstatedir=/var \ --disable-static \ --enable-compositor \ - --enable-xsync || return 1 + --enable-xsync \ + || return 1 make || return 1 } diff --git a/main/xgamma/APKBUILD b/main/xgamma/APKBUILD index 731befccb2..758f174a20 100644 --- a/main/xgamma/APKBUILD +++ b/main/xgamma/APKBUILD @@ -13,7 +13,12 @@ source="http://xorg.freedesktop.org/releases/individual/app/$pkgname-$pkgver.tar build() { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr --mandir=/usr/share/man || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --mandir=/usr/share/man \ + || return 1 make || return 1 } diff --git a/main/xhost/APKBUILD b/main/xhost/APKBUILD index f3635c1ee4..e00fdd1144 100644 --- a/main/xhost/APKBUILD +++ b/main/xhost/APKBUILD @@ -13,7 +13,12 @@ source="http://xorg.freedesktop.org/releases/individual/app/$pkgname-$pkgver.tar build () { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr --mandir=/usr/share/man || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --mandir=/usr/share/man \ + || return 1 make || return 1 } diff --git a/main/xineramaproto/APKBUILD b/main/xineramaproto/APKBUILD index 1c1910c362..d7574b6a88 100644 --- a/main/xineramaproto/APKBUILD +++ b/main/xineramaproto/APKBUILD @@ -12,7 +12,11 @@ source="http://xorg.freedesktop.org//releases/individual/proto/$pkgname-$pkgver. build() { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 } diff --git a/main/xinit/APKBUILD b/main/xinit/APKBUILD index 8b809843fc..3a6923d964 100644 --- a/main/xinit/APKBUILD +++ b/main/xinit/APKBUILD @@ -26,7 +26,10 @@ prepare() { build() { cd "$srcdir"/xinit-$pkgver - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --with-xinitdir=/etc/X11/xinit \ || return 1 make || return 1 diff --git a/main/xkbcomp/APKBUILD b/main/xkbcomp/APKBUILD index da3bc4853a..3629142a2d 100644 --- a/main/xkbcomp/APKBUILD +++ b/main/xkbcomp/APKBUILD @@ -14,10 +14,14 @@ source="http://xorg.freedesktop.org/releases/individual/app/$pkgname-$pkgver.tar build() { cd "$srcdir/$pkgname-$pkgver" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ - --infodir=/usr/share/info + --infodir=/usr/share/info \ + || return 1 make || return 1 } diff --git a/main/xkeyboard-config/APKBUILD b/main/xkeyboard-config/APKBUILD index df6462d3e5..84a51293ef 100644 --- a/main/xkeyboard-config/APKBUILD +++ b/main/xkeyboard-config/APKBUILD @@ -24,10 +24,14 @@ prepare() { build () { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --with-xkb-base=/usr/share/X11/xkb \ --with-xkb-rules-symlink=xorg \ - --enable-compat-rules=yes || return 1 + --enable-compat-rules=yes \ + || return 1 make || return 1 } diff --git a/main/xmlrpc-c/APKBUILD b/main/xmlrpc-c/APKBUILD index 416231b9f8..dea1834a2d 100644 --- a/main/xmlrpc-c/APKBUILD +++ b/main/xmlrpc-c/APKBUILD @@ -25,16 +25,20 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --mandir=/usr/share/man \ --enable-libxml2-backend \ --disable-cgi-server \ --disable-libwww-client \ - --disable-wininet-client + --disable-wininet-client \ + || return 1 # no parallel builds :-( - make -C include &&\ - make -C lib &&\ - make -j1 -C src &&\ + make -C include && \ + make -C lib && \ + make -j1 -C src && \ make } diff --git a/main/xmlto/APKBUILD b/main/xmlto/APKBUILD index ad4387fa31..5335ace4f0 100644 --- a/main/xmlto/APKBUILD +++ b/main/xmlto/APKBUILD @@ -27,8 +27,12 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ - --mandir=/usr/share/man || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --mandir=/usr/share/man \ + || return 1 make -j1 || return 1 } diff --git a/main/xmodmap/APKBUILD b/main/xmodmap/APKBUILD index 2a44bfbe20..cf7405096c 100644 --- a/main/xmodmap/APKBUILD +++ b/main/xmodmap/APKBUILD @@ -13,7 +13,12 @@ source="http://xorg.freedesktop.org/releases/individual/app/$pkgname-$pkgver.tar build () { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr --mandir=/usr/share/man || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --mandir=/usr/share/man \ + || return 1 make || return 1 } diff --git a/main/xorg-server/APKBUILD b/main/xorg-server/APKBUILD index 8e3115b163..6198ae2cd1 100644 --- a/main/xorg-server/APKBUILD +++ b/main/xorg-server/APKBUILD @@ -90,7 +90,10 @@ build() { export LDFLAGS="$LDFLAGS -Wl,-z,lazy" _fontroot="/usr/share/fonts" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc/X11 \ --localstatedir=/var \ --with-fontrootdir=$_fontroot \ diff --git a/main/xprop/APKBUILD b/main/xprop/APKBUILD index ee0a935cd6..dd972dde83 100644 --- a/main/xprop/APKBUILD +++ b/main/xprop/APKBUILD @@ -27,7 +27,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ || return 1 make || return 1 } diff --git a/main/xproto/APKBUILD b/main/xproto/APKBUILD index 3b04b62b77..13cdcb0fd7 100644 --- a/main/xproto/APKBUILD +++ b/main/xproto/APKBUILD @@ -16,7 +16,11 @@ _builddir="$srcdir"/$pkgname-$pkgver build() { cd "$_builddir" - ./configure --prefix=/usr || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 } diff --git a/main/xrandr/APKBUILD b/main/xrandr/APKBUILD index 312bc852bd..8c32a5ffb0 100644 --- a/main/xrandr/APKBUILD +++ b/main/xrandr/APKBUILD @@ -13,7 +13,12 @@ source="http://xorg.freedesktop.org/releases/individual/app/$pkgname-$pkgver.tar build () { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr --mandir=/usr/share/man || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --mandir=/usr/share/man \ + || return 1 make || return 1 } diff --git a/main/xrdb/APKBUILD b/main/xrdb/APKBUILD index 6819aac85f..f109b9c0fa 100644 --- a/main/xrdb/APKBUILD +++ b/main/xrdb/APKBUILD @@ -13,7 +13,12 @@ source="http://xorg.freedesktop.org/releases/individual/app/$pkgname-$pkgver.tar build () { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr --mandir=/usr/share/man || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --mandir=/usr/share/man \ + || return 1 make || return 1 } diff --git a/main/xrefresh/APKBUILD b/main/xrefresh/APKBUILD index fd7dd669dc..ef3d04bc32 100644 --- a/main/xrefresh/APKBUILD +++ b/main/xrefresh/APKBUILD @@ -13,7 +13,12 @@ source="http://xorg.freedesktop.org/releases/individual/app/$pkgname-$pkgver.tar build() { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr --mandir=/usr/share/man || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --mandir=/usr/share/man \ + || return 1 make || return 1 } diff --git a/main/xscreensaver/APKBUILD b/main/xscreensaver/APKBUILD index bb742c7fd8..731051eaad 100644 --- a/main/xscreensaver/APKBUILD +++ b/main/xscreensaver/APKBUILD @@ -30,7 +30,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ diff --git a/main/xset/APKBUILD b/main/xset/APKBUILD index 105dbe4ac8..5ca771c77d 100644 --- a/main/xset/APKBUILD +++ b/main/xset/APKBUILD @@ -13,7 +13,12 @@ source="http://xorg.freedesktop.org/releases/individual/app/$pkgname-$pkgver.tar build() { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr --mandir=/usr/share/man || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --mandir=/usr/share/man \ + || return 1 make || return 1 } diff --git a/main/xsetmode/APKBUILD b/main/xsetmode/APKBUILD index 8b11f54785..a51dbfe082 100644 --- a/main/xsetmode/APKBUILD +++ b/main/xsetmode/APKBUILD @@ -13,7 +13,12 @@ source="http://xorg.freedesktop.org/releases/individual/app/$pkgname-$pkgver.tar build() { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr --mandir=/usr/share/man || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --mandir=/usr/share/man \ + || return 1 make || return 1 } diff --git a/main/xsetroot/APKBUILD b/main/xsetroot/APKBUILD index e8a6d072af..928981be48 100644 --- a/main/xsetroot/APKBUILD +++ b/main/xsetroot/APKBUILD @@ -13,7 +13,12 @@ source="http://xorg.freedesktop.org/releases/individual/app/$pkgname-$pkgver.tar build() { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr --mandir=/usr/share/man || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --mandir=/usr/share/man \ + || return 1 make || return 1 } diff --git a/main/xtables-addons-grsec/APKBUILD b/main/xtables-addons-grsec/APKBUILD index 5ecd7a4544..d4ea035f67 100644 --- a/main/xtables-addons-grsec/APKBUILD +++ b/main/xtables-addons-grsec/APKBUILD @@ -41,8 +41,12 @@ prepare() { build() { cd "$srcdir/$_realname-$_realver" - ./configure --prefix=/usr \ - --with-kbuild=/usr/src/linux-headers-${_abi_release} + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --with-kbuild=/usr/src/linux-headers-${_abi_release} \ + || return 1 cd extensions export GCC_SPECS=hardenednopie.specs diff --git a/main/xtables-addons/APKBUILD b/main/xtables-addons/APKBUILD index 2653a6fbe5..d7ba0aa1a1 100644 --- a/main/xtables-addons/APKBUILD +++ b/main/xtables-addons/APKBUILD @@ -15,9 +15,13 @@ source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.xz" build() { cd "$srcdir/$pkgname-$pkgver" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --mandir=/usr/share/man \ - --without-kbuild + --without-kbuild \ + || return 1 make CC="${CC-gcc}" kbuilddir= } diff --git a/main/xtrans/APKBUILD b/main/xtrans/APKBUILD index d5c6cbb689..82fa1fc964 100644 --- a/main/xtrans/APKBUILD +++ b/main/xtrans/APKBUILD @@ -12,7 +12,11 @@ source="http://xorg.freedesktop.org/releases/individual/lib/$pkgname-$pkgver.tar build() { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 } diff --git a/main/xvidcore/APKBUILD b/main/xvidcore/APKBUILD index e3bbfa68f9..bcfcfae1c3 100644 --- a/main/xvidcore/APKBUILD +++ b/main/xvidcore/APKBUILD @@ -13,8 +13,12 @@ source="http://downloads.xvid.org/downloads/$pkgname-$pkgver.tar.bz2" build() { cd "$srcdir"/$pkgname/build/generic - ./configure --prefix=/usr \ - --disable-assembly + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --disable-assembly \ + || return 1 make || return 1 } diff --git a/main/xvinfo/APKBUILD b/main/xvinfo/APKBUILD index c4aea3448e..8e28a12210 100644 --- a/main/xvinfo/APKBUILD +++ b/main/xvinfo/APKBUILD @@ -13,8 +13,12 @@ source="http://xorg.freedesktop.org/releases/individual/app/$pkgname-$pkgver.tar build () { cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr \ - --mandir=/usr/share/man || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --mandir=/usr/share/man \ + || return 1 make || return 1 make DESTDIR="$pkgdir" install || return 1 } diff --git a/main/xwininfo/APKBUILD b/main/xwininfo/APKBUILD index 32313ccb8a..4d348ae382 100644 --- a/main/xwininfo/APKBUILD +++ b/main/xwininfo/APKBUILD @@ -19,10 +19,14 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ - --infodir=/usr/share/info + --infodir=/usr/share/info \ + || return 1 make || return 1 } diff --git a/main/xz/APKBUILD b/main/xz/APKBUILD index 0d39293fc8..58af03b75b 100644 --- a/main/xz/APKBUILD +++ b/main/xz/APKBUILD @@ -15,9 +15,13 @@ _builddir="$srcdir"/$pkgname-$pkgver build () { cd $srcdir/$pkgname-$pkgver - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --disable-rpath \ - --disable-werror + --disable-werror \ + || return 1 sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool make diff --git a/main/yaml/APKBUILD b/main/yaml/APKBUILD index f93c31ccf0..0be218f4bb 100644 --- a/main/yaml/APKBUILD +++ b/main/yaml/APKBUILD @@ -26,7 +26,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ diff --git a/main/yasm/APKBUILD b/main/yasm/APKBUILD index 0b1a1f2ab1..09afbe7b99 100644 --- a/main/yasm/APKBUILD +++ b/main/yasm/APKBUILD @@ -14,7 +14,11 @@ source="http://www.tortall.net/projects/$pkgname/releases/$pkgname-$pkgver.tar.g _builddir="$srcdir"/$pkgname-$pkgver build() { cd "$_builddir" - ./configure --prefix=/usr + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 } diff --git a/main/zabbix/APKBUILD b/main/zabbix/APKBUILD index 4cb00d9b9a..933a058fd9 100644 --- a/main/zabbix/APKBUILD +++ b/main/zabbix/APKBUILD @@ -65,8 +65,12 @@ build() { msg "Building for $db" cp -r "$pkgname-$pkgver" "$pkgname-$pkgver-$db" cd "$_builddir-$db" - ./configure --with-$db \ - $_configure + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --with-$db \ + $_configure \ + || return 1 make || return 1 done } diff --git a/main/zenity/APKBUILD b/main/zenity/APKBUILD index 10aae22c81..7414486a2a 100644 --- a/main/zenity/APKBUILD +++ b/main/zenity/APKBUILD @@ -27,9 +27,13 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ - --disable-scrollkeeper || return 1 + --disable-scrollkeeper \ + || return 1 make || return 1 } diff --git a/main/zeromq/APKBUILD b/main/zeromq/APKBUILD index 361efd0c58..1a2e93149e 100644 --- a/main/zeromq/APKBUILD +++ b/main/zeromq/APKBUILD @@ -22,11 +22,15 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --with-pgm \ --mandir=/usr/share/man \ - --infodir=/usr/share/info + --infodir=/usr/share/info \ + || return 1 make || return 1 } diff --git a/main/zlib/APKBUILD b/main/zlib/APKBUILD index 4d521dcaca..c64e286629 100644 --- a/main/zlib/APKBUILD +++ b/main/zlib/APKBUILD @@ -20,7 +20,13 @@ build() { cd "$_builddir" # we trade size for a little more speed. export CFLAGS="$CFLAGS -O2" - CHOST="${CHOST}" ./configure --prefix=/usr --libdir=/lib --shared + CHOST="${CHOST}" ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --libdir=/lib \ + --shared \ + || return 1 make || return 1 } diff --git a/main/znc/APKBUILD b/main/znc/APKBUILD index 28809cfd71..ccdfc63103 100644 --- a/main/znc/APKBUILD +++ b/main/znc/APKBUILD @@ -32,7 +32,10 @@ prepare() { build() { cd "$_builddir" export CHARSET= - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ diff --git a/main/zsh/APKBUILD b/main/zsh/APKBUILD index 4076da3e88..49a28e437f 100644 --- a/main/zsh/APKBUILD +++ b/main/zsh/APKBUILD @@ -16,7 +16,10 @@ _builddir="$srcdir"/$pkgname-$pkgver build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --bindir=/bin \ --enable-etcdir=/etc/zsh \ --enable-zshenv=/etc/zsh/zshenv \ @@ -30,7 +33,8 @@ build() { --sysconfdir=/etc \ --with-tcsetpgrp \ --mandir=/usr/share/man \ - --infodir=/usr/share/info + --infodir=/usr/share/info \ + || return 1 make || return 1 } diff --git a/main/zsnes/APKBUILD b/main/zsnes/APKBUILD index 955314d90b..47c503aaf7 100644 --- a/main/zsnes/APKBUILD +++ b/main/zsnes/APKBUILD @@ -28,11 +28,15 @@ build () cd "$srcdir"/${pkgname}_${pkgver%.*}_${pkgver#*.}/src aclocal && autoconf || return 1 export GCC_SPECS=hardenednopie.specs - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --mandir=/usr/share/man \ x_libraries=/usr/lib \ force_arch=i486 \ - --enable-release || return 1 + --enable-release \ + || return 1 make makefile.dep make || return 1 } |