diff options
Diffstat (limited to 'main')
950 files changed, 5024 insertions, 1518 deletions
diff --git a/main/a2ps/APKBUILD b/main/a2ps/APKBUILD index d5bb45a58..72f35c7a4 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 69274feca..16b63aadd 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 5845ae2e2..e961420b0 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 921cdca41..d0a7142f9 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 bed3e6301..de8153af4 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 d5f94c371..347b14940 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 e379a371a..fe3737537 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 7b967df1a..ab945f67f 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 e9e60510b..ea0db5300 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 9e4dfd66a..3ccc9f8e9 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 db5d211c8..9b689ac91 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 eb0443673..31a6d5a1b 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 313fe053d..f08d81db3 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 6c0546caf..fe1bfb7e5 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 74765d5de..485930bb3 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 7ff9aeff5..466093ad9 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 6679be4da..94ce2ce64 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 31657e05d..60f233058 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 be1621e2b..7f79a21b3 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 bbb75cf77..7397ce1ac 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 b994cdc79..69d3cadb2 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 217c70a6f..6ff338f1d 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 1442926c1..0e5eb5ad2 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 e6b10ac44..0cab85243 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 510bb9be9..005aa371a 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 da8a981d2..d2d64639c 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 a21e209ff..c17cdd4f8 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 6f7ba5c0e..7ada85671 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 e2fbe3b8d..8333048c5 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 3536fbae8..ff7366c1f 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 6a2f304cf..aef2bae5e 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 e93797575..b29fadad0 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 0265210f7..f21a0dd0c 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 ce12dadc6..96f2e24e4 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 05b9a5409..bad49f3f6 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 47c5c0218..f4db7bb02 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 1c2051c51..e7b94c7c4 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 2875aaf67..e3ea93c13 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 4b8956089..0b69988b6 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 faa3e8f37..433e0dd6b 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 525c55941..c0f7b3ff7 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 9625523f6..91fe8f95d 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 64445e269..136f201ae 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 89922c410..344cc0a49 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 64937e21c..da1424e9e 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 58add51e8..f4af2b90e 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 a2aa83b48..acc1ad434 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 6167d8c16..1aeb4f087 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 41ac30f27..8cc9e96d6 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 ff4ce3930..8feeb01b0 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 70257c375..c2430d0b3 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 dea82e758..316b562f5 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 fde69fbdf..e2209ae44 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 de02f9797..df74070e2 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 e4fcafbec..dd5178233 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 69c2c6056..4e9e7b105 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 13e03878f..7933d58d1 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 2193b2d5f..107445de0 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 3fd3bc283..89cf14b2f 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 a5bac7a87..2be0e0d46 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 4260569b1..182ee80cf 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 fc065c177..10c37fc73 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 34adeb874..bf4ffd770 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 86e05c8f0..48a1955a9 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 661e7a2fa..0f24fa91e 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 4845ee7ae..6b519be8a 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 e7b8c8483..f3c04742e 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 0dd452028..1e3e27d76 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 29cb87b75..0b4dd29d2 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 8f2ed9041..79e98755d 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 cdf651fa9..b02f8b9e1 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 10d11ecd6..cb029bd84 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 965129ad5..1bb0fe59c 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 41637dd72..6ba16771d 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 22ad47ac3..cc9be30a8 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 93a788798..d94d85bba 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 e6340fb1f..8f1204c82 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 51a6cafce..5231d31ee 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 c815c7aba..f25ae900c 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 9861c583b..f719fd9a7 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 c573aef53..c94de6727 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 632ee1adc..91b4cfaf8 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 3d33e22c8..0cf146528 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 f41a27e22..5dbcc347e 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 803914dd2..cd3961e59 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 1a787df1b..e8b05ce05 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 1c4fe7bc1..983667ee8 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 49cd2225c..efb396a9a 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 11a6c3a35..bfc9df85a 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 9f67ee05b..5ec9072e4 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 2b56d520a..d8cf8625b 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 75021efe8..11e4a1656 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 03c7b8f55..773cf46fd 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 1ef87b3f7..fdef95e0b 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 0c44555dd..edc6bc2ab 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 6a743ef3e..0a40fbdad 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 6de06f052..de981dbcf 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 303c7359b..5ade2931f 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 1cea48cfa..5edd7f17a 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 2da5fde9e..d1c333e85 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 9942f6f87..cdfdd71a1 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 253ce4cfa..6562bf2b2 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 d29c495b8..14d7b0717 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 218b12951..b095bc531 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 15056385f..0c0beb322 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 79864853a..cc3c9e0c7 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 dd1ff5695..d2017c12f 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 e986414de..ff0bfee4c 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 4e3200d57..e27d56585 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 2f72f36a8..218fed5e9 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 1bdbecf45..f308892ea 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 0ba9a0966..46d9249e8 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 4375832ea..08f4a0fe5 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 e4dbccd81..441e39af2 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 556bbbf4b..3c19ee557 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 feb0c5ddc..b70e46ac7 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 1894f9ee9..003e0aa3d 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 46cc03515..8ca74ae16 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 53294c378..7e9157bf7 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 54caa74d8..d3c3d824e 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 a30231dbb..769e30a10 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 8ffbed9a9..25cb51326 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 fa6060c48..b6eada515 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 4d7711f3e..179e15c8b 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 470d813cd..ddb3fbd85 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 b212a62c3..801985511 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 9681093f1..e3979d4d2 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 8e3e1095e..166fe99d7 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 0ada5a430..9788bead6 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 06b883e89..3ad7a361f 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 c4ff565b6..772197895 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 f845f6a0e..cb1da61d5 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 81709fb23..878f11cb9 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 d31a5291f..2f231f67e 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 259758f7f..43b413618 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 4904b8045..8086a5628 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 50179e600..daf4313f6 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 e9b8ead21..13f2f44c7 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 d4332416f..f23e315b9 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 4e0a864e3..625cba65d 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 d33097469..de6769d15 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 8d4959daf..78168f53e 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 2bd26f624..d4d1ef208 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 6989cfd17..ca2be9549 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 e74e2def1..8e73e5c42 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 9b22db009..95c7aa133 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 72a76f535..2e2f13ac3 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 232830b01..63b73cf25 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 9b6327c0d..dcd9d12ad 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 3fce77d33..7430f5949 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 045a91791..bb77dbe53 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 90a6c25d0..48f6fd348 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 2db32801e..65ccb3849 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 add0acc18..7ebcf4dc1 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 909f184b4..669a70d8e 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 dad470302..8efee0d42 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 4b6b39801..cfb64f5f0 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 2057abcff..eac386a55 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 081e5ba5e..1b9fca51a 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 3ca2381ab..b35c71ebe 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 f2429974f..5a86692f6 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 ed40e552b..7095c6102 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 83fc28f0e..55a9ee165 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 a68d08d62..4c518f1b6 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 0133f31d2..8a7be53e3 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 62a4f66b3..314afca70 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 ddae97e87..b365f8369 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 6fde0c80e..70b170172 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 bf3a046eb..fa29ff855 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 a5e718744..507feab3c 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 8adf9ea7e..a0be678a4 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 2182946be..6046a2038 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 1780bdde7..557a074ee 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 4f54e8b73..27255d96b 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 31a610489..8380951b2 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 0a344b245..801a07d9d 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 8d99f6f06..fdbd5258c 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 3d56bfba7..1849d1322 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 b278e7369..366e1adc1 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 b6da30844..874904cb3 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 7367ae5de..f7b6a8ac5 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 a2d6a83ae..45801df0b 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 7f69e82d8..f5a403bbe 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 8b11cf4b8..05e76360a 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 6c0102a36..8cd778955 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 b4e86369b..3f19cc334 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 14f321e4c..d9a9e521f 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 67705d3bf..6a18163e8 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 9f5c643cb..b016055a8 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 708ecbad7..df52f0ad6 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 dc1342942..b2919aeb5 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 16d914132..94be11335 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 4fe93fadb..2a4440d0b 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 b1e089739..cbb2d42d4 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 ecc9a9fb4..2390d8f2b 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 1ea7040bf..fde07dbcb 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 1ac36be45..b39056dfa 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 139aaf02c..4e88be296 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 79da613cf..824c4e1cb 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 287561300..fa624a663 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 01ff2e25a..049775d4e 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 188c0c67c..9f7d775ff 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 3b68a0447..a7ab3467a 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 a1afcc46c..d980ccd54 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 c1206f25b..dd545dad4 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 05ca5541f..3b2ec1b8c 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 6ea09df1a..772cf9aba 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 122c9e424..c24b5950c 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 717cc9cec..b42cb3f74 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 712be2661..b13fe0477 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 2b0cb10f4..10e23f8a5 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 8615e8ed2..7c250586c 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 e8db51952..dbf663023 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 c20157e75..77b8fe0b7 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 63d7a1164..6a5632ead 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 b9b4439be..b4c45b7cb 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 dd515f5ec..d6b820cd4 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 f00640764..72e82c6a4 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 fb03c64c4..415b5f911 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 77a96eb30..5652bf31d 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 4118919b4..8a699339d 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 5f4d40521..56987a3d3 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 dfa61e095..afa3b555b 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 d5f72ef0c..2c18cae4f 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 4a5c0de14..4c9ff82f6 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 69806d87b..e01a13875 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 f14b62abf..cb1196d8a 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 81a5fc73a..32f5c7216 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 0bed2a64f..7de77d1bd 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 c4b6c9d15..ec6198ef6 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 bb25db79a..c436803b1 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 e70b90ba6..1d748621a 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 ab9bc5750..1a547ebca 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 129b5df6d..fbe1f164d 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 3fe0ac686..e09c93717 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 a6f91e3e5..d6b9af13a 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 48b117ee5..4f88ce8d9 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 af59ad9e4..599de2af0 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 f57a04f65..cf624951d 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 9b4460809..befad8edb 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 cd4ffce49..9d02ec554 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 804d00893..237a8dc53 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 182e9765a..4666c4eb0 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 c7c1417ca..7977e90d4 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 5dff957bb..c76d46440 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 95c1e1e09..4d6ed6753 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 99d0625c3..c18984186 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 72a009efe..a1f7e5f1a 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 574df5ef1..74c604f1b 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 13076e978..682713510 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 9cbd4698f..5988e4c00 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 6e3ce26bd..e2ea96794 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 08e7463ee..16550a3ad 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 d7e1acabb..91da55846 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 bb453be6f..8710854ac 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 9d827f6ac..58863deb3 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 1374b2108..ad83de9e0 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 9ff432091..979e31ea9 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 b9a963e5e..da9ce4589 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 70d2e4ca1..0854692d1 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 bb1a7ed2a..bc98ebeaa 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 119cf4705..1a0dc46de 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 445dd6731..0fef88634 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 e7e8bf6d9..1dbe34657 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 69e8a03aa..7d7e462a1 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 961a1086b..6d1806c77 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 54829f2cd..cde30efe6 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 e6f9ca91b..e98d15415 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 6cad51f78..37c4ce18c 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 3e5f3419a..bd7d29d1d 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 fdb6d26bf..7831471fe 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 d7b2c6397..ad26d8cd1 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 d5cf0096a..531d158e9 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 0be303767..3303e7bd6 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 aca8b4803..3b7d7a6d0 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 e06a6ef58..9ab6ca9ab 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 aee3d17fe..479e571d5 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 fb66fe98a..23a659917 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 685fe007d..8eb1fb383 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 458fc7411..ce7bb2982 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 2a758e9aa..e7a103cd9 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 2b2d3e09c..5aec95753 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 4b1de23e7..0891ea957 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 66cae7326..353c27a83 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 a119a4810..53b9d86cd 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 04a39c443..f97ca6d81 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 6430d0a06..962dd01ee 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 1d7d1f46f..ce158ab2f 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 59df186f6..d7a514986 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 acfe2689f..97fa9ac57 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 0c84becd1..43013e217 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 a0828f588..1c70f5b7e 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 643ecd866..50baa5cbf 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 e3c1e3280..0304bda52 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 9004db929..9fa4fc0ab 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 adee233d1..b6d974773 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 c4f57d332..c2422dc46 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 09d46d392..5a9da5c9d 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 3b5df6f94..9112599b6 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 e942c30ae..e7078e43e 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 f3fb25372..7166bb65c 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 d771bd5c1..33a7f08e9 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 fec3177a3..b1b062c06 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 1a6244bb6..358ca8735 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 ad7e36d23..26c3ee6c1 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 54e6993b3..7490e314f 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 767ee4178..d5a71f309 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 c3d7144ba..d752d0be8 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 ac4a843b5..c7c89133f 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 a8409b8b4..f629a1e46 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 bdb25ceb8..caa449df8 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 418027766..35c01c96e 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 5a6824d85..02c8f3fcf 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 42712528d..77fad92b3 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 83282982c..4046c5e4b 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 74cfaebd9..0a45aa915 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 c55416924..b7ba1e182 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 a8ebea591..240a3e8f4 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 c0161cdc9..26a8b0fd8 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 c0a8b9a5b..792cb2f7e 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 0649ef396..a5b79855e 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 15b0fe828..0af33ef14 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 260684cae..65c247549 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 3944f1257..b4e9d9755 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 94775c1e5..356919f38 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 8cbcad1b3..50ba6a5ab 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 248abcb0b..ede37bdf0 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 f0bf0056e..ade1959df 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 300c66279..661e2e98b 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 2af4fcab0..7411c7732 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 02916d3c6..600f6cade 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 7fb417a74..58aac8272 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 a1dd40456..a18f48408 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 2e3738249..352707031 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 461aa5c9d..45dbc9eec 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 8a3de49fc..9e4d9aae8 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 4aa28ad20..1d9d0ef2c 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 abee4ef9d..d57d11040 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 4321f6d81..6b8c48d6e 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 d3e8a9cb3..8811086f3 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 f24675954..57a5d5847 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 86bbd721e..f14ad8668 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 6ee1013bd..51e07aa88 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 fb986990f..ec55fff25 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 892b2b8ec..66c64b4d7 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 c5a5c89eb..8bc206fde 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 12fc7d875..77dd40a31 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 59b4bf87d..35aa5c1e4 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 6d5baee5b..c12289b12 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 8c4188f02..94ea81067 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 65e52722c..877c1ccfb 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 58a63654d..0e2853245 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 72ec85499..061e98105 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 45de772a2..f9a9a2646 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 c2d09b112..583a251a6 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 75041a633..b38981723 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 8953f964d..b7e140363 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 de23dfddb..c676c96df 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 5ee866fb9..22a71502c 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 5e4795341..cfffd994b 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 5305967e1..20ee616df 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 0f7673011..436c460a0 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 3edf6bf92..34f5f2543 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 e85724155..87d89fb8f 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 edb57b1de..366f3f082 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 e73dcfc6b..4a30fbe7f 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 ed8423ac7..f392c3aa6 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 180e8cbfe..8472993e9 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 e1150894c..65bf59912 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 a8f0866b0..1499eb93d 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 e42741117..bb7da6139 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 2bbeccc57..26705f722 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 8f6fd85ed..6421b4ff9 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 482702da7..4a0335206 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 d82446378..16cb1323d 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 72619db03..0e31e7547 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 9068783f2..d8ff6106a 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 d86ce9bf0..615f12e46 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 539d3ac39..a183994cc 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 0972f2388..3cb1c3d02 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 bac12d55a..a6adb55fd 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 f80a4a252..488a7a06d 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 6bd8c61d6..b5b11be99 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 88aa6cc7b..ce89f0186 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 4d46ae3be..dd5b90ee4 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 deb48b6e3..75a173d7d 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 eaa87f2a4..bbe543c84 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 410baf91c..39e2e622c 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 45de60b53..90eeac8ad 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 82ad01352..6ca2d542f 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 b5b2509a6..eb58b5d00 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 fde5177cf..055df1d48 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 0bc2576a9..7b7855b06 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 ea160c1e2..f031f8cb3 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 b26b623ec..7380981b9 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 9291c6b20..7ea08ee54 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 93cf33d1a..6b4c625b7 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 879c91169..e142b8396 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 241ff5bdd..84d5ff86d 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 241dcd63e..d992c7694 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 e0031e000..96cb4b8e8 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 f730b60c1..17a55d58a 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 ecf98536f..55d738c7c 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 515f0efb0..ada696e2e 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 840783095..4c4045f6a 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 1606a9220..18fec5c24 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 8cb026f8d..f0ad59d8c 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 d5c099736..1673d9733 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 aeb880b64..fc10ce723 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 f837561e7..44e58b3b3 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 ae50e898b..997e53c07 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 1fa9e5244..c2a37cb30 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 7ad9ffd25..f900cc900 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 9bf4fbb1f..50023319d 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 6f4214e72..e5ed3e26e 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 aaee71fae..2526477bf 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 c14ecd627..714c105e1 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 931ad283c..fd93b3fcb 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 7f3d5f787..6718faa7a 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 31d3653d2..7ba3c398f 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 6133c00ed..6b339ca41 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 09e1be546..f257c8e80 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 16d5d1b78..a52bb1591 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 8791a5d7f..360430ef1 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 2edbed516..4920b7474 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 4111ff742..943815c05 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 374e5f08a..aab61c37a 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 bb184d1a1..c217d5627 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 988f42719..0c46982ea 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 068c6f462..309be9782 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 b2c144df0..40f098d77 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 780cf6b5e..8e6b992b4 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 3d2716ec1..41571e284 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 2fb112935..80b25e580 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 f10f18e09..231996662 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 3b6750373..f5d4a723f 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 e43af2e60..87aae32d3 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 fabb1c7d4..295eaef34 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 83bba7515..afa4e5d89 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 376e79e46..c7b894798 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 aee2921c4..50c4533df 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 7c63f0cdf..f90e923e9 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 5c427c9a0..8345639dd 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 7d4b119eb..98a425154 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 7a4983b6d..3931f27c1 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 f75fcc43d..52375bd90 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 480dab8a8..1ed782826 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 3e6054ade..9905aaea5 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 2d6c0c26d..7875ed96a 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 186d87e74..b5378df39 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 49089fdcf..04c84c2b8 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 f4c4ac2db..f9489a6b8 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 e801dfe6f..fcc742b3b 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 d2d9e6fdb..6182643aa 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 a28283c12..1ea58325a 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 1150e948c..72926f540 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 664fc0d88..03c44342a 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 7bddda58e..51364d250 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 4853e9f29..91c0ccf0c 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 45f74f46f..85e185107 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 6e499884c..51cec2023 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 9f9347e00..30a2d9159 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 221d60cc6..4d89b9239 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 1b45a8e97..8c8e36648 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 be81aacf8..0c8289049 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 f6ee20aa1..57b21a8ea 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 e43118c57..b6922c336 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 25c1b0ee8..3e42bf700 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 ecf28f7ea..c8d3e9bfb 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 c355f4140..a036d5558 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 b30998cb1..e3423d53b 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 e320b572c..17e036e91 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 d39a110d0..3eacdcde4 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 816a1eae4..e7e44d9a8 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 13488e4f0..16ce377b4 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 19a22714d..673d5d016 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 a679a1cfa..0d522b90c 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 41ae24e8f..5bfa649f6 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 e45b92bc7..ca69b55a7 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 43eaa6d3b..72bdfa695 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 a11d64118..a4632b2f4 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 029d7d33d..98f736a96 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 758156d61..d91cfe41d 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 2f23d1f53..d7d0dad96 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 13dd5142b..121e4ca24 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 e93a3cb12..f0f304f90 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 2a1411e6f..f545c71e2 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 e55d7474d..12d220a12 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 4952b3c97..39d036849 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 4de038b5e..72feccc2b 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 3356450de..5c8d43b1f 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 9acb53e1a..02b35cbc3 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 51c5c2234..70e1bc7d9 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 64dc5dfd8..c0a371e0f 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 30c9e9e63..834fec326 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 966482aaa..aa0d91c40 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 37727e424..8224b0a28 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 98556a7e8..74a4ff470 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 de99445b4..27c0d2962 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 db9e905be..9b0699a3b 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 7b8fc4d99..b42b6d0d6 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 88ed3e1b0..7c0d6c671 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 1657306f5..23a845bb3 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 b7e58c819..1b891c4b4 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 c1d14bcc6..c394aa1d7 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 52038101e..0ddd9126a 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 63f515209..65934815a 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 62aabfb1a..b63883dd0 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 90c3921f3..bd4e308a4 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 55d39a531..dedff9861 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 ca175426c..995b6d276 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 6979041cf..166d19d31 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 89decdb0e..c0e67347c 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 4b3224176..6313cfd50 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 ae7e4bc63..83776140e 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 485d33e98..294e4aa56 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 2d5465f24..39c95ef99 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 d7e790cef..fdd72b649 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 fd53a15f5..351c5ace4 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 b9cffba90..a2d77a03e 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 d5075dce1..771398a48 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 4121c44b2..5500426a1 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 3d1838323..c4f944284 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 c7a6acf77..e917d6cae 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 ae409ebc4..90c31e2c2 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 84d96a634..4ae7c83c9 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 0a4e6a80d..b3591f0d2 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 2abb57fed..c1cdafcf5 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 cf9d1c322..1b7fd68ff 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 613958d2a..2f006b1db 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 30da3627f..ff61909ae 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 5e1a2dcf1..ff07b6e49 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 8f45ff7cc..7aea30dcd 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 464301d61..4ea190070 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 375017805..1529d841a 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 474b6a97f..d9323479d 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 0ed6c45ec..06b2446a1 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 79b04d123..9a0e77c00 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 b11640325..c244e671b 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 65a8bc0cf..2fbcd1d40 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 7dc2d0612..d5aa96dd3 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 aaaa9c2d3..973c32efa 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 98604c036..66ed5b49a 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 e7a27327e..ec6b099e1 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 1b1274a43..91785f275 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 4610091de..0c8fd5723 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 501728da5..33d2564f2 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 1dd8bcdb7..5385d5a5b 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 b7bf1b684..7198b8964 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 4f4af2e5e..66edf7b22 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 38f6bf255..0ae07a5ab 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 4a65633b7..cfb8866c8 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 da7382be4..92228c79a 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 afb9b97d5..92b362145 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 1947d4a82..108512e5f 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 e03403179..6b3d41543 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 8b841714e..234a503e3 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 958e0ac12..c522e773a 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 9dff611a4..3647bb5fe 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 124144ab8..06a4debc7 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 414ca56a9..69240b980 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 18ed2b2e3..aaddd9b37 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 f1e8aa306..e590b5da1 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 a4ac89c9e..857bef20d 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 926590715..a5eeef8b8 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 24f7a0453..33639b9ed 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 ef871587c..3d59f0bdc 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 cf16d4f4c..c9d40bbb2 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 49702d0e4..986134b8c 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 e7bbe4b4b..c5e2b4365 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 0573b468d..d9a6742f5 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 24b70697d..bdee1b75b 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 6069575a4..553fb772a 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 d98dc187c..ac0d4ab07 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 48b38a9bf..ecbbfd427 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 ceeff7141..0c1409063 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 35a1e8c91..d16ef30a1 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 47c61aa16..9dd066208 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 a6cb2fdb6..32c6f1c3e 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 443b18641..bf60c1ea6 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 e2c4d9069..16f82ed02 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 789096ff7..d92007043 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 477789998..3a1258754 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 668b38e5f..45aea5661 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 a43fbb27f..180fa51d4 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 11b436d5d..7e3f45a58 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 4ee01cbc3..76ebbb0b0 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 61c5f5beb..be94cd7b2 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 d7507fea0..c04f3c721 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 dec0abd06..5fb9a720f 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 4bc57166d..c5da8f5f0 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 d466146b7..6f4a7cd7f 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 b53f56d12..e8b643a19 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 1149d5ad6..560d0950b 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 2ff5c852f..fc9f58349 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 dea6db841..0db3a4256 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 8f611adce..e52110c40 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 582ff6331..850d38c8b 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 772ec1ad8..341212dc3 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 7c661c0f0..5c4e3450e 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 dce92cda1..75e8bd461 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 746b16ee5..771b4836d 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 299892284..236636e0a 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 6ecb58e58..1ec0838f3 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 e7665eb8a..aa4958c00 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 2d304c41c..32f8fa105 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 9848263be..dfd32500d 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 4e569814f..c74d651a0 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 141d8566c..31666553b 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 7d6232628..ac7f0a82b 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 3856b4c58..cd9c5dae6 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 4d59a80fb..98ee89f90 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 80b104c4b..6a94490dc 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 b72e31c28..34087da00 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 0122aa1b8..8f5024a0d 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 f9de2be6e..8eac8a917 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 4b92b38f5..53af098f7 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 ee4b71d89..a08724a96 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 f7d9ca752..b16a23344 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 ef1e73f03..e87fa00be 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 f8da756fb..2150747b2 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 b1afc7534..63500a1fb 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 1d65c2a54..fd1114a36 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 934714211..694fdb359 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 519cbc201..564930710 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 af5536771..a16c323a4 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 30438bb88..d784c4ccb 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 c84aa0093..5bf93c6d8 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 4250f8cd3..e0ef95251 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 f9cd11cc0..c55edfccd 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 ab58d527a..50e2b93bf 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 487c907bd..61bb99b04 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 74550d29e..d71a8f6ac 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 80a0cef1f..2ee5d67d9 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 4387f4c12..fdca00968 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 596afb906..1df6ddcb2 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 93b0dd766..dba936a87 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 169822579..33a771d66 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 21165d899..8087dab51 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 7f8fbf9de..a00f439a4 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 a085bf5ae..e13322dfe 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 98092ffd0..71458daea 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 11496b4c8..6aa9441c1 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 4d55baf93..577ddade0 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 f7683e864..16b129365 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 f06fc54eb..9bac464fd 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 4091c3e66..fa8f5e047 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 f30eeab84..c1b03bc78 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 c0af61aef..c90d95069 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 a8e976929..6dbeaf16c 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 736211221..e4ea5a05f 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 470dc3ba9..c63527faa 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 01eb9005d..f3fdf8be7 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 a60102232..b56ad8bec 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 d9263845d..8f179d880 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 aa4a88907..e7725300c 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 677eec0cd..681eb6850 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 529e67cbf..5b5fd7f69 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 c87b8d27c..56aaaa9b1 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 2020cf907..944be373d 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 d7eb4b37d..eeb5ea9c5 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 8803c9a96..622296dfa 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 cd972a58a..073d922ab 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 53868db89..f50c394ef 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 4215fe172..710b221d9 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 b6a29ebf2..c704cef76 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 1afed83eb..46ffb1bb5 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 dbdc3d2d8..075869081 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 f072cb76c..a4b8ab020 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 1d5331ed2..bb71f05cd 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 d9ed0bc23..787419755 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 fda7ba902..47b3e6f53 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 33fa56032..e5d902c44 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 4ca739e98..8fb8b917e 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 6de9ceb15..18d33c617 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 7af602ffb..7fe7c10cb 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 162d6da0f..57cc8966a 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 dc1c0b415..82e0eb4f0 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 04b8265f7..33be30fa3 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 e306be5bc..f383a1949 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 1ba7ae7a5..a744b1b16 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 7882289c4..5ce830252 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 e678cfb6c..667dee6a3 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 c8fa1b99d..16a0c5685 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 83ce38403..2353d1dcb 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 eb3510985..0117fa0f1 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 e34b55768..43a6d73b0 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 0fe0d19b3..8fe8cb237 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 c6b33ccd0..c60f660aa 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 9382a0807..9a6d6dcfe 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 48243c1f5..7e9cf6c85 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 0f79882c4..5de5a9d7a 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 921b29837..58c44eeab 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 597e0214d..3cffa9bfd 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 95fecd192..4cf6ba872 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 bbf69bc03..fed1530e5 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 8358c39aa..fe964793e 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 93ee41d3d..dd1965f0a 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 2818f06a3..635f32f03 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 89f11058b..6ca11e502 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 8d994b437..1a7362bbf 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 4fa4dc623..12fa5501b 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 a1996adb9..12cc3fe51 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 9df8736fd..599ea48d2 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 9f9a88fd9..49a0f7b41 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 406e8a026..96afcda0c 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 03a3c186b..8fee73983 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 8061f59f2..4e14da433 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 210833313..5fcfcfd61 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 5d1cc8b82..e84d2d371 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 00f73038b..c6e6a3b10 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 a9d89c12a..c1b7b5159 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 92774d5eb..b0318d8bd 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 5cebb462e..def4b88f5 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 a51ec6ad2..f9abbb09b 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 ed226d7c3..858a7f601 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 c43cc4ab2..a145aae4b 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 1621ed11a..82e064ad9 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 0bd70d8da..24399d2fc 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 dbc42e774..4725332a3 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 9da0f6d94..4f39d6136 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 2a98f09cb..293480e32 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 756e06020..aa73472f4 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 d0fb47c9d..596348cd9 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 bcf2849a5..378a77146 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 8d4f5fd22..e391421b5 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 a11a79c2d..781d56915 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 b58047148..ba9b6bb51 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 e49faded1..7c02b18bd 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 f6ff76763..7254cdd75 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 21a8f61b2..f2e2b1422 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 68824d5d7..eb5b7f750 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 287586fd5..766cc5697 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 14d28a5f3..46c5afaac 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 9b0828169..b52278e28 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 73845cb66..68d4e7c6e 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 c42203250..7ee880f01 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 13b11ff37..b93d5a815 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 486e74cde..7f13a9f0f 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 ffd1d9cda..68130d849 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 f97d28405..24f5de44a 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 732a48a79..f4898731e 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 325a43e17..5d7d28e12 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 81d2dc222..e25aaf942 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 5822e611a..53ec5793d 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 b9d4ed9bb..de0c7426e 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 9c29dc84d..f9ac9b643 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 7400273e9..08323c65a 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 263942fbe..194b69a0b 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 5b5c73a4a..08fae70d3 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 1a48d5f75..08b605831 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 c424c42c1..5e2ea2f9a 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 1d5f12fc5..a4b40a07a 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 31ffb8df2..75407d353 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 a337bbfc6..79d5e4d52 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 c47f23ffc..0162d35f7 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 d8ee553a2..ee4019674 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 49014bf1c..4111bce7f 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 81c8349a4..fab598ff3 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 8e8e5ee10..a6d793762 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 818ff1484..aa266058f 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 984cb2308..40e462cb4 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 ee22c2356..128c2dc34 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 2f9a30b59..3549002d8 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 cc40b53b5..9b9af9a26 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 5dcbc61ea..fdc49c103 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 e334e2bb6..5b0860685 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 c3b687df1..c7cd0b817 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 979e234f6..d53483b8c 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 ecc608f85..21a84c0fa 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 9ef846878..a9f28dbe2 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 5f8f0c544..94f989a10 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 d7707dd23..34438c3c6 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 e5c3d3c72..2addf08f2 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 84ca5bda3..fa6bd4fc7 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 121ca9c7d..8e0b3abc0 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 6e4c858c8..a42bf9408 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 5662e96ec..35104cded 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 d8272390b..c996d8cdd 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 d889ff9de..ac069e484 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 717f8b6f1..a95c18216 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 2bfdb997a..97aa35152 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 62edd3d66..51903154e 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 704f032df..51118d0aa 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 0bcb89648..1240e1240 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 eb0058e5f..c072d8ef4 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 918ad1b09..ae5f98a27 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 49bc46e24..88cc2fa65 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 fe814e920..b24554f52 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 39b267676..80eb7c76f 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 8e8da21ee..e7639dd42 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 7fce39d00..390625261 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 62b016591..ab01329b5 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 70c9be167..c8bf6620d 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 de590c2fd..72a5181a8 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 97062edfb..ec07cc7e0 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 00639a8bb..43ac36320 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 d39d77347..41c4e580a 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 81080280e..0b0ceadda 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 1d0a6eae5..3e2a7c764 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 0e0614fde..03ff7a142 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 2841475b3..299d7f52b 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 f2a1910ef..5a9f32ebf 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 f06ece122..2f970c7c2 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 a1884ff87..b8fb807c5 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 2a15f0159..7e6ae9ede 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 ad341e59b..693c24645 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 a04b50838..beebe5585 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 938e7ff53..3e8414003 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 3fc1f8f4f..53c6533f6 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 a49474c22..227e8ed64 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 74edee65c..5af7c5c67 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 76a679487..a7a23dc33 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 4128949af..625c9d66d 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 9c2523a1f..04d441b4e 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 6d20b3ca6..bacdb28a1 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 d862f0687..9d41d5110 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 4520132a3..c0777d8d0 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 def61f19c..83658b91b 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 209f6e5c0..c9ca0bea2 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 072352fd8..204536e70 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 8d5346f1d..665fcd9cc 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 413fc82eb..999f9319d 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 16488cc16..8a1c941fe 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 9aa416719..d8d0e97e5 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 d34eea129..663404e56 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 b8ea83d27..2ba0696b9 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 f5d809921..cf3696dd2 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 657ce84e5..42aa3d1f3 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 646f641fd..c2e8f4160 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 63310b4d1..dc20f3100 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 f42fec0e5..ac9542cc9 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 d313a94a3..7103dc3ac 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 7f18e7092..06f479b8a 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 57292c54c..8b2951025 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 2e95f1d5d..d61122a9b 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 cec44432d..a9ab2a823 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 0796e789c..4b0b2a6d4 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 8ba2a091c..2091d59ea 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 6f4aa429e..3f7edb9a5 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 1a7b9a94c..526a59111 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 cadc70896..8fd1df563 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 b31b5f121..c94a5a1e4 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 aacbf836b..5e57ff0d9 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 07368425e..a28c0ebae 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 8c4abb98d..7ec7f33e9 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 b2c40357e..2123a720b 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 daf511942..5e720959e 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 e73ba221d..691b99076 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 b5bba71b1..4024896c9 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 32278431e..31027bda4 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 1ca674719..9ec72b027 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 aaf6ae595..7139b8d0c 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 b62539dda..9621f1e4a 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 32e0cd093..1ba1d8ee3 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 d77010395..57d1a7ac7 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 2244e59dd..89a4c8551 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 9b739621a..d06527a25 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 eb9f03813..160a38318 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 7d08b9602..e891d074f 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 b20df67be..54c13c864 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 1243689be..9bd45d995 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 079bd2c7c..94d3f4e21 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 263a0a49e..f2f3ef5a1 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 bfa9958a3..80a71a782 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 dcfc73ca2..eaf5412e3 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 a8e0ea275..1ba510150 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 631710959..d2db8b3cd 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 9c0900781..ea6c985c3 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 a9e66766c..741f69d31 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 80f92f48b..884bc0a64 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 aedd198e4..79d2b50ce 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 e2d02188a..d89eda86c 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 162c8b529..b62e60787 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 d4cb83a8f..1dfd799aa 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 a6cc5b86e..09c785f95 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 d1c3ad2ce..2b5ffc2f3 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 18ba6e91c..386844c56 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 04307e20b..a6dd6e942 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 8a72dd768..4564e730c 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 90eddc922..b6d392fa9 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 aac853ca6..63662e8bb 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 8c827c6e3..fd37ea5e8 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 c835545b4..c21c2cdd6 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 ba577c9f8..a9a2808d6 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 e29903cf1..927b216e2 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 c3f726edb..797052d93 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 c1fc9bfab..77b83bcff 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 60c6d207f..9041b6549 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 a729e0e65..e991f7cea 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 2db04237e..b58a54f35 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 41bff73ce..4a36dcb29 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 7a4e495a4..733d13214 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 5a44ff0a6..0f7608c09 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 6d8aa8140..13ec1b3e4 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 77acb5851..cc8b6e25a 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 e6d3ffcf8..f567894fa 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 ebdcdf5d1..6946da1e0 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 94af6b0e9..98791512b 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 6c92495ea..f3576ae31 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 38bb98bde..753fd1e77 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 31dd472f5..2ec1b9595 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 fd6a9af5b..e18a6531b 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 dcd0f3239..d54518d4e 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 8881b41eb..de50cd699 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 8fd845484..0e5143c15 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 55897e7fb..bfa04ae45 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 b986011b7..0f39749ee 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 f3542b549..e270b0885 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 25a74cbf0..cfcea8833 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 93fe535f6..62a76ad04 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 d11f07d8d..0d59d6ffd 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 05c711dc6..81d3a5865 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 d9eb9fafb..093258a25 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 6fc8249a4..c82d94dd8 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 731befccb..758f174a2 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 f3635c1ee..e00fdd114 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 1c1910c36..d7574b6a8 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 8b809843f..3a6923d96 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 da3bc4853..3629142a2 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 df6462d3e..84a51293e 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 416231b9f..dea1834a2 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 ad4387fa3..5335ace4f 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 2a44bfbe2..cf7405096 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 8e3115b16..6198ae2cd 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 ee0a935cd..dd972dde8 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 3b04b62b7..13cdcb0fd 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 312bc852b..8c32a5ffb 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 6819aac85..f109b9c0f 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 fd7dd669d..ef3d04bc3 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 bb742c7fd..731051eaa 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 105dbe4ac..5ca771c77 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 8b11f5478..a51dbfe08 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 e8a6d072a..928981be4 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 5ecd7a454..d4ea035f6 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 2653a6fbe..d7ba0aa1a 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 d5c6cbb68..82fa1fc96 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 e3bbfa68f..bcfcfae1c 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 c4aea3448..8e28a1221 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 32313ccb8..4d348ae38 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 0d39293fc..58af03b75 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 f93c31ccf..0be218f4b 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 0b1a1f2ab..09afbe7b9 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 4cb00d9b9..933a058fd 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 10aae22c8..7414486a2 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 361efd0c5..1a2e93149 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 4d521dcac..c64e28662 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 28809cfd7..ccdfc6310 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 4076da3e8..49a28e437 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 955314d90..47c503aaf 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 } |