aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2013-07-30 08:51:11 +0000
committerTimo Teräs <timo.teras@iki.fi>2013-07-30 08:54:53 +0000
commit5c904717322f8113870abf48cc93c3c8b00ab4e8 (patch)
treee077e5c3afa20630fd6e96db5872f03d622d639e
parenta879839450737e3cbdb64415af42347c97ccfa28 (diff)
downloadaports-5c904717322f8113870abf48cc93c3c8b00ab4e8.tar.bz2
aports-5c904717322f8113870abf48cc93c3c8b00ab4e8.tar.xz
[all autotools packages]: normalize ./configure
-rw-r--r--main/a2ps/APKBUILD8
-rw-r--r--main/a52dec/APKBUILD5
-rw-r--r--main/abiword/APKBUILD5
-rw-r--r--main/acct/APKBUILD8
-rw-r--r--main/acl/APKBUILD5
-rw-r--r--main/afpfs-ng/APKBUILD5
-rw-r--r--main/alpine/APKBUILD8
-rw-r--r--main/alsa-lib/APKBUILD5
-rw-r--r--main/alsa-utils/APKBUILD5
-rw-r--r--main/apache-mod-auth-kerb/APKBUILD8
-rw-r--r--main/apache2/APKBUILD17
-rw-r--r--main/apcupsd/APKBUILD8
-rw-r--r--main/apr-util/APKBUILD5
-rw-r--r--main/apr/APKBUILD8
-rw-r--r--main/argp-standalone/APKBUILD6
-rw-r--r--main/aria2/APKBUILD5
-rw-r--r--main/arpwatch/APKBUILD8
-rw-r--r--main/asciidoc/APKBUILD5
-rw-r--r--main/aspell-en/APKBUILD5
-rw-r--r--main/aspell/APKBUILD6
-rw-r--r--main/asterisk/APKBUILD21
-rw-r--r--main/at-spi2-atk/APKBUILD5
-rw-r--r--main/at-spi2-core/APKBUILD5
-rw-r--r--main/aterm/APKBUILD8
-rw-r--r--main/atk/APKBUILD5
-rw-r--r--main/atkmm/APKBUILD6
-rw-r--r--main/attr/APKBUILD5
-rw-r--r--main/audacious-plugins/APKBUILD5
-rw-r--r--main/audacity/APKBUILD5
-rw-r--r--main/augeas/APKBUILD8
-rw-r--r--main/aumix/APKBUILD8
-rw-r--r--main/autoconf/APKBUILD6
-rw-r--r--main/autoconf2.13/APKBUILD7
-rw-r--r--main/automake/APKBUILD6
-rw-r--r--main/avahi/APKBUILD8
-rw-r--r--main/avfs/APKBUILD8
-rw-r--r--main/axel/APKBUILD5
-rw-r--r--main/babl/APKBUILD6
-rw-r--r--main/bacula-client/APKBUILD40
-rw-r--r--main/bacula/APKBUILD54
-rw-r--r--main/bash/APKBUILD11
-rw-r--r--main/bc/APKBUILD8
-rw-r--r--main/bdftopcf/APKBUILD8
-rw-r--r--main/beecrypt/APKBUILD8
-rw-r--r--main/bigreqsproto/APKBUILD6
-rw-r--r--main/bind/APKBUILD8
-rw-r--r--main/binutils/APKBUILD10
-rw-r--r--main/bison/APKBUILD11
-rw-r--r--main/bitchx/APKBUILD5
-rw-r--r--main/bitlbee/APKBUILD12
-rw-r--r--main/bluez-firmware/APKBUILD6
-rw-r--r--main/bluez-hcidump/APKBUILD5
-rw-r--r--main/bluez/APKBUILD5
-rw-r--r--main/bridge-utils/APKBUILD5
-rw-r--r--main/bwm-ng/APKBUILD14
-rw-r--r--main/c-ares/APKBUILD8
-rw-r--r--main/cabextract/APKBUILD8
-rw-r--r--main/cairo/APKBUILD8
-rw-r--r--main/cairomm/APKBUILD6
-rw-r--r--main/ccache/APKBUILD6
-rw-r--r--main/cciss_vol_status/APKBUILD8
-rw-r--r--main/cdparanoia/APKBUILD5
-rw-r--r--main/cegui06/APKBUILD5
-rw-r--r--main/celt051/APKBUILD5
-rw-r--r--main/cgdb/APKBUILD8
-rw-r--r--main/charybdis/APKBUILD22
-rw-r--r--main/check/APKBUILD2
-rw-r--r--main/chrony/APKBUILD8
-rw-r--r--main/chrpath/APKBUILD5
-rw-r--r--main/cifs-utils/APKBUILD6
-rw-r--r--main/cksfv/APKBUILD6
-rw-r--r--main/clamav/APKBUILD8
-rw-r--r--main/clamsmtp/APKBUILD8
-rw-r--r--main/claws-mail/APKBUILD5
-rw-r--r--main/cloog/APKBUILD7
-rw-r--r--main/cmph/APKBUILD8
-rw-r--r--main/collectd/APKBUILD5
-rw-r--r--main/compositeproto/APKBUILD6
-rw-r--r--main/confuse/APKBUILD8
-rw-r--r--main/conky/APKBUILD5
-rw-r--r--main/conntrack-tools/APKBUILD6
-rw-r--r--main/consolekit/APKBUILD5
-rw-r--r--main/coova-chilli/APKBUILD8
-rw-r--r--main/coreutils/APKBUILD5
-rw-r--r--main/cpufreqd/APKBUILD8
-rw-r--r--main/cracklib/APKBUILD8
-rw-r--r--main/cryptsetup/APKBUILD5
-rw-r--r--main/ctags/APKBUILD8
-rw-r--r--main/cups-filters/APKBUILD5
-rw-r--r--main/cups/APKBUILD8
-rw-r--r--main/curl/APKBUILD8
-rw-r--r--main/cvechecker/APKBUILD5
-rw-r--r--main/cvs/APKBUILD5
-rw-r--r--main/cyrus-sasl/APKBUILD8
-rw-r--r--main/dahdi-tools/APKBUILD5
-rw-r--r--main/damageproto/APKBUILD6
-rw-r--r--main/dansguardian/APKBUILD8
-rw-r--r--main/daq/APKBUILD5
-rw-r--r--main/darkice/APKBUILD8
-rw-r--r--main/db/APKBUILD8
-rw-r--r--main/dbus-glib/APKBUILD8
-rw-r--r--main/dbus/APKBUILD8
-rw-r--r--main/dconf/APKBUILD8
-rw-r--r--main/desktop-file-utils/APKBUILD6
-rw-r--r--main/dhcp/APKBUILD8
-rw-r--r--main/dhcpcd-dbus/APKBUILD5
-rw-r--r--main/dhcpcd-ui/APKBUILD6
-rw-r--r--main/dhcpcd/APKBUILD5
-rw-r--r--main/dialog/APKBUILD8
-rw-r--r--main/diffutils/APKBUILD8
-rw-r--r--main/dircproxy/APKBUILD8
-rw-r--r--main/distcc/APKBUILD5
-rw-r--r--main/dovecot/APKBUILD8
-rw-r--r--main/doxygen/APKBUILD6
-rw-r--r--main/dpkg/APKBUILD5
-rw-r--r--main/dri2proto/APKBUILD6
-rw-r--r--main/dropbear/APKBUILD5
-rw-r--r--main/dtach/APKBUILD6
-rw-r--r--main/dvgrab/APKBUILD5
-rw-r--r--main/e2fsprogs/APKBUILD5
-rw-r--r--main/eboard/APKBUILD5
-rw-r--r--main/eggdbus/APKBUILD8
-rw-r--r--main/eggdrop/APKBUILD5
-rw-r--r--main/eglibc/APKBUILD2
-rw-r--r--main/elinks/APKBUILD8
-rw-r--r--main/email/APKBUILD7
-rw-r--r--main/email2trac/APKBUILD5
-rw-r--r--main/enca/APKBUILD8
-rw-r--r--main/enchant/APKBUILD7
-rw-r--r--main/encodings/APKBUILD8
-rw-r--r--main/epdfview/APKBUILD5
-rw-r--r--main/epris/APKBUILD8
-rw-r--r--main/ethtool/APKBUILD8
-rw-r--r--main/evince/APKBUILD8
-rw-r--r--main/exiv2/APKBUILD6
-rw-r--r--main/exo/APKBUILD5
-rw-r--r--main/expat/APKBUILD8
-rw-r--r--main/expect/APKBUILD8
-rw-r--r--main/ez-ipupdate/APKBUILD8
-rw-r--r--main/f2fs-tools/APKBUILD5
-rw-r--r--main/faac/APKBUILD6
-rw-r--r--main/faad2/APKBUILD6
-rw-r--r--main/fakeroot/APKBUILD10
-rw-r--r--main/farstream/APKBUILD9
-rw-r--r--main/farstream0.1/APKBUILD5
-rw-r--r--main/fastjar/APKBUILD5
-rw-r--r--main/fcgi/APKBUILD8
-rw-r--r--main/fetchmail/APKBUILD8
-rw-r--r--main/ffmpeg/APKBUILD5
-rw-r--r--main/fftw/APKBUILD8
-rw-r--r--main/file/APKBUILD7
-rw-r--r--main/findutils/APKBUILD8
-rw-r--r--main/fixesproto/APKBUILD6
-rw-r--r--main/flac/APKBUILD8
-rw-r--r--main/flex/APKBUILD10
-rw-r--r--main/flite/APKBUILD5
-rw-r--r--main/fluxbox/APKBUILD5
-rw-r--r--main/font-adobe-100dpi/APKBUILD8
-rw-r--r--main/font-adobe-75dpi/APKBUILD8
-rw-r--r--main/font-adobe-utopia-100dpi/APKBUILD8
-rw-r--r--main/font-adobe-utopia-75dpi/APKBUILD8
-rw-r--r--main/font-adobe-utopia-type1/APKBUILD8
-rw-r--r--main/font-alias/APKBUILD8
-rw-r--r--main/font-arabic-misc/APKBUILD8
-rw-r--r--main/font-bh-100dpi/APKBUILD8
-rw-r--r--main/font-bh-75dpi/APKBUILD8
-rw-r--r--main/font-bh-lucidatypewriter-100dpi/APKBUILD8
-rw-r--r--main/font-bh-lucidatypewriter-75dpi/APKBUILD8
-rw-r--r--main/font-bh-ttf/APKBUILD8
-rw-r--r--main/font-bh-type1/APKBUILD8
-rw-r--r--main/font-bitstream-100dpi/APKBUILD8
-rw-r--r--main/font-bitstream-75dpi/APKBUILD8
-rw-r--r--main/font-bitstream-speedo/APKBUILD8
-rw-r--r--main/font-bitstream-type1/APKBUILD8
-rw-r--r--main/font-cronyx-cyrillic/APKBUILD8
-rw-r--r--main/font-cursor-misc/APKBUILD8
-rw-r--r--main/font-daewoo-misc/APKBUILD8
-rw-r--r--main/font-dec-misc/APKBUILD8
-rw-r--r--main/font-ibm-type1/APKBUILD8
-rw-r--r--main/font-isas-misc/APKBUILD8
-rw-r--r--main/font-jis-misc/APKBUILD8
-rw-r--r--main/font-micro-misc/APKBUILD8
-rw-r--r--main/font-misc-cyrillic/APKBUILD8
-rw-r--r--main/font-misc-ethiopic/APKBUILD8
-rw-r--r--main/font-misc-meltho/APKBUILD8
-rw-r--r--main/font-misc-misc/APKBUILD8
-rw-r--r--main/font-mutt-misc/APKBUILD8
-rw-r--r--main/font-schumacher-misc/APKBUILD8
-rw-r--r--main/font-screen-cyrillic/APKBUILD8
-rw-r--r--main/font-sony-misc/APKBUILD8
-rw-r--r--main/font-sun-misc/APKBUILD8
-rw-r--r--main/font-util/APKBUILD8
-rw-r--r--main/font-winitzki-cyrillic/APKBUILD8
-rw-r--r--main/font-xfree86-type1/APKBUILD8
-rw-r--r--main/fontconfig/APKBUILD8
-rw-r--r--main/fontsproto/APKBUILD6
-rw-r--r--main/fping/APKBUILD8
-rw-r--r--main/fprobe-ulog/APKBUILD8
-rw-r--r--main/fprobe/APKBUILD8
-rw-r--r--main/freeglut/APKBUILD7
-rw-r--r--main/freeradius-client/APKBUILD8
-rw-r--r--main/freeradius/APKBUILD7
-rw-r--r--main/freeswitch/APKBUILD5
-rw-r--r--main/freetds/APKBUILD5
-rw-r--r--main/freetype/APKBUILD8
-rw-r--r--main/fribidi/APKBUILD6
-rw-r--r--main/fsarchiver/APKBUILD6
-rw-r--r--main/fuse/APKBUILD5
-rw-r--r--main/galculator/APKBUILD5
-rw-r--r--main/gamin/APKBUILD5
-rw-r--r--main/garcon/APKBUILD8
-rw-r--r--main/gawk/APKBUILD10
-rw-r--r--main/gc/APKBUILD8
-rw-r--r--main/gconf/APKBUILD9
-rw-r--r--main/gd/APKBUILD8
-rw-r--r--main/gdb/APKBUILD8
-rw-r--r--main/gdbm/APKBUILD8
-rw-r--r--main/gdk-pixbuf/APKBUILD8
-rw-r--r--main/gdl/APKBUILD5
-rw-r--r--main/gdnsd/APKBUILD5
-rw-r--r--main/geany/APKBUILD6
-rw-r--r--main/gegl/APKBUILD5
-rw-r--r--main/geh/APKBUILD8
-rw-r--r--main/geoip/APKBUILD8
-rw-r--r--main/gettext/APKBUILD8
-rw-r--r--main/ghostscript/APKBUILD18
-rw-r--r--main/giblib/APKBUILD6
-rw-r--r--main/giflib/APKBUILD6
-rw-r--r--main/gigolo/APKBUILD8
-rw-r--r--main/gimp/APKBUILD8
-rw-r--r--main/glade/APKBUILD8
-rw-r--r--main/glade3/APKBUILD5
-rw-r--r--main/glib-networking/APKBUILD5
-rw-r--r--main/glib/APKBUILD8
-rw-r--r--main/glibmm/APKBUILD6
-rw-r--r--main/glproto/APKBUILD6
-rw-r--r--main/glu/APKBUILD5
-rw-r--r--main/gmime/APKBUILD8
-rw-r--r--main/gmp5/APKBUILD9
-rw-r--r--main/gnats/APKBUILD8
-rw-r--r--main/gnokii/APKBUILD5
-rw-r--r--main/gnomad2/APKBUILD5
-rw-r--r--main/gnome-bluetooth/APKBUILD5
-rw-r--r--main/gnome-control-center/APKBUILD8
-rw-r--r--main/gnome-desktop/APKBUILD8
-rw-r--r--main/gnome-disk-utility/APKBUILD8
-rw-r--r--main/gnome-doc-utils/APKBUILD8
-rw-r--r--main/gnome-icon-theme/APKBUILD8
-rw-r--r--main/gnome-keyring/APKBUILD8
-rw-r--r--main/gnome-menus/APKBUILD8
-rw-r--r--main/gnome-mime-data/APKBUILD8
-rw-r--r--main/gnome-panel/APKBUILD8
-rw-r--r--main/gnome-power-manager/APKBUILD8
-rw-r--r--main/gnome-screensaver/APKBUILD8
-rw-r--r--main/gnome-session/APKBUILD8
-rw-r--r--main/gnome-settings-daemon/APKBUILD8
-rw-r--r--main/gnome-system-monitor/APKBUILD8
-rw-r--r--main/gnome-terminal/APKBUILD8
-rw-r--r--main/gnome-themes/APKBUILD8
-rw-r--r--main/gnome-vfs/APKBUILD5
-rw-r--r--main/gnuchess/APKBUILD5
-rw-r--r--main/gnumeric/APKBUILD5
-rw-r--r--main/gnupg/APKBUILD8
-rw-r--r--main/gnutls/APKBUILD5
-rw-r--r--main/gobject-introspection/APKBUILD7
-rw-r--r--main/goffice/APKBUILD5
-rw-r--r--main/goffice0.8/APKBUILD5
-rw-r--r--main/gparted/APKBUILD8
-rw-r--r--main/gperf/APKBUILD6
-rw-r--r--main/gpgme/APKBUILD5
-rw-r--r--main/gphoto2/APKBUILD5
-rw-r--r--main/gpicview/APKBUILD7
-rw-r--r--main/graphviz/APKBUILD5
-rw-r--r--main/grep/APKBUILD8
-rw-r--r--main/groff/APKBUILD7
-rw-r--r--main/gross/APKBUILD12
-rw-r--r--main/gsl/APKBUILD6
-rw-r--r--main/gst-ffmpeg/APKBUILD8
-rw-r--r--main/gst-libav1/APKBUILD5
-rw-r--r--main/gst-plugins-bad/APKBUILD5
-rw-r--r--main/gst-plugins-bad1/APKBUILD5
-rw-r--r--main/gst-plugins-base/APKBUILD5
-rw-r--r--main/gst-plugins-base1/APKBUILD5
-rw-r--r--main/gst-plugins-good/APKBUILD5
-rw-r--r--main/gst-plugins-good1/APKBUILD5
-rw-r--r--main/gst-plugins-ugly/APKBUILD8
-rw-r--r--main/gst-plugins-ugly1/APKBUILD8
-rw-r--r--main/gstreamer/APKBUILD8
-rw-r--r--main/gstreamer1/APKBUILD5
-rw-r--r--main/gtk+2.0/APKBUILD8
-rw-r--r--main/gtk+3.0/APKBUILD5
-rw-r--r--main/gtk-doc/APKBUILD6
-rw-r--r--main/gtk-engines/APKBUILD8
-rw-r--r--main/gtk-vnc/APKBUILD8
-rw-r--r--main/gtk-xfce-engine/APKBUILD8
-rw-r--r--main/gtkglext/APKBUILD5
-rw-r--r--main/gtkmm/APKBUILD6
-rw-r--r--main/gtksourceview/APKBUILD8
-rw-r--r--main/gtkspell/APKBUILD5
-rw-r--r--main/gucharmap/APKBUILD5
-rw-r--r--main/guile/APKBUILD8
-rw-r--r--main/gvfs/APKBUILD5
-rw-r--r--main/gzip/APKBUILD11
-rw-r--r--main/harfbuzz/APKBUILD5
-rw-r--r--main/haserl/APKBUILD8
-rw-r--r--main/haveged/APKBUILD7
-rw-r--r--main/heimdal/APKBUILD8
-rw-r--r--main/hicolor-icon-theme/APKBUILD6
-rw-r--r--main/htop/APKBUILD2
-rw-r--r--main/hunspell/APKBUILD8
-rw-r--r--main/hwdata/APKBUILD5
-rw-r--r--main/hylafax/APKBUILD6
-rw-r--r--main/hypermail/APKBUILD8
-rw-r--r--main/iceauth/APKBUILD5
-rw-r--r--main/icecast/APKBUILD8
-rw-r--r--main/icedtea-web/APKBUILD5
-rw-r--r--main/icon-naming-utils/APKBUILD8
-rw-r--r--main/icu/APKBUILD5
-rw-r--r--main/iftop/APKBUILD7
-rw-r--r--main/igmpproxy/APKBUILD8
-rw-r--r--main/imagemagick/APKBUILD8
-rw-r--r--main/imlib2/APKBUILD5
-rw-r--r--main/indent/APKBUILD8
-rw-r--r--main/inkscape/APKBUILD5
-rw-r--r--main/inputproto/APKBUILD6
-rw-r--r--main/intltool/APKBUILD6
-rw-r--r--main/iperf/APKBUILD2
-rw-r--r--main/iproute2/APKBUILD5
-rw-r--r--main/ipsec-tools/APKBUILD8
-rw-r--r--main/ipset/APKBUILD8
-rw-r--r--main/iptables/APKBUILD11
-rw-r--r--main/iptraf-ng/APKBUILD5
-rw-r--r--main/ircii/APKBUILD5
-rw-r--r--main/ircservices/APKBUILD8
-rw-r--r--main/irqbalance/APKBUILD8
-rw-r--r--main/irssi/APKBUILD14
-rw-r--r--main/isl/APKBUILD7
-rw-r--r--main/iso-codes/APKBUILD6
-rw-r--r--main/itstool/APKBUILD5
-rw-r--r--main/jansson/APKBUILD5
-rw-r--r--main/jasper/APKBUILD8
-rw-r--r--main/jfsutils/APKBUILD5
-rw-r--r--main/joe/APKBUILD7
-rw-r--r--main/js/APKBUILD5
-rw-r--r--main/json-glib/APKBUILD6
-rw-r--r--main/jwhois/APKBUILD5
-rw-r--r--main/jwm/APKBUILD5
-rw-r--r--main/kbd/APKBUILD5
-rw-r--r--main/kbproto/APKBUILD6
-rw-r--r--main/keybinder/APKBUILD5
-rw-r--r--main/kmod/APKBUILD5
-rw-r--r--main/knock/APKBUILD8
-rw-r--r--main/krb5/APKBUILD2
-rw-r--r--main/lame/APKBUILD8
-rw-r--r--main/lcms/APKBUILD6
-rw-r--r--main/ldns/APKBUILD17
-rw-r--r--main/less/APKBUILD8
-rw-r--r--main/lftp/APKBUILD8
-rw-r--r--main/lha/APKBUILD8
-rw-r--r--main/libao/APKBUILD8
-rw-r--r--main/libarchive/APKBUILD7
-rw-r--r--main/libart-lgpl/APKBUILD6
-rw-r--r--main/libass/APKBUILD8
-rw-r--r--main/libassuan/APKBUILD6
-rw-r--r--main/libasyncns/APKBUILD2
-rw-r--r--main/libatasmart/APKBUILD8
-rw-r--r--main/libavc1394/APKBUILD5
-rw-r--r--main/libbluray/APKBUILD5
-rw-r--r--main/libbonobo/APKBUILD5
-rw-r--r--main/libbsd/APKBUILD5
-rw-r--r--main/libburn/APKBUILD7
-rw-r--r--main/libcanberra/APKBUILD8
-rw-r--r--main/libcap-ng/APKBUILD8
-rw-r--r--main/libcddb/APKBUILD8
-rw-r--r--main/libcdio-paranoia/APKBUILD5
-rw-r--r--main/libcdio/APKBUILD8
-rw-r--r--main/libcec/APKBUILD13
-rw-r--r--main/libconfig/APKBUILD8
-rw-r--r--main/libcroco/APKBUILD8
-rw-r--r--main/libcue/APKBUILD8
-rw-r--r--main/libdaemon/APKBUILD5
-rw-r--r--main/libdc1394/APKBUILD5
-rw-r--r--main/libdnet/APKBUILD5
-rw-r--r--main/libdrm/APKBUILD5
-rw-r--r--main/libdv/APKBUILD5
-rw-r--r--main/libdvbcsa/APKBUILD5
-rw-r--r--main/libdvbpsi/APKBUILD8
-rw-r--r--main/libedit/APKBUILD5
-rw-r--r--main/libee/APKBUILD6
-rw-r--r--main/libelf/APKBUILD8
-rw-r--r--main/libestr/APKBUILD6
-rw-r--r--main/libetpan/APKBUILD8
-rw-r--r--main/libev/APKBUILD8
-rw-r--r--main/libevent/APKBUILD5
-rw-r--r--main/libexif/APKBUILD6
-rw-r--r--main/libffi/APKBUILD6
-rw-r--r--main/libfontenc/APKBUILD8
-rw-r--r--main/libfprint/APKBUILD5
-rw-r--r--main/libgcrypt/APKBUILD7
-rw-r--r--main/libgee/APKBUILD7
-rw-r--r--main/libgexiv2/APKBUILD8
-rw-r--r--main/libglade/APKBUILD8
-rw-r--r--main/libgnome-keyring/APKBUILD8
-rw-r--r--main/libgnome/APKBUILD5
-rw-r--r--main/libgnomekbd/APKBUILD8
-rw-r--r--main/libgpg-error/APKBUILD8
-rw-r--r--main/libgphoto2/APKBUILD5
-rw-r--r--main/libgsf/APKBUILD8
-rw-r--r--main/libgssglue/APKBUILD6
-rw-r--r--main/libgtop/APKBUILD8
-rw-r--r--main/libguess/APKBUILD8
-rw-r--r--main/libgweather/APKBUILD8
-rw-r--r--main/libical/APKBUILD5
-rw-r--r--main/libice/APKBUILD8
-rw-r--r--main/libiconv/APKBUILD5
-rw-r--r--main/libid3tag/APKBUILD8
-rw-r--r--main/libidl/APKBUILD8
-rw-r--r--main/libidn/APKBUILD8
-rw-r--r--main/libiec61883/APKBUILD5
-rw-r--r--main/libisofs/APKBUILD8
-rw-r--r--main/libjpeg-turbo/APKBUILD5
-rw-r--r--main/libksba/APKBUILD6
-rw-r--r--main/liblockfile/APKBUILD8
-rw-r--r--main/libmad/APKBUILD8
-rw-r--r--main/libmcrypt/APKBUILD8
-rw-r--r--main/libmicrohttpd/APKBUILD8
-rw-r--r--main/libmikmod/APKBUILD7
-rw-r--r--main/libmms/APKBUILD8
-rw-r--r--main/libmng/APKBUILD6
-rw-r--r--main/libmnl/APKBUILD6
-rw-r--r--main/libmodplug/APKBUILD8
-rw-r--r--main/libmowgli/APKBUILD8
-rw-r--r--main/libmp3splt/APKBUILD5
-rw-r--r--main/libmpc/APKBUILD7
-rw-r--r--main/libmpdclient/APKBUILD6
-rw-r--r--main/libmpeg2/APKBUILD8
-rw-r--r--main/libmtp/APKBUILD5
-rw-r--r--main/libnet/APKBUILD6
-rw-r--r--main/libnetfilter_acct/APKBUILD8
-rw-r--r--main/libnetfilter_conntrack/APKBUILD8
-rw-r--r--main/libnetfilter_cthelper/APKBUILD5
-rw-r--r--main/libnetfilter_cttimeout/APKBUILD5
-rw-r--r--main/libnetfilter_log/APKBUILD8
-rw-r--r--main/libnetfilter_queue/APKBUILD5
-rw-r--r--main/libnfnetlink/APKBUILD8
-rw-r--r--main/libnfs/APKBUILD15
-rw-r--r--main/libnfsidmap/APKBUILD5
-rw-r--r--main/libnice/APKBUILD5
-rw-r--r--main/libnih/APKBUILD8
-rw-r--r--main/libnjb/APKBUILD5
-rw-r--r--main/libnl/APKBUILD6
-rw-r--r--main/libnl3/APKBUILD5
-rw-r--r--main/libnotify/APKBUILD7
-rw-r--r--main/libogg/APKBUILD6
-rw-r--r--main/liboil/APKBUILD6
-rw-r--r--main/libotr/APKBUILD6
-rw-r--r--main/libotr3/APKBUILD6
-rw-r--r--main/libpaper/APKBUILD8
-rw-r--r--main/libpcap/APKBUILD7
-rw-r--r--main/libpciaccess/APKBUILD6
-rw-r--r--main/libpng/APKBUILD5
-rw-r--r--main/libpthread-stubs/APKBUILD6
-rw-r--r--main/libraw/APKBUILD6
-rw-r--r--main/libraw1394/APKBUILD5
-rw-r--r--main/libresample/APKBUILD8
-rw-r--r--main/librpcsecgss/APKBUILD5
-rw-r--r--main/librsvg/APKBUILD8
-rw-r--r--main/librsync/APKBUILD8
-rw-r--r--main/libsamplerate/APKBUILD6
-rw-r--r--main/libsecret/APKBUILD5
-rw-r--r--main/libsexy/APKBUILD8
-rw-r--r--main/libshairport/APKBUILD8
-rw-r--r--main/libshout/APKBUILD6
-rw-r--r--main/libsigc++/APKBUILD6
-rw-r--r--main/libsm/APKBUILD7
-rw-r--r--main/libsndfile/APKBUILD5
-rw-r--r--main/libsoup/APKBUILD5
-rw-r--r--main/libspf2/APKBUILD5
-rw-r--r--main/libssh2/APKBUILD5
-rw-r--r--main/libtasn1/APKBUILD6
-rw-r--r--main/libtheora/APKBUILD8
-rw-r--r--main/libtirpc/APKBUILD5
-rw-r--r--main/libtool/APKBUILD6
-rw-r--r--main/libtorrent/APKBUILD19
-rw-r--r--main/libtxc_dxtn/APKBUILD7
-rw-r--r--main/libunique/APKBUILD5
-rw-r--r--main/libunique3/APKBUILD5
-rw-r--r--main/libunistring/APKBUILD6
-rw-r--r--main/libusb-compat/APKBUILD7
-rw-r--r--main/libusb/APKBUILD6
-rw-r--r--main/libva-intel-driver/APKBUILD6
-rw-r--r--main/libva/APKBUILD5
-rw-r--r--main/libvdpau/APKBUILD8
-rw-r--r--main/libverto/APKBUILD5
-rw-r--r--main/libvirt-glib/APKBUILD5
-rw-r--r--main/libvirt/APKBUILD5
-rw-r--r--main/libvorbis/APKBUILD8
-rw-r--r--main/libvpx/APKBUILD2
-rw-r--r--main/libwebp/APKBUILD6
-rw-r--r--main/libwnck/APKBUILD8
-rw-r--r--main/libx11/APKBUILD8
-rw-r--r--main/libxau/APKBUILD7
-rw-r--r--main/libxcb/APKBUILD5
-rw-r--r--main/libxcomposite/APKBUILD8
-rw-r--r--main/libxcursor/APKBUILD5
-rw-r--r--main/libxdamage/APKBUILD7
-rw-r--r--main/libxdg-basedir/APKBUILD8
-rw-r--r--main/libxdmcp/APKBUILD8
-rw-r--r--main/libxext/APKBUILD7
-rw-r--r--main/libxfce4ui/APKBUILD8
-rw-r--r--main/libxfce4util/APKBUILD8
-rw-r--r--main/libxfcegui4/APKBUILD8
-rw-r--r--main/libxfixes/APKBUILD7
-rw-r--r--main/libxfont/APKBUILD7
-rw-r--r--main/libxft/APKBUILD8
-rw-r--r--main/libxi/APKBUILD7
-rw-r--r--main/libxinerama/APKBUILD6
-rw-r--r--main/libxkbcommon/APKBUILD5
-rw-r--r--main/libxkbfile/APKBUILD8
-rw-r--r--main/libxkbui/APKBUILD6
-rw-r--r--main/libxklavier/APKBUILD8
-rw-r--r--main/libxml2/APKBUILD8
-rw-r--r--main/libxmu/APKBUILD8
-rw-r--r--main/libxp/APKBUILD5
-rw-r--r--main/libxpm/APKBUILD5
-rw-r--r--main/libxrandr/APKBUILD5
-rw-r--r--main/libxrender/APKBUILD6
-rw-r--r--main/libxres/APKBUILD8
-rw-r--r--main/libxslt/APKBUILD6
-rw-r--r--main/libxt/APKBUILD5
-rw-r--r--main/libxtst/APKBUILD7
-rw-r--r--main/libxv/APKBUILD6
-rw-r--r--main/libxvmc/APKBUILD7
-rw-r--r--main/libxxf86dga/APKBUILD6
-rw-r--r--main/libxxf86misc/APKBUILD8
-rw-r--r--main/libxxf86vm/APKBUILD6
-rw-r--r--main/lighttpd/APKBUILD8
-rw-r--r--main/links/APKBUILD8
-rw-r--r--main/linux-pam/APKBUILD5
-rw-r--r--main/llvm/APKBUILD4
-rw-r--r--main/lockdev/APKBUILD5
-rw-r--r--main/loudmouth/APKBUILD2
-rw-r--r--main/lsscsi/APKBUILD8
-rw-r--r--main/lsyncd/APKBUILD5
-rw-r--r--main/ltrace/APKBUILD5
-rw-r--r--main/lua-bitlib/APKBUILD6
-rw-r--r--main/lua-curl/APKBUILD6
-rw-r--r--main/lua-posix/APKBUILD7
-rw-r--r--main/lua-stdlib/APKBUILD5
-rw-r--r--main/lua5.2/APKBUILD6
-rw-r--r--main/lvm2/APKBUILD5
-rw-r--r--main/lxc/APKBUILD5
-rw-r--r--main/lxdm/APKBUILD5
-rw-r--r--main/lxpolkit/APKBUILD5
-rw-r--r--main/lxsession/APKBUILD5
-rw-r--r--main/lxterminal/APKBUILD5
-rw-r--r--main/lynx/APKBUILD7
-rw-r--r--main/lzo/APKBUILD8
-rw-r--r--main/m4/APKBUILD6
-rw-r--r--main/make/APKBUILD11
-rw-r--r--main/makedepend/APKBUILD8
-rw-r--r--main/makekit/APKBUILD5
-rw-r--r--main/man/APKBUILD1
-rw-r--r--main/mc/APKBUILD5
-rw-r--r--main/mcabber/APKBUILD2
-rw-r--r--main/memcached/APKBUILD5
-rw-r--r--main/mesa-demos/APKBUILD6
-rw-r--r--main/mesa/APKBUILD5
-rw-r--r--main/metacity/APKBUILD8
-rw-r--r--main/midori/APKBUILD7
-rw-r--r--main/minicom/APKBUILD2
-rw-r--r--main/mkfontdir/APKBUILD6
-rw-r--r--main/mkfontscale/APKBUILD6
-rw-r--r--main/mlmmj/APKBUILD6
-rw-r--r--main/mousepad/APKBUILD8
-rw-r--r--main/mp3splt-gtk/APKBUILD5
-rw-r--r--main/mp3splt/APKBUILD5
-rw-r--r--main/mpc/APKBUILD6
-rw-r--r--main/mpc1/APKBUILD7
-rw-r--r--main/mpd/APKBUILD5
-rw-r--r--main/mpdscribble/APKBUILD5
-rw-r--r--main/mpfr3/APKBUILD10
-rw-r--r--main/mpg123/APKBUILD8
-rw-r--r--main/mplayer/APKBUILD7
-rw-r--r--main/mrtg/APKBUILD5
-rw-r--r--main/mrxvt/APKBUILD5
-rw-r--r--main/msmtp/APKBUILD5
-rw-r--r--main/mtdev/APKBUILD5
-rw-r--r--main/mtools/APKBUILD8
-rw-r--r--main/mtx/APKBUILD8
-rw-r--r--main/mutt/APKBUILD5
-rw-r--r--main/nagios-plugins/APKBUILD8
-rw-r--r--main/nagios/APKBUILD8
-rw-r--r--main/nano/APKBUILD8
-rw-r--r--main/nasm/APKBUILD6
-rw-r--r--main/nautilus/APKBUILD5
-rw-r--r--main/ncdu/APKBUILD2
-rw-r--r--main/ncftp/APKBUILD8
-rw-r--r--main/ncurses/APKBUILD11
-rw-r--r--main/neon/APKBUILD7
-rw-r--r--main/net-snmp/APKBUILD8
-rw-r--r--main/netcf/APKBUILD5
-rw-r--r--main/nettle/APKBUILD2
-rw-r--r--main/newt/APKBUILD8
-rw-r--r--main/nfdump/APKBUILD5
-rw-r--r--main/nfs-utils/APKBUILD8
-rw-r--r--main/nginx/APKBUILD14
-rw-r--r--main/ngircd/APKBUILD5
-rw-r--r--main/ngrep/APKBUILD8
-rw-r--r--main/nload/APKBUILD8
-rw-r--r--main/nmap/APKBUILD8
-rw-r--r--main/nrpe/APKBUILD8
-rw-r--r--main/nsd/APKBUILD2
-rw-r--r--main/nspr/APKBUILD5
-rw-r--r--main/ntfs-3g/APKBUILD8
-rw-r--r--main/obex-data-server/APKBUILD8
-rw-r--r--main/obexd/APKBUILD5
-rw-r--r--main/ocfs2-tools/APKBUILD8
-rw-r--r--main/oidentd/APKBUILD8
-rw-r--r--main/open-lldp/APKBUILD8
-rw-r--r--main/open-vm-tools-grsec/APKBUILD5
-rw-r--r--main/open-vm-tools/APKBUILD5
-rw-r--r--main/openbox/APKBUILD5
-rw-r--r--main/openjdk6/APKBUILD7
-rw-r--r--main/openldap/APKBUILD5
-rw-r--r--main/openntpd/APKBUILD5
-rw-r--r--main/openobex/APKBUILD5
-rw-r--r--main/openresolv/APKBUILD7
-rw-r--r--main/openssh/APKBUILD33
-rw-r--r--main/openssl/APKBUILD3
-rw-r--r--main/openvpn-auth-ldap/APKBUILD5
-rw-r--r--main/openvpn/APKBUILD8
-rw-r--r--main/oprofile/APKBUILD8
-rw-r--r--main/orage/APKBUILD8
-rw-r--r--main/orbit2/APKBUILD7
-rw-r--r--main/orc/APKBUILD5
-rw-r--r--main/ortp/APKBUILD5
-rw-r--r--main/osmo/APKBUILD6
-rw-r--r--main/p11-kit/APKBUILD2
-rw-r--r--main/pacman/APKBUILD5
-rw-r--r--main/pam-pgsql/APKBUILD5
-rw-r--r--main/pango/APKBUILD8
-rw-r--r--main/pangomm/APKBUILD6
-rw-r--r--main/pangox-compat/APKBUILD5
-rw-r--r--main/parole/APKBUILD5
-rw-r--r--main/parted/APKBUILD8
-rw-r--r--main/patch/APKBUILD13
-rw-r--r--main/patchutils/APKBUILD5
-rw-r--r--main/pcre/APKBUILD8
-rw-r--r--main/pdnsd/APKBUILD5
-rw-r--r--main/pekwm/APKBUILD8
-rw-r--r--main/perdition/APKBUILD8
-rw-r--r--main/pgcluster/APKBUILD5
-rw-r--r--main/pgpool/APKBUILD2
-rw-r--r--main/php-apc/APKBUILD8
-rw-r--r--main/php-mailparse/APKBUILD6
-rw-r--r--main/php-xcache/APKBUILD2
-rw-r--r--main/php/APKBUILD4
-rw-r--r--main/pidgin-audacious/APKBUILD5
-rw-r--r--main/pidgin-otr/APKBUILD6
-rw-r--r--main/pidgin-sipe/APKBUILD5
-rw-r--r--main/pidgin/APKBUILD5
-rw-r--r--main/pinentry/APKBUILD8
-rw-r--r--main/pixman/APKBUILD8
-rw-r--r--main/pjproject/APKBUILD4
-rw-r--r--main/pkgconf/APKBUILD7
-rw-r--r--main/pm-utils/APKBUILD8
-rw-r--r--main/pmacct/APKBUILD8
-rw-r--r--main/polkit/APKBUILD8
-rw-r--r--main/poppler-gtk/APKBUILD5
-rw-r--r--main/poppler-qt4/APKBUILD5
-rw-r--r--main/poppler/APKBUILD5
-rw-r--r--main/popt/APKBUILD8
-rw-r--r--main/portaudio/APKBUILD5
-rw-r--r--main/postgresql/APKBUILD5
-rw-r--r--main/pound/APKBUILD7
-rw-r--r--main/ppp/APKBUILD6
-rw-r--r--main/printproto/APKBUILD6
-rw-r--r--main/privoxy/APKBUILD5
-rw-r--r--main/procps/APKBUILD8
-rw-r--r--main/psqlodbc/APKBUILD6
-rw-r--r--main/pth/APKBUILD8
-rw-r--r--main/putty/APKBUILD6
-rw-r--r--main/pwgen/APKBUILD8
-rw-r--r--main/py-cairo/APKBUILD3
-rw-r--r--main/py-dbus/APKBUILD5
-rw-r--r--main/py-gnome/APKBUILD12
-rw-r--r--main/py-gobject/APKBUILD5
-rw-r--r--main/py-gobject3/APKBUILD5
-rw-r--r--main/py-gst/APKBUILD5
-rw-r--r--main/py-gtk/APKBUILD6
-rw-r--r--main/python/APKBUILD5
-rw-r--r--main/qemu/APKBUILD5
-rw-r--r--main/qpdf/APKBUILD5
-rw-r--r--main/qt/APKBUILD1
-rw-r--r--main/quagga/APKBUILD5
-rw-r--r--main/radvd/APKBUILD5
-rw-r--r--main/randrproto/APKBUILD6
-rw-r--r--main/rarian/APKBUILD8
-rw-r--r--main/rdesktop/APKBUILD8
-rw-r--r--main/re2c/APKBUILD12
-rw-r--r--main/readline/APKBUILD5
-rw-r--r--main/recordmydesktop/APKBUILD5
-rw-r--r--main/recordproto/APKBUILD6
-rw-r--r--main/reiserfsprogs/APKBUILD8
-rw-r--r--main/remmina-xfce/APKBUILD5
-rw-r--r--main/renderproto/APKBUILD6
-rw-r--r--main/resourceproto/APKBUILD6
-rw-r--r--main/rest/APKBUILD5
-rw-r--r--main/rgb/APKBUILD7
-rw-r--r--main/ristretto/APKBUILD5
-rw-r--r--main/rp-pppoe/APKBUILD10
-rw-r--r--main/rpcbind/APKBUILD7
-rw-r--r--main/rrdcollect/APKBUILD5
-rw-r--r--main/rrdtool/APKBUILD5
-rw-r--r--main/rsync/APKBUILD16
-rw-r--r--main/rsyslog/APKBUILD5
-rw-r--r--main/rt4/APKBUILD5
-rw-r--r--main/rtorrent/APKBUILD24
-rw-r--r--main/rtpproxy/APKBUILD8
-rw-r--r--main/ruby/APKBUILD14
-rw-r--r--main/run-parts/APKBUILD6
-rw-r--r--main/rxvt-unicode/APKBUILD5
-rw-r--r--main/samba/APKBUILD8
-rw-r--r--main/screen/APKBUILD5
-rw-r--r--main/scrnsaverproto/APKBUILD6
-rw-r--r--main/scrot/APKBUILD7
-rw-r--r--main/sdl/APKBUILD8
-rw-r--r--main/sdl_image/APKBUILD8
-rw-r--r--main/sdl_mixer/APKBUILD8
-rw-r--r--main/sed/APKBUILD8
-rw-r--r--main/sessreg/APKBUILD7
-rw-r--r--main/setxkbmap/APKBUILD6
-rw-r--r--main/sfic/APKBUILD6
-rw-r--r--main/sg3_utils/APKBUILD8
-rw-r--r--main/shared-mime-info/APKBUILD8
-rw-r--r--main/shotwell/APKBUILD8
-rw-r--r--main/sipsak/APKBUILD4
-rw-r--r--main/slang/APKBUILD5
-rw-r--r--main/smartmontools/APKBUILD7
-rw-r--r--main/smokeping/APKBUILD5
-rw-r--r--main/smstools/APKBUILD8
-rw-r--r--main/snort/APKBUILD16
-rw-r--r--main/socat/APKBUILD6
-rw-r--r--main/sox/APKBUILD8
-rw-r--r--main/spandsp/APKBUILD8
-rw-r--r--main/speex/APKBUILD8
-rw-r--r--main/spice-gtk/APKBUILD5
-rw-r--r--main/spice-protocol/APKBUILD5
-rw-r--r--main/spice/APKBUILD5
-rw-r--r--main/sqlite/APKBUILD5
-rw-r--r--main/sqsh/APKBUILD9
-rw-r--r--main/squid/APKBUILD5
-rw-r--r--main/sshfs/APKBUILD6
-rw-r--r--main/sshguard/APKBUILD5
-rw-r--r--main/sshpass/APKBUILD5
-rw-r--r--main/ssmtp/APKBUILD8
-rw-r--r--main/startup-notification/APKBUILD5
-rw-r--r--main/strace/APKBUILD7
-rw-r--r--main/subversion/APKBUILD8
-rw-r--r--main/sudo/APKBUILD7
-rw-r--r--main/swfdec-mozilla/APKBUILD8
-rw-r--r--main/swfdec/APKBUILD8
-rw-r--r--main/swig/APKBUILD6
-rw-r--r--main/swish-e/APKBUILD8
-rw-r--r--main/sylpheed/APKBUILD8
-rw-r--r--main/sysfsutils/APKBUILD8
-rw-r--r--main/sysstat/APKBUILD8
-rw-r--r--main/talloc/APKBUILD8
-rw-r--r--main/tango-icon-theme/APKBUILD6
-rw-r--r--main/tar/APKBUILD8
-rw-r--r--main/tcl/APKBUILD29
-rw-r--r--main/tcpdump/APKBUILD2
-rw-r--r--main/tcpflow/APKBUILD2
-rw-r--r--main/testdisk/APKBUILD8
-rw-r--r--main/texinfo/APKBUILD11
-rw-r--r--main/tftp-hpa/APKBUILD8
-rw-r--r--main/thunar-archive-plugin/APKBUILD8
-rw-r--r--main/thunar-vcs-plugin/APKBUILD5
-rw-r--r--main/thunar-volman/APKBUILD8
-rw-r--r--main/thunar/APKBUILD5
-rw-r--r--main/tiff/APKBUILD8
-rw-r--r--main/tig/APKBUILD2
-rw-r--r--main/tinc/APKBUILD8
-rw-r--r--main/tinyproxy/APKBUILD7
-rw-r--r--main/tlsdate/APKBUILD8
-rw-r--r--main/tmux/APKBUILD5
-rw-r--r--main/transmission/APKBUILD13
-rw-r--r--main/tumbler/APKBUILD5
-rw-r--r--main/tvheadend/APKBUILD17
-rw-r--r--main/ucarp/APKBUILD8
-rw-r--r--main/udev/APKBUILD5
-rw-r--r--main/udisks/APKBUILD5
-rw-r--r--main/udisks2/APKBUILD5
-rw-r--r--main/ulogd/APKBUILD8
-rw-r--r--main/umix/APKBUILD8
-rw-r--r--main/unbound/APKBUILD5
-rw-r--r--main/unfs3/APKBUILD8
-rw-r--r--main/unixodbc/APKBUILD8
-rw-r--r--main/upower/APKBUILD8
-rw-r--r--main/usbredir/APKBUILD5
-rw-r--r--main/usbutils/APKBUILD8
-rw-r--r--main/util-macros/APKBUILD6
-rw-r--r--main/util-vserver/APKBUILD5
-rw-r--r--main/v4l-utils/APKBUILD17
-rw-r--r--main/v86d/APKBUILD6
-rw-r--r--main/vala/APKBUILD8
-rw-r--r--main/valgrind/APKBUILD10
-rw-r--r--main/vanessa_adt/APKBUILD8
-rw-r--r--main/vanessa_logger/APKBUILD8
-rw-r--r--main/vanessa_socket/APKBUILD8
-rw-r--r--main/varnish/APKBUILD5
-rw-r--r--main/vde2/APKBUILD5
-rw-r--r--main/videoproto/APKBUILD6
-rw-r--r--main/vim/APKBUILD8
-rw-r--r--main/vlc/APKBUILD5
-rw-r--r--main/vte/APKBUILD5
-rw-r--r--main/vte3/APKBUILD5
-rw-r--r--main/wavpack/APKBUILD8
-rw-r--r--main/webkitgtk/APKBUILD5
-rw-r--r--main/wget/APKBUILD2
-rw-r--r--main/wine/APKBUILD8
-rw-r--r--main/wireshark/APKBUILD8
-rw-r--r--main/wv/APKBUILD8
-rw-r--r--main/wxgtk/APKBUILD5
-rw-r--r--main/x264/APKBUILD8
-rw-r--r--main/xarchiver/APKBUILD8
-rw-r--r--main/xauth/APKBUILD6
-rw-r--r--main/xbacklight/APKBUILD7
-rw-r--r--main/xbitmaps/APKBUILD6
-rw-r--r--main/xbmc-pvr-addons/APKBUILD5
-rw-r--r--main/xbmc/APKBUILD5
-rw-r--r--main/xcb-proto/APKBUILD6
-rw-r--r--main/xcb-util-image/APKBUILD5
-rw-r--r--main/xcb-util-keysyms/APKBUILD5
-rw-r--r--main/xcb-util-renderutil/APKBUILD5
-rw-r--r--main/xcb-util-wm/APKBUILD5
-rw-r--r--main/xcb-util/APKBUILD7
-rw-r--r--main/xchat/APKBUILD8
-rw-r--r--main/xcmiscproto/APKBUILD6
-rw-r--r--main/xcmsdb/APKBUILD7
-rw-r--r--main/xdelta3/APKBUILD6
-rw-r--r--main/xdg-utils/APKBUILD8
-rw-r--r--main/xdpyinfo/APKBUILD8
-rw-r--r--main/xdriinfo/APKBUILD8
-rw-r--r--main/xen/APKBUILD5
-rw-r--r--main/xev/APKBUILD8
-rw-r--r--main/xextproto/APKBUILD6
-rw-r--r--main/xf86-input-evdev/APKBUILD5
-rw-r--r--main/xf86-input-keyboard/APKBUILD6
-rw-r--r--main/xf86-input-mouse/APKBUILD6
-rw-r--r--main/xf86-input-synaptics/APKBUILD6
-rw-r--r--main/xf86-input-vmmouse/APKBUILD6
-rw-r--r--main/xf86-video-apm/APKBUILD6
-rw-r--r--main/xf86-video-ark/APKBUILD6
-rw-r--r--main/xf86-video-ast/APKBUILD6
-rw-r--r--main/xf86-video-ati/APKBUILD5
-rw-r--r--main/xf86-video-chips/APKBUILD6
-rw-r--r--main/xf86-video-cirrus/APKBUILD6
-rw-r--r--main/xf86-video-dummy/APKBUILD6
-rw-r--r--main/xf86-video-fbdev/APKBUILD6
-rw-r--r--main/xf86-video-geode/APKBUILD6
-rw-r--r--main/xf86-video-glint/APKBUILD6
-rw-r--r--main/xf86-video-i128/APKBUILD6
-rw-r--r--main/xf86-video-i740/APKBUILD6
-rw-r--r--main/xf86-video-intel/APKBUILD5
-rw-r--r--main/xf86-video-mach64/APKBUILD6
-rw-r--r--main/xf86-video-nouveau/APKBUILD6
-rw-r--r--main/xf86-video-nv/APKBUILD6
-rw-r--r--main/xf86-video-openchrome/APKBUILD6
-rw-r--r--main/xf86-video-qxl/APKBUILD5
-rw-r--r--main/xf86-video-r128/APKBUILD5
-rw-r--r--main/xf86-video-rendition/APKBUILD6
-rw-r--r--main/xf86-video-s3/APKBUILD6
-rw-r--r--main/xf86-video-s3virge/APKBUILD6
-rw-r--r--main/xf86-video-savage/APKBUILD6
-rw-r--r--main/xf86-video-siliconmotion/APKBUILD6
-rw-r--r--main/xf86-video-sis/APKBUILD6
-rw-r--r--main/xf86-video-sunleo/APKBUILD6
-rw-r--r--main/xf86-video-tdfx/APKBUILD6
-rw-r--r--main/xf86-video-v4l/APKBUILD6
-rw-r--r--main/xf86-video-vesa/APKBUILD6
-rw-r--r--main/xf86-video-vmware/APKBUILD6
-rw-r--r--main/xf86-video-xgixp/APKBUILD6
-rw-r--r--main/xf86bigfontproto/APKBUILD6
-rw-r--r--main/xf86dgaproto/APKBUILD6
-rw-r--r--main/xf86driproto/APKBUILD6
-rw-r--r--main/xf86miscproto/APKBUILD6
-rw-r--r--main/xf86vidmodeproto/APKBUILD6
-rw-r--r--main/xfburn/APKBUILD8
-rw-r--r--main/xfce-utils/APKBUILD5
-rw-r--r--main/xfce4-appfinder/APKBUILD8
-rw-r--r--main/xfce4-battery-plugin/APKBUILD8
-rw-r--r--main/xfce4-clipman-plugin/APKBUILD5
-rw-r--r--main/xfce4-cpufreq-plugin/APKBUILD8
-rw-r--r--main/xfce4-cpugraph-plugin/APKBUILD5
-rw-r--r--main/xfce4-dev-tools/APKBUILD8
-rw-r--r--main/xfce4-mixer/APKBUILD8
-rw-r--r--main/xfce4-notes-plugin/APKBUILD8
-rw-r--r--main/xfce4-notifyd/APKBUILD8
-rw-r--r--main/xfce4-panel/APKBUILD8
-rw-r--r--main/xfce4-power-manager/APKBUILD5
-rw-r--r--main/xfce4-screenshooter/APKBUILD8
-rw-r--r--main/xfce4-session/APKBUILD5
-rw-r--r--main/xfce4-settings/APKBUILD8
-rw-r--r--main/xfce4-taskmanager/APKBUILD8
-rw-r--r--main/xfce4-terminal/APKBUILD5
-rw-r--r--main/xfce4-vala/APKBUILD8
-rw-r--r--main/xfce4-wavelan-plugin/APKBUILD5
-rw-r--r--main/xfce4-xkb-plugin/APKBUILD8
-rw-r--r--main/xfconf/APKBUILD8
-rw-r--r--main/xfdesktop/APKBUILD8
-rw-r--r--main/xfsprogs/APKBUILD8
-rw-r--r--main/xfwm4-themes/APKBUILD8
-rw-r--r--main/xfwm4/APKBUILD8
-rw-r--r--main/xgamma/APKBUILD7
-rw-r--r--main/xhost/APKBUILD7
-rw-r--r--main/xineramaproto/APKBUILD6
-rw-r--r--main/xinit/APKBUILD5
-rw-r--r--main/xkbcomp/APKBUILD8
-rw-r--r--main/xkeyboard-config/APKBUILD8
-rw-r--r--main/xmlrpc-c/APKBUILD14
-rw-r--r--main/xmlto/APKBUILD8
-rw-r--r--main/xmodmap/APKBUILD7
-rw-r--r--main/xorg-server/APKBUILD5
-rw-r--r--main/xprop/APKBUILD5
-rw-r--r--main/xproto/APKBUILD6
-rw-r--r--main/xrandr/APKBUILD7
-rw-r--r--main/xrdb/APKBUILD7
-rw-r--r--main/xrefresh/APKBUILD7
-rw-r--r--main/xscreensaver/APKBUILD5
-rw-r--r--main/xset/APKBUILD7
-rw-r--r--main/xsetmode/APKBUILD7
-rw-r--r--main/xsetroot/APKBUILD7
-rw-r--r--main/xtables-addons-grsec/APKBUILD8
-rw-r--r--main/xtables-addons/APKBUILD8
-rw-r--r--main/xtrans/APKBUILD6
-rw-r--r--main/xvidcore/APKBUILD8
-rw-r--r--main/xvinfo/APKBUILD8
-rw-r--r--main/xwininfo/APKBUILD8
-rw-r--r--main/xz/APKBUILD8
-rw-r--r--main/yaml/APKBUILD5
-rw-r--r--main/yasm/APKBUILD6
-rw-r--r--main/zabbix/APKBUILD8
-rw-r--r--main/zenity/APKBUILD8
-rw-r--r--main/zeromq/APKBUILD8
-rw-r--r--main/zlib/APKBUILD8
-rw-r--r--main/znc/APKBUILD5
-rw-r--r--main/zsh/APKBUILD8
-rw-r--r--main/zsnes/APKBUILD8
950 files changed, 5024 insertions, 1518 deletions
diff --git a/main/a2ps/APKBUILD b/main/a2ps/APKBUILD
index d5bb45a582..72f35c7a47 100644
--- a/main/a2ps/APKBUILD
+++ b/main/a2ps/APKBUILD
@@ -36,10 +36,14 @@ prepare() {
build() {
cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc/a2ps \
--includedir=/usr/include \
- --disable-nls || return 1
+ --disable-nls \
+ || return 1
make
}
diff --git a/main/a52dec/APKBUILD b/main/a52dec/APKBUILD
index 69274feca4..16b63aaddf 100644
--- a/main/a52dec/APKBUILD
+++ b/main/a52dec/APKBUILD
@@ -27,7 +27,10 @@ prepare() {
build ()
{
cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--enable-shared \
|| return 1
make || return 1
diff --git a/main/abiword/APKBUILD b/main/abiword/APKBUILD
index 5845ae2e2c..e961420b04 100644
--- a/main/abiword/APKBUILD
+++ b/main/abiword/APKBUILD
@@ -46,7 +46,10 @@ prepare() {
build() {
cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--enable-shared \
--disable-static \
--enable-plugins \
diff --git a/main/acct/APKBUILD b/main/acct/APKBUILD
index 921cdca414..d0a7142f9b 100644
--- a/main/acct/APKBUILD
+++ b/main/acct/APKBUILD
@@ -25,10 +25,14 @@ build() {
cd "$srcdir/$pkgname-$pkgver"
# seems like this makefile does not respect DESTDIR
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--mandir="$pkgdir"/usr/share/man \
--infodir="$pkgdir"/usr/share/info \
- --enable-linux-multiformat
+ --enable-linux-multiformat \
+ || return 1
make LDADD="-lm lib/libgnu.la" || return 1
}
diff --git a/main/acl/APKBUILD b/main/acl/APKBUILD
index bed3e6301c..de8153af4a 100644
--- a/main/acl/APKBUILD
+++ b/main/acl/APKBUILD
@@ -29,7 +29,10 @@ build() {
unset PLATFORM
export OPTIMIZER="${CFLAGS}"
export DEBUG=-DNDEBUG
- CONFIG_SHELL=/bin/sh ./configure --prefix=/usr \
+ CONFIG_SHELL=/bin/sh ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--libdir=/lib \
--libexecdir=/usr/lib \
--disable-gettext \
diff --git a/main/afpfs-ng/APKBUILD b/main/afpfs-ng/APKBUILD
index d5f94c3716..347b149407 100644
--- a/main/afpfs-ng/APKBUILD
+++ b/main/afpfs-ng/APKBUILD
@@ -41,7 +41,10 @@ build() {
if [ "$ALPINE_LIBC" != "eglibc" ]; then
export LDFLAGS="$LDFLAGS -liconv"
fi
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
diff --git a/main/alpine/APKBUILD b/main/alpine/APKBUILD
index e379a371ab..fe37375374 100644
--- a/main/alpine/APKBUILD
+++ b/main/alpine/APKBUILD
@@ -37,12 +37,16 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--without-passfile \
--without-tcl \
--disable-shared \
--with-system-pinerc=/etc/alpine.d/pine.conf \
- --with-system-fixed-pinerc=/etc/alpine.d/pine.conf.fixed
+ --with-system-fixed-pinerc=/etc/alpine.d/pine.conf.fixed \
+ || return 1
make
}
diff --git a/main/alsa-lib/APKBUILD b/main/alsa-lib/APKBUILD
index 7b967df1ac..ab945f67f5 100644
--- a/main/alsa-lib/APKBUILD
+++ b/main/alsa-lib/APKBUILD
@@ -11,7 +11,10 @@ subpackages="$pkgname-dev"
source="http://alsa.cybermirror.org/lib/$pkgname-$pkgver.tar.bz2"
build() {
cd "$srcdir/$pkgname-$pkgver"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--disable-python \
--disable-static \
--disable-resmgr \
diff --git a/main/alsa-utils/APKBUILD b/main/alsa-utils/APKBUILD
index e9e60510b6..ea0db53006 100644
--- a/main/alsa-utils/APKBUILD
+++ b/main/alsa-utils/APKBUILD
@@ -30,7 +30,10 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--disable-xmlto \
--disable-nls \
|| return 1
diff --git a/main/apache-mod-auth-kerb/APKBUILD b/main/apache-mod-auth-kerb/APKBUILD
index 9e4dfd66ae..3ccc9f8e92 100644
--- a/main/apache-mod-auth-kerb/APKBUILD
+++ b/main/apache-mod-auth-kerb/APKBUILD
@@ -29,10 +29,14 @@ prepare() {
build() {
cd $srcdir/$_pkgname-$pkgver
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--with-krb5=/usr \
--without-krb4 \
- --with-apache=/usr
+ --with-apache=/usr \
+ || return 1
make -j1 || return 1
}
diff --git a/main/apache2/APKBUILD b/main/apache2/APKBUILD
index db5d211c85..9b689ac912 100644
--- a/main/apache2/APKBUILD
+++ b/main/apache2/APKBUILD
@@ -37,7 +37,10 @@ prepare() {
build() {
cd "$srcdir"/httpd-$pkgver
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--enable-layout=Alpine \
--enable-so \
--enable-suexec \
@@ -52,15 +55,19 @@ build() {
--with-pcre=/usr \
--enable-mods-shared=all \
--enable-mpms-shared=all \
- --enable-ssl --with-ssl \
+ --enable-ssl \
+ --with-ssl \
--enable-proxy \
--enable-cache \
--enable-disk-cache \
--enable-mem-cache \
--enable-file-cache \
- --enable-ldap --enable-authnz-ldap \
- --enable-cgid --enable-cgi \
- --enable-authn-anon --enable-authn-alias \
+ --enable-ldap \
+ --enable-authnz-ldap \
+ --enable-cgid \
+ --enable-cgi \
+ --enable-authn-anon \
+ --enable-authn-alias \
--disable-imagemap \
--enable-proxy-connect \
--enable-proxy-http \
diff --git a/main/apcupsd/APKBUILD b/main/apcupsd/APKBUILD
index eb04436737..31a6d5a1ba 100644
--- a/main/apcupsd/APKBUILD
+++ b/main/apcupsd/APKBUILD
@@ -22,10 +22,14 @@ build() {
export LANG="C"
ac_cv_path_SHUTDOWN="/sbin/poweroff" \
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--mandir=/usr/share/man \
--enable-usb \
- --enable-snmp
+ --enable-snmp \
+ || return 1
make || return 1
}
diff --git a/main/apr-util/APKBUILD b/main/apr-util/APKBUILD
index 313fe053dc..f08d81db30 100644
--- a/main/apr-util/APKBUILD
+++ b/main/apr-util/APKBUILD
@@ -17,7 +17,10 @@ source="http://www.apache.org/dist/apr/$pkgname-$pkgver.tar.bz2"
build() {
cd "$srcdir/$pkgname-$pkgver"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--with-apr=/usr \
--with-ldap \
--with-pgsql \
diff --git a/main/apr/APKBUILD b/main/apr/APKBUILD
index 6c0546caf3..fe1bfb7e5a 100644
--- a/main/apr/APKBUILD
+++ b/main/apr/APKBUILD
@@ -21,10 +21,14 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--datadir=/usr/share \
--enable-nonportable-atomics \
- --with-devrandom=/dev/urandom
+ --with-devrandom=/dev/urandom \
+ || return 1
make || return 1
}
diff --git a/main/argp-standalone/APKBUILD b/main/argp-standalone/APKBUILD
index 74765d5dec..485930bb31 100644
--- a/main/argp-standalone/APKBUILD
+++ b/main/argp-standalone/APKBUILD
@@ -26,7 +26,11 @@ prepare() {
}
build() {
cd "$_builddir"
- ./configure --prefix=/usr
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ || return 1
make || return 1
}
package() {
diff --git a/main/aria2/APKBUILD b/main/aria2/APKBUILD
index 7ff9aeff50..466093ad9b 100644
--- a/main/aria2/APKBUILD
+++ b/main/aria2/APKBUILD
@@ -27,7 +27,10 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--disable-nls \
--with-ca-bundle=/etc/ssl/certs/ca-certificates.crt \
|| return 1
diff --git a/main/arpwatch/APKBUILD b/main/arpwatch/APKBUILD
index 6679be4dab..94ce2ce64d 100644
--- a/main/arpwatch/APKBUILD
+++ b/main/arpwatch/APKBUILD
@@ -53,10 +53,14 @@ prepare() {
build() {
cd $_builddir
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
- --infodir=/usr/share/info
+ --infodir=/usr/share/info \
+ || return 1
make -j1 || return 1
}
diff --git a/main/asciidoc/APKBUILD b/main/asciidoc/APKBUILD
index 31657e05d6..60f233058e 100644
--- a/main/asciidoc/APKBUILD
+++ b/main/asciidoc/APKBUILD
@@ -25,7 +25,10 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
diff --git a/main/aspell-en/APKBUILD b/main/aspell-en/APKBUILD
index be1621e2b3..7f79a21b39 100644
--- a/main/aspell-en/APKBUILD
+++ b/main/aspell-en/APKBUILD
@@ -13,7 +13,10 @@ source="ftp://ftp.gnu.org/gnu/aspell/dict/en/aspell6-en-$pkgver-0.tar.bz2"
_builddir="$srcdir"/aspell6-en-$pkgver-0
build () {
cd "$_builddir"
- ./configure || return 1
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ || return 1
make || return 1
}
diff --git a/main/aspell/APKBUILD b/main/aspell/APKBUILD
index bbb75cf77f..7397ce1ace 100644
--- a/main/aspell/APKBUILD
+++ b/main/aspell/APKBUILD
@@ -16,7 +16,11 @@ source="ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz
build() {
cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr || return 1
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ || return 1
# we want add -lm to linker flag for libaspell so wil build that
# separately. this is just an ugly workaround
diff --git a/main/asterisk/APKBUILD b/main/asterisk/APKBUILD
index b994cdc79f..69d3cadb22 100644
--- a/main/asterisk/APKBUILD
+++ b/main/asterisk/APKBUILD
@@ -67,16 +67,27 @@ prepare() {
build() {
cd "$_builddir"
- SHA1SUM="$PWD"/build_tools/sha1sum-sh ./configure --prefix=/usr \
+ SHA1SUM="$PWD"/build_tools/sha1sum-sh ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--libdir=/usr/lib \
--localstatedir=/var \
- --disable-xmldoc --with-gsm=internal \
- --without-iconv --with-popt --with-z --with-newt \
- --with-unixodbc --with-postgres --with-tds \
- --with-dahdi --with-pri --with-tonezone \
+ --disable-xmldoc \
+ --with-gsm=internal \
+ --without-iconv \
+ --with-popt \
+ --with-z \
+ --with-newt \
+ --with-unixodbc \
+ --with-postgres \
+ --with-tds \
+ --with-dahdi \
+ --with-pri \
+ --with-tonezone \
--with-resample \
--with-sqlite3 \
--with-speex \
diff --git a/main/at-spi2-atk/APKBUILD b/main/at-spi2-atk/APKBUILD
index 217c70a6fe..6ff338f1de 100644
--- a/main/at-spi2-atk/APKBUILD
+++ b/main/at-spi2-atk/APKBUILD
@@ -27,7 +27,10 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
diff --git a/main/at-spi2-core/APKBUILD b/main/at-spi2-core/APKBUILD
index 1442926c1c..0e5eb5ad2e 100644
--- a/main/at-spi2-core/APKBUILD
+++ b/main/at-spi2-core/APKBUILD
@@ -27,7 +27,10 @@ prepare() {
build() {
cd "$_builddir"
- DATADIRNAME="share" ./configure --prefix=/usr \
+ DATADIRNAME="share" ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
|| return 1
diff --git a/main/aterm/APKBUILD b/main/aterm/APKBUILD
index e6b10ac440..0cab852435 100644
--- a/main/aterm/APKBUILD
+++ b/main/aterm/APKBUILD
@@ -16,12 +16,16 @@ build ()
{
cd "$srcdir"/$pkgname-$pkgver
patch -p1 < ../uclibc.patch || return 1
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--enable-transparency=yes \
--enable-background-image \
--enable-fading \
--enable-menubar \
- --enable-graphics
+ --enable-graphics \
+ || return 1
make || return 1
make prefix="$pkgdir"/usr install
}
diff --git a/main/atk/APKBUILD b/main/atk/APKBUILD
index 510bb9be95..005aa371af 100644
--- a/main/atk/APKBUILD
+++ b/main/atk/APKBUILD
@@ -14,7 +14,10 @@ source="http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$p
depends_dev="glib-dev"
build() {
cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--enable-introspection \
|| return 1
make || return 1
diff --git a/main/atkmm/APKBUILD b/main/atkmm/APKBUILD
index da8a981d20..d2d64639c0 100644
--- a/main/atkmm/APKBUILD
+++ b/main/atkmm/APKBUILD
@@ -15,7 +15,11 @@ replaces="gtkmm"
_builddir="$srcdir"/$pkgname-$pkgver
build() {
cd "$_builddir"
- ./configure --prefix=/usr
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ || return 1
make
}
diff --git a/main/attr/APKBUILD b/main/attr/APKBUILD
index a21e209ffa..c17cdd4f87 100644
--- a/main/attr/APKBUILD
+++ b/main/attr/APKBUILD
@@ -32,6 +32,8 @@ build() {
export DEBUG=-DNDEBUG
./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
--prefix=/ \
--exec-prefix=/ \
--sbindir=/bin \
@@ -42,7 +44,8 @@ build() {
--includedir=/usr/include \
--mandir=/usr/share/man \
--datadir=/usr/share \
- --disable-gettext || return 1
+ --disable-gettext \
+ || return 1
make LIBTOOL="libtool --tag=CC" || return 1
}
diff --git a/main/audacious-plugins/APKBUILD b/main/audacious-plugins/APKBUILD
index 6f7ba5c0ea..7ada856711 100644
--- a/main/audacious-plugins/APKBUILD
+++ b/main/audacious-plugins/APKBUILD
@@ -75,7 +75,10 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
diff --git a/main/audacity/APKBUILD b/main/audacity/APKBUILD
index e2fbe3b8d5..8333048c5d 100644
--- a/main/audacity/APKBUILD
+++ b/main/audacity/APKBUILD
@@ -29,7 +29,10 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--with-libsndfile=system \
diff --git a/main/augeas/APKBUILD b/main/augeas/APKBUILD
index 3536fbae88..ff7366c1fc 100644
--- a/main/augeas/APKBUILD
+++ b/main/augeas/APKBUILD
@@ -29,10 +29,14 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
- --infodir=/usr/share/info
+ --infodir=/usr/share/info \
+ || return 1
make || return 1
make tests || return 1
}
diff --git a/main/aumix/APKBUILD b/main/aumix/APKBUILD
index 6a2f304cfa..aef2bae5e9 100644
--- a/main/aumix/APKBUILD
+++ b/main/aumix/APKBUILD
@@ -18,11 +18,15 @@ prepare() {
build() {
cd "$srcdir"/aumix-$pkgver
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--mandir=/usr/share/man \
--without-gtk1 \
--without-gtk \
- --disable-nls
+ --disable-nls \
+ || return 1
make || return 1
}
diff --git a/main/autoconf/APKBUILD b/main/autoconf/APKBUILD
index e93797575a..b29fadad06 100644
--- a/main/autoconf/APKBUILD
+++ b/main/autoconf/APKBUILD
@@ -24,7 +24,11 @@ prepare() {
build() {
cd "$srcdir"/$pkgname-$pkgver
- M4=/usr/bin/m4 ./configure --prefix=/usr
+ M4=/usr/bin/m4 ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ || return 1
make || return 1
}
diff --git a/main/autoconf2.13/APKBUILD b/main/autoconf2.13/APKBUILD
index 0265210f70..f21a0dd0c4 100644
--- a/main/autoconf2.13/APKBUILD
+++ b/main/autoconf2.13/APKBUILD
@@ -25,7 +25,12 @@ prepare() {
build() {
cd "$_builddir"
- M4=/usr/bin/m4 ./configure --prefix=/usr --program-suffix=-2.13
+ M4=/usr/bin/m4 ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --program-suffix=-2.13 \
+ || return 1
make || return 1
}
diff --git a/main/automake/APKBUILD b/main/automake/APKBUILD
index ce12dadc6d..96f2e24e41 100644
--- a/main/automake/APKBUILD
+++ b/main/automake/APKBUILD
@@ -13,7 +13,11 @@ subpackages="$pkgname-doc"
build() {
cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ || return 1
make || return 1
}
diff --git a/main/avahi/APKBUILD b/main/avahi/APKBUILD
index 05b9a54098..bad49f3f6d 100644
--- a/main/avahi/APKBUILD
+++ b/main/avahi/APKBUILD
@@ -33,7 +33,10 @@ build ()
{
cd "$srcdir/$pkgname-$pkgver"
# we dont build autoipd since dhcpcd does same job
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--disable-autoipd \
@@ -47,7 +50,8 @@ build ()
--enable-compat-libdns_sd \
--enable-compat-howl \
--with-distro="gentoo" \
- --with-systemdsystemunitdir=/lib/systemd/system
+ --with-systemdsystemunitdir=/lib/systemd/system \
+ || return 1
make
}
diff --git a/main/avfs/APKBUILD b/main/avfs/APKBUILD
index 47c5c0218e..f4db7bb02f 100644
--- a/main/avfs/APKBUILD
+++ b/main/avfs/APKBUILD
@@ -22,7 +22,13 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --enable-fuse --enable-library --prefix=/usr
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --enable-fuse \
+ --enable-library \
+ --prefix=/usr \
+ || return 1
make || return 1
}
diff --git a/main/axel/APKBUILD b/main/axel/APKBUILD
index 1c2051c51f..e7b94c7c40 100644
--- a/main/axel/APKBUILD
+++ b/main/axel/APKBUILD
@@ -27,7 +27,10 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--etcdir=/etc \
--mandir=/usr/share/man \
--i18n=0 \
diff --git a/main/babl/APKBUILD b/main/babl/APKBUILD
index 2875aaf678..e3ea93c136 100644
--- a/main/babl/APKBUILD
+++ b/main/babl/APKBUILD
@@ -13,7 +13,11 @@ source="ftp://ftp.gimp.org/pub/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2"
build() {
cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr || return 1
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ || return 1
make || return 1
}
diff --git a/main/bacula-client/APKBUILD b/main/bacula-client/APKBUILD
index 4b8956089d..0b69988b60 100644
--- a/main/bacula-client/APKBUILD
+++ b/main/bacula-client/APKBUILD
@@ -44,24 +44,28 @@ prepare () {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
- --sysconfdir=/etc/bacula \
- --localstatedir=/var \
- --mandir=/usr/share/man \
- --docdir=/usr/share/doc \
- --infodir=/usr/share/info \
- --with-pid-dir=/var/run \
- --with-subsys-dir=/var/lock/subsys \
- --with-logdir=/var/log/bacula \
- --enable-largefile \
- --enable-client-only \
- --enable-smartalloc \
- --disable-nls \
- --with-openssl=/usr/include/openssl \
- --with-scriptdir=/etc/bacula/scripts \
- --with-working-dir=/var/lib/bacula \
- --with-fd-user=root \
- --with-fd-group=root
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc/bacula \
+ --localstatedir=/var \
+ --mandir=/usr/share/man \
+ --docdir=/usr/share/doc \
+ --infodir=/usr/share/info \
+ --with-pid-dir=/var/run \
+ --with-subsys-dir=/var/lock/subsys \
+ --with-logdir=/var/log/bacula \
+ --enable-largefile \
+ --enable-client-only \
+ --enable-smartalloc \
+ --disable-nls \
+ --with-openssl=/usr/include/openssl \
+ --with-scriptdir=/etc/bacula/scripts \
+ --with-working-dir=/var/lib/bacula \
+ --with-fd-user=root \
+ --with-fd-group=root \
+ || return 1
make || return 1
}
diff --git a/main/bacula/APKBUILD b/main/bacula/APKBUILD
index faa3e8f376..433e0dd6bf 100644
--- a/main/bacula/APKBUILD
+++ b/main/bacula/APKBUILD
@@ -50,31 +50,35 @@ prepare () {
build() {
cd "$srcdir/$pkgname-$pkgver"
- ./configure --prefix=/usr \
- --sysconfdir=/etc/bacula \
- --localstatedir=/var \
- --mandir=/usr/share/man \
- --docdir=/usr/share/doc \
- --infodir=/usr/share/info \
- --with-pid-dir=/var/run \
- --with-subsys-dir=/var/lock/subsys \
- --with-logdir=/var/log/bacula \
- --enable-largefile \
- --enable-smartalloc \
- --disable-nls \
- --with-openssl=/usr/include/openssl \
- --with-postgresql \
- --with-mysql \
- --with-sqlite3 \
- --with-scriptdir=/etc/bacula/scripts \
- --with-working-dir=/var/lib/bacula \
- --with-dir-user=bacula \
- --with-dir-group=bacula \
- --with-archivedir=/var/lib/bacula/archive \
- --with-sd-user=bacula \
- --with-sd-group=bacula \
- --with-fd-user=root \
- --with-fd-group=root
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc/bacula \
+ --localstatedir=/var \
+ --mandir=/usr/share/man \
+ --docdir=/usr/share/doc \
+ --infodir=/usr/share/info \
+ --with-pid-dir=/var/run \
+ --with-subsys-dir=/var/lock/subsys \
+ --with-logdir=/var/log/bacula \
+ --enable-largefile \
+ --enable-smartalloc \
+ --disable-nls \
+ --with-openssl=/usr/include/openssl \
+ --with-postgresql \
+ --with-mysql \
+ --with-sqlite3 \
+ --with-scriptdir=/etc/bacula/scripts \
+ --with-working-dir=/var/lib/bacula \
+ --with-dir-user=bacula \
+ --with-dir-group=bacula \
+ --with-archivedir=/var/lib/bacula/archive \
+ --with-sd-user=bacula \
+ --with-sd-group=bacula \
+ --with-fd-user=root \
+ --with-fd-group=root \
+ || return 1
make NO_ECHO= || return 1
}
diff --git a/main/bash/APKBUILD b/main/bash/APKBUILD
index 525c55941c..c0f7b3ff7d 100644
--- a/main/bash/APKBUILD
+++ b/main/bash/APKBUILD
@@ -47,15 +47,18 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --bindir=/bin \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
--with-curses \
--disable-nls \
--enable-readline \
--without-bash-malloc \
--with-installed-readline \
- --bindir=/bin \
- --mandir=/usr/share/man \
- --infodir=/usr/share/info \
|| return 1
make y.tab.c && make || return 1
}
diff --git a/main/bc/APKBUILD b/main/bc/APKBUILD
index 9625523f6d..91fe8f95d9 100644
--- a/main/bc/APKBUILD
+++ b/main/bc/APKBUILD
@@ -26,10 +26,14 @@ prepare() {
}
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
- --infodir=/usr/share/info
+ --infodir=/usr/share/info \
+ || return 1
make || return 1
}
diff --git a/main/bdftopcf/APKBUILD b/main/bdftopcf/APKBUILD
index 64445e269b..136f201aed 100644
--- a/main/bdftopcf/APKBUILD
+++ b/main/bdftopcf/APKBUILD
@@ -15,9 +15,13 @@ source="http://xorg.freedesktop.org//releases/individual/app/bdftopcf-$pkgver.ta
_builddir="$srcdir"/$pkgname-$pkgver
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--mandir=/usr/share/man \
- --with-mapdir=/usr/share/fonts/util || return 1
+ --with-mapdir=/usr/share/fonts/util \
+ || return 1
make || return 1
}
diff --git a/main/beecrypt/APKBUILD b/main/beecrypt/APKBUILD
index 89922c4102..344cc0a490 100644
--- a/main/beecrypt/APKBUILD
+++ b/main/beecrypt/APKBUILD
@@ -26,13 +26,17 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--enable-threads \
--enable-shared \
--without-java \
--without-python \
- --with-cplusplus=no
+ --with-cplusplus=no \
+ || return 1
make libaltdir=/usr/lib || return 1
}
diff --git a/main/bigreqsproto/APKBUILD b/main/bigreqsproto/APKBUILD
index 64937e21c1..da1424e9e7 100644
--- a/main/bigreqsproto/APKBUILD
+++ b/main/bigreqsproto/APKBUILD
@@ -12,7 +12,11 @@ source="http://xorg.freedesktop.org/releases/individual/proto/$pkgname-$pkgver.t
build() {
cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ || return 1
make || return 1
}
diff --git a/main/bind/APKBUILD b/main/bind/APKBUILD
index 58add51e8e..f4af2b90e8 100644
--- a/main/bind/APKBUILD
+++ b/main/bind/APKBUILD
@@ -48,7 +48,10 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc/bind \
--localstatedir=/var \
--with-openssl=/usr \
@@ -61,7 +64,8 @@ build() {
--with-libtool \
--with-randomdev=/dev/random \
--mandir=/usr/share/man \
- --infodir=/usr/share/info
+ --infodir=/usr/share/info \
+ || return 1
make || return 1
}
diff --git a/main/binutils/APKBUILD b/main/binutils/APKBUILD
index a2aa83b482..acc1ad4345 100644
--- a/main/binutils/APKBUILD
+++ b/main/binutils/APKBUILD
@@ -30,18 +30,20 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--with-build-sysroot="${CBUILDROOT}" \
- --build=${CBUILD} \
- --host=${CHOST} \
--target=${CTARGET} \
--disable-multilib \
--enable-shared \
--enable-64-bit-bfd \
--disable-werror \
- --disable-nls
+ --disable-nls \
+ || return 1
make || return 1
}
diff --git a/main/bison/APKBUILD b/main/bison/APKBUILD
index 6167d8c165..1aeb4f0876 100644
--- a/main/bison/APKBUILD
+++ b/main/bison/APKBUILD
@@ -18,16 +18,23 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--datadir=/usr/share \
--infodir=/usr/share/info \
- --mandir=/usr/share/man
+ --mandir=/usr/share/man \
+ || return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install
+ rm -rf "$pkgdir"/usr/lib/charset.alias
+ rmdir -p "$pkgdir"/usr/lib 2>/dev/null
+ return 0
}
md5sums="7be02eb973eccf388f1ae750fc09eed0 bison-2.7.1.tar.xz"
diff --git a/main/bitchx/APKBUILD b/main/bitchx/APKBUILD
index 41ac30f273..8cc9e96d6e 100644
--- a/main/bitchx/APKBUILD
+++ b/main/bitchx/APKBUILD
@@ -28,7 +28,10 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
diff --git a/main/bitlbee/APKBUILD b/main/bitlbee/APKBUILD
index ff4ce3930e..8feeb01b08 100644
--- a/main/bitlbee/APKBUILD
+++ b/main/bitlbee/APKBUILD
@@ -30,10 +30,14 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --ssl=openssl \
- --otr=plugin \
- --prefix=/usr \
- --etcdir=/etc/bitlbee || return 1
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --ssl=openssl \
+ --otr=plugin \
+ --prefix=/usr \
+ --etcdir=/etc/bitlbee \
+ || return 1
make || return 1
}
diff --git a/main/bluez-firmware/APKBUILD b/main/bluez-firmware/APKBUILD
index 70257c3755..c2430d0b37 100644
--- a/main/bluez-firmware/APKBUILD
+++ b/main/bluez-firmware/APKBUILD
@@ -12,7 +12,11 @@ source="http://bluez.sf.net/download/$pkgname-$pkgver.tar.gz"
build() {
cd "$srcdir/$pkgname-$pkgver"
- ./configure --libdir=/lib || return 1
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --libdir=/lib \
+ || return 1
make || return 1
}
diff --git a/main/bluez-hcidump/APKBUILD b/main/bluez-hcidump/APKBUILD
index dea82e7586..316b562f59 100644
--- a/main/bluez-hcidump/APKBUILD
+++ b/main/bluez-hcidump/APKBUILD
@@ -24,7 +24,10 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--mandir=/usr/share/man \
|| return 1
make || return 1
diff --git a/main/bluez/APKBUILD b/main/bluez/APKBUILD
index fde69fbdf2..e2209ae449 100644
--- a/main/bluez/APKBUILD
+++ b/main/bluez/APKBUILD
@@ -21,7 +21,10 @@ source="http://www.kernel.org/pub/linux/bluetooth/$pkgname-$pkgver.tar.bz2
_builddir="$srcdir"/$pkgname-$pkgver
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/share/man \
diff --git a/main/bridge-utils/APKBUILD b/main/bridge-utils/APKBUILD
index de02f9797e..df74070e26 100644
--- a/main/bridge-utils/APKBUILD
+++ b/main/bridge-utils/APKBUILD
@@ -14,7 +14,10 @@ source="http://downloads.sourceforge.net/project/bridge/bridge/bridge-utils-$pkg
build() {
cd "$srcdir"/$pkgname-$pkgver
autoconf
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--mandir=/usr/share/man \
--libdir=/usr/lib \
--includedir=/usr/include \
diff --git a/main/bwm-ng/APKBUILD b/main/bwm-ng/APKBUILD
index e4fcafbec1..dd51782337 100644
--- a/main/bwm-ng/APKBUILD
+++ b/main/bwm-ng/APKBUILD
@@ -14,11 +14,15 @@ source="http://www.gropp.org/$pkgname/$pkgname-$pkgver.tar.gz"
build ()
{
cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr \
- --with-libstatgrab \
- --with-procnetdev \
- --with-ncurses \
- --with-partitions
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --with-libstatgrab \
+ --with-procnetdev \
+ --with-ncurses \
+ --with-partitions \
+ || return 1
make || return 1
make DESTDIR="$pkgdir" install || return 1
diff --git a/main/c-ares/APKBUILD b/main/c-ares/APKBUILD
index 69c2c60565..4e9e7b105f 100644
--- a/main/c-ares/APKBUILD
+++ b/main/c-ares/APKBUILD
@@ -15,10 +15,14 @@ source="http://c-ares.haxx.se/download/${pkgname}-${pkgver}.tar.gz"
build() {
cd "$srcdir/$pkgname-$pkgver"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
- --enable-shared
+ --enable-shared \
+ || return 1
make || return 1
}
diff --git a/main/cabextract/APKBUILD b/main/cabextract/APKBUILD
index 13e03878fa..7933d58d16 100644
--- a/main/cabextract/APKBUILD
+++ b/main/cabextract/APKBUILD
@@ -23,10 +23,14 @@ build ()
{
cd $_builddir
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
- --infodir=/usr/share/info
+ --infodir=/usr/share/info \
+ || return 1
make || return 1
}
diff --git a/main/cairo/APKBUILD b/main/cairo/APKBUILD
index 2193b2d5f6..107445de02 100644
--- a/main/cairo/APKBUILD
+++ b/main/cairo/APKBUILD
@@ -16,7 +16,10 @@ source="http://cairographics.org/releases/$pkgname-$pkgver.tar.xz"
_builddir="$srcdir"/$pkgname-$pkgver
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--enable-ft \
@@ -28,7 +31,8 @@ build() {
--enable-xcb \
--enable-xlib-xrender \
--disable-xlib-xcb \
- --disable-static || return 1
+ --disable-static \
+ || return 1
make || return 1
}
diff --git a/main/cairomm/APKBUILD b/main/cairomm/APKBUILD
index 3fd3bc2831..89cf14b2f6 100644
--- a/main/cairomm/APKBUILD
+++ b/main/cairomm/APKBUILD
@@ -15,7 +15,11 @@ source="http://www.cairographics.org/releases/cairomm-$pkgver.tar.gz"
_builddir="$srcdir"/$pkgname-$pkgver
build() {
cd "$_builddir"
- ./configure --prefix=/usr || return 1
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ || return 1
make || return 1
}
diff --git a/main/ccache/APKBUILD b/main/ccache/APKBUILD
index a5bac7a879..2be0e0d464 100644
--- a/main/ccache/APKBUILD
+++ b/main/ccache/APKBUILD
@@ -14,7 +14,11 @@ source="http://samba.org/ftp/$pkgname/$pkgname-$pkgver.tar.gz"
build ()
{
cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ || return 1
make || return 1
}
diff --git a/main/cciss_vol_status/APKBUILD b/main/cciss_vol_status/APKBUILD
index 4260569b17..182ee80cfb 100644
--- a/main/cciss_vol_status/APKBUILD
+++ b/main/cciss_vol_status/APKBUILD
@@ -21,10 +21,14 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
- --infodir=/usr/share/info
+ --infodir=/usr/share/info \
+ || return 1
make || return 1
}
diff --git a/main/cdparanoia/APKBUILD b/main/cdparanoia/APKBUILD
index fc065c1772..10c37fc73a 100644
--- a/main/cdparanoia/APKBUILD
+++ b/main/cdparanoia/APKBUILD
@@ -31,7 +31,10 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
diff --git a/main/cegui06/APKBUILD b/main/cegui06/APKBUILD
index 34adeb874d..bf4ffd770b 100644
--- a/main/cegui06/APKBUILD
+++ b/main/cegui06/APKBUILD
@@ -31,7 +31,10 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
diff --git a/main/celt051/APKBUILD b/main/celt051/APKBUILD
index 86e05c8f0d..48a1955a9e 100644
--- a/main/celt051/APKBUILD
+++ b/main/celt051/APKBUILD
@@ -26,7 +26,10 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
diff --git a/main/cgdb/APKBUILD b/main/cgdb/APKBUILD
index 661e7a2fab..0f24fa91ec 100644
--- a/main/cgdb/APKBUILD
+++ b/main/cgdb/APKBUILD
@@ -19,8 +19,12 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
- --libdir=/usr/lib || return 1
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --libdir=/usr/lib \
+ || return 1
make || return 1
}
diff --git a/main/charybdis/APKBUILD b/main/charybdis/APKBUILD
index 4845ee7ae5..6b519be8a3 100644
--- a/main/charybdis/APKBUILD
+++ b/main/charybdis/APKBUILD
@@ -29,15 +29,18 @@ prepare() {
build() {
cd "$_builddir"
./configure \
- --prefix=/usr \
- --sysconfdir=/etc/charybdis \
- --localstatedir=/var \
- --libexecdir=/usr/lib \
- --disable-assert \
- --enable-ssl \
- --enable-ipv6 \
- --with-rundir=/var/run \
- --with-program-prefix=charybdis-
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc/charybdis \
+ --localstatedir=/var \
+ --libexecdir=/usr/lib \
+ --disable-assert \
+ --enable-ssl \
+ --enable-ipv6 \
+ --with-rundir=/var/run \
+ --with-program-prefix=charybdis- \
+ || return 1
make
}
@@ -55,7 +58,6 @@ package() {
sed -i -e "s/\"modules\"/\"\/usr\/lib\/charybdis\/modules\"/g" $pkgdir/etc/$pkgname/example.conf
sed -i -e "s/\"modules\/autoload\"/\"\/usr\/lib\/charybdis\/modules\/autoload\"/g" "$pkgdir"/etc/$pkgname/example.conf
sed -i -e "s/usr\/local\/ircd\/modules/usr\/lib\/charybdis\/modules/g" "$pkgdir"/etc/$pkgname/reference.conf
-
}
md5sums="54245396b829f8d19d3958cde9c3bd65 charybdis-3.4.2.tar.bz2
diff --git a/main/check/APKBUILD b/main/check/APKBUILD
index e7b8c84831..f3c04742e2 100644
--- a/main/check/APKBUILD
+++ b/main/check/APKBUILD
@@ -18,6 +18,8 @@ _builddir="$srcdir"/check-$pkgver
build() {
cd "$_builddir"
./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
--prefix=/usr \
--infodir=/usr/share/info \
|| return 1
diff --git a/main/chrony/APKBUILD b/main/chrony/APKBUILD
index 0dd4520282..1e3e27d76e 100644
--- a/main/chrony/APKBUILD
+++ b/main/chrony/APKBUILD
@@ -35,10 +35,14 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--infodir=/usr/share/info \
--mandir=/usr/share/man \
- --disable-readline
+ --disable-readline \
+ || return 1
make all docs || return 1
}
diff --git a/main/chrpath/APKBUILD b/main/chrpath/APKBUILD
index 29cb87b75b..0b4dd29d29 100644
--- a/main/chrpath/APKBUILD
+++ b/main/chrpath/APKBUILD
@@ -26,7 +26,10 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
diff --git a/main/cifs-utils/APKBUILD b/main/cifs-utils/APKBUILD
index 8f2ed90418..79e98755df 100644
--- a/main/cifs-utils/APKBUILD
+++ b/main/cifs-utils/APKBUILD
@@ -26,7 +26,11 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ || return 1
make AM_CFLAGS="" || return 1
}
diff --git a/main/cksfv/APKBUILD b/main/cksfv/APKBUILD
index cdf651fa99..b02f8b9e19 100644
--- a/main/cksfv/APKBUILD
+++ b/main/cksfv/APKBUILD
@@ -14,7 +14,11 @@ source="http://zakalwe.fi/~shd/foss/cksfv/files/${pkgname}-${pkgver}.tar.bz2"
build() {
cd "$srcdir/$pkgname-$pkgver"
- ./configure --prefix=/usr
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ || return 1
make || return 1
install -cD src/cksfv "$pkgdir"/usr/bin/cksfv
install -cD cksfv.1 "$pkgdir"/usr/share/man/man1/cksfv.1
diff --git a/main/clamav/APKBUILD b/main/clamav/APKBUILD
index 10d11ecd66..cb029bd849 100644
--- a/main/clamav/APKBUILD
+++ b/main/clamav/APKBUILD
@@ -34,7 +34,10 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--libdir=/usr/lib \
--sysconfdir=/etc/clamav \
--mandir=/usr/share/man \
@@ -44,7 +47,8 @@ build() {
--with-user=clamav \
--with-group=clamav \
--with-dbdir=/var/lib/clamav \
- --enable-clamdtop
+ --enable-clamdtop \
+ || return 1
make || return 1
}
diff --git a/main/clamsmtp/APKBUILD b/main/clamsmtp/APKBUILD
index 965129ad55..1bb0fe59ce 100644
--- a/main/clamsmtp/APKBUILD
+++ b/main/clamsmtp/APKBUILD
@@ -19,10 +19,14 @@ source="http://thewalter.net/stef/software/clamsmtp/clamsmtp-$pkgver.tar.gz
build() {
cd "$srcdir/$pkgname-$pkgver"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
- --infodir=/usr/share/info
+ --infodir=/usr/share/info \
+ || return 1
make || return 1
make DESTDIR="$pkgdir" install || return 1
diff --git a/main/claws-mail/APKBUILD b/main/claws-mail/APKBUILD
index 41637dd725..6ba16771db 100644
--- a/main/claws-mail/APKBUILD
+++ b/main/claws-mail/APKBUILD
@@ -51,7 +51,10 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--disable-static \
--enable-enchant \
--enable-gnutls \
diff --git a/main/cloog/APKBUILD b/main/cloog/APKBUILD
index 22ad47ac31..cc9be30a84 100644
--- a/main/cloog/APKBUILD
+++ b/main/cloog/APKBUILD
@@ -27,13 +27,14 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--localstatedir=/var \
- --build=${CBUILD} \
- --host=${CHOST} \
--with-sysroot=${CBUILDROOT} \
--with-isl=system \
|| return 1
diff --git a/main/cmph/APKBUILD b/main/cmph/APKBUILD
index 93a7887989..d94d85bba5 100644
--- a/main/cmph/APKBUILD
+++ b/main/cmph/APKBUILD
@@ -20,10 +20,14 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
- --infodir=/usr/share/info
+ --infodir=/usr/share/info \
+ || return 1
make || return 1
}
diff --git a/main/collectd/APKBUILD b/main/collectd/APKBUILD
index e6340fb1f7..8f1204c82e 100644
--- a/main/collectd/APKBUILD
+++ b/main/collectd/APKBUILD
@@ -38,7 +38,10 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc/collectd \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
diff --git a/main/compositeproto/APKBUILD b/main/compositeproto/APKBUILD
index 51a6cafced..5231d31ee1 100644
--- a/main/compositeproto/APKBUILD
+++ b/main/compositeproto/APKBUILD
@@ -12,7 +12,11 @@ source="http://xorg.freedesktop.org/releases/individual/proto/$pkgname-$pkgver.t
build() {
cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr || return 1
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ || return 1
make || return 1
}
diff --git a/main/confuse/APKBUILD b/main/confuse/APKBUILD
index c815c7aba3..f25ae900c6 100644
--- a/main/confuse/APKBUILD
+++ b/main/confuse/APKBUILD
@@ -16,9 +16,13 @@ build() {
# drop -Werror
sed -i -e 's/-Werror//' */Makefile.* || die
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--enable-shared \
- --disable-nls
+ --disable-nls \
+ || return 1
make || return 1
}
diff --git a/main/conky/APKBUILD b/main/conky/APKBUILD
index 9861c583b2..f719fd9a70 100644
--- a/main/conky/APKBUILD
+++ b/main/conky/APKBUILD
@@ -28,7 +28,10 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--enable-wlan \
--enable-rss \
diff --git a/main/conntrack-tools/APKBUILD b/main/conntrack-tools/APKBUILD
index c573aef53c..c94de67278 100644
--- a/main/conntrack-tools/APKBUILD
+++ b/main/conntrack-tools/APKBUILD
@@ -19,7 +19,11 @@ source="http://www.netfilter.org/projects/conntrack-tools/files/$pkgname-$pkgver
_builddir="$srcdir"/$pkgname-$pkgver
build() {
cd "$_builddir"
- ./configure --prefix=/usr
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ || return 1
make || return 1
}
diff --git a/main/consolekit/APKBUILD b/main/consolekit/APKBUILD
index 632ee1adce..91b4cfaf8f 100644
--- a/main/consolekit/APKBUILD
+++ b/main/consolekit/APKBUILD
@@ -29,7 +29,10 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
diff --git a/main/coova-chilli/APKBUILD b/main/coova-chilli/APKBUILD
index 3d33e22c81..0cf146528f 100644
--- a/main/coova-chilli/APKBUILD
+++ b/main/coova-chilli/APKBUILD
@@ -33,7 +33,10 @@ prepare() {
build() {
cd $_builddir
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
@@ -58,7 +61,8 @@ build() {
--enable-layer3 \
--enable-dhcpopt \
--enable-curl \
- --enable-largelimits
+ --enable-largelimits \
+ || return 1
export CFLAGS="$CFLAGS -Wno-error=unused-but-set-variable"
make -j1 || return 1
diff --git a/main/coreutils/APKBUILD b/main/coreutils/APKBUILD
index f41a27e22c..5dbcc347e7 100644
--- a/main/coreutils/APKBUILD
+++ b/main/coreutils/APKBUILD
@@ -16,7 +16,10 @@ source="http://ftp.gnu.org/gnu/coreutils/$pkgname-$pkgver.tar.xz"
build() {
cd "$srcdir/$pkgname-$pkgver"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
diff --git a/main/cpufreqd/APKBUILD b/main/cpufreqd/APKBUILD
index 803914dd2c..cd3961e59b 100644
--- a/main/cpufreqd/APKBUILD
+++ b/main/cpufreqd/APKBUILD
@@ -16,8 +16,12 @@ source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2
build ()
{
cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr \
- --sysconfdir=/etc
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ || return 1
make LIBS=-lpthread || return 1
}
diff --git a/main/cracklib/APKBUILD b/main/cracklib/APKBUILD
index 1a787df1b6..e8b05ce058 100644
--- a/main/cracklib/APKBUILD
+++ b/main/cracklib/APKBUILD
@@ -22,13 +22,17 @@ build() {
cd "$srcdir/$pkgname-$pkgver"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--without-python \
--disable-nls \
- --with-default-dict
+ --with-default-dict \
+ || return 1
make -j1 all || return 1
}
diff --git a/main/cryptsetup/APKBUILD b/main/cryptsetup/APKBUILD
index 1c4fe7bc1b..983667ee8a 100644
--- a/main/cryptsetup/APKBUILD
+++ b/main/cryptsetup/APKBUILD
@@ -13,7 +13,10 @@ source="http://$pkgname.googlecode.com/files/$pkgname-$pkgver.tar.bz2"
build() {
cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--libdir=/lib \
--sbindir=/sbin \
--disable-static \
diff --git a/main/ctags/APKBUILD b/main/ctags/APKBUILD
index 49cd2225c9..efb396a9a2 100644
--- a/main/ctags/APKBUILD
+++ b/main/ctags/APKBUILD
@@ -15,10 +15,14 @@ source="http://prdownloads.sourceforge.net/ctags/$pkgname-$pkgver.tar.gz"
build() {
cd "$srcdir/$pkgname-$pkgver"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
- --infodir=/usr/share/info
+ --infodir=/usr/share/info \
+ || return 1
make || return 1
install -m755 -D $pkgname "$pkgdir"/usr/bin/$pkgname
diff --git a/main/cups-filters/APKBUILD b/main/cups-filters/APKBUILD
index 11a6c3a35f..bfc9df85a6 100644
--- a/main/cups-filters/APKBUILD
+++ b/main/cups-filters/APKBUILD
@@ -29,7 +29,10 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
diff --git a/main/cups/APKBUILD b/main/cups/APKBUILD
index 9f67ee05b7..5ec9072e4e 100644
--- a/main/cups/APKBUILD
+++ b/main/cups/APKBUILD
@@ -35,7 +35,10 @@ prepare() {
build() {
cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--with-logdir=/var/log/cups \
@@ -54,7 +57,8 @@ build() {
--enable-ssl=yes \
--enable-gnutls \
--with-pdftops=pdftops \
- --with-optim="$CFLAGS"
+ --with-optim="$CFLAGS" \
+ || return 1
make || return 1
}
diff --git a/main/curl/APKBUILD b/main/curl/APKBUILD
index 2b56d520a3..d8cf8625b5 100644
--- a/main/curl/APKBUILD
+++ b/main/curl/APKBUILD
@@ -25,11 +25,15 @@ prepare() {
}
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--mandir=/usr/share/man \
--without-libidn \
--enable-ipv6 \
- --disable-ldap
+ --disable-ldap \
+ || return 1
make || return 1
}
diff --git a/main/cvechecker/APKBUILD b/main/cvechecker/APKBUILD
index 75021efe80..11e4a1656a 100644
--- a/main/cvechecker/APKBUILD
+++ b/main/cvechecker/APKBUILD
@@ -29,7 +29,10 @@ prepare() {
build() {
cd "$_builddir"
[ "$ALPINE_LIBC" != "eglibc" ] && export LIBS="-largp"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--enable-sqlite3 \
diff --git a/main/cvs/APKBUILD b/main/cvs/APKBUILD
index 03c7b8f55c..773cf46fd0 100644
--- a/main/cvs/APKBUILD
+++ b/main/cvs/APKBUILD
@@ -16,7 +16,10 @@ source="http://ftp.gnu.org/non-gnu/cvs/source/feature/$pkgver/$pkgname-$pkgver.t
_builddir="$srcdir"/$pkgname-$pkgver
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
diff --git a/main/cyrus-sasl/APKBUILD b/main/cyrus-sasl/APKBUILD
index 1ef87b3f79..fdef95e0ba 100644
--- a/main/cyrus-sasl/APKBUILD
+++ b/main/cyrus-sasl/APKBUILD
@@ -36,7 +36,10 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--disable-anon \
@@ -49,7 +52,8 @@ build() {
--with-devrandom=/dev/urandom \
--without-ldap \
--with-saslauthd=/var/run/saslauthd \
- --mandir=/usr/share/man || return 1
+ --mandir=/usr/share/man \
+ || return 1
# parallell builds is broken
make -j1 || return 1
}
diff --git a/main/dahdi-tools/APKBUILD b/main/dahdi-tools/APKBUILD
index 0c44555ddb..edc6bc2abd 100644
--- a/main/dahdi-tools/APKBUILD
+++ b/main/dahdi-tools/APKBUILD
@@ -19,7 +19,10 @@ _builddir="$srcdir"/$pkgname-$pkgver
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
diff --git a/main/damageproto/APKBUILD b/main/damageproto/APKBUILD
index 6a743ef3e9..0a40fbdadc 100644
--- a/main/damageproto/APKBUILD
+++ b/main/damageproto/APKBUILD
@@ -12,7 +12,11 @@ source="http://xorg.freedesktop.org/releases/individual/proto/$pkgname-$pkgver.t
build() {
cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ || return 1
make || return 1
}
diff --git a/main/dansguardian/APKBUILD b/main/dansguardian/APKBUILD
index 6de06f052c..de981dbcfa 100644
--- a/main/dansguardian/APKBUILD
+++ b/main/dansguardian/APKBUILD
@@ -39,7 +39,10 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
@@ -47,7 +50,8 @@ build() {
--with-proxygroup=dansguar \
--with-logdir=/var/log/dansguardian \
--with-piddir=/var/run/ \
- --enable-ntlm
+ --enable-ntlm \
+ || return 1
make || return 1
}
diff --git a/main/daq/APKBUILD b/main/daq/APKBUILD
index 303c7359bb..5ade2931fb 100644
--- a/main/daq/APKBUILD
+++ b/main/daq/APKBUILD
@@ -26,7 +26,10 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
diff --git a/main/darkice/APKBUILD b/main/darkice/APKBUILD
index 1cea48cfaa..5edd7f17a7 100644
--- a/main/darkice/APKBUILD
+++ b/main/darkice/APKBUILD
@@ -18,10 +18,14 @@ source="http://darkice.googlecode.com/files/$pkgname-$pkgver.tar.gz
_builddir=$srcdir/$pkgname-$pkgver
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc/darkice \
--without-aacplus \
- --without-twolame
+ --without-twolame \
+ || return 1
make || return 1
}
package() {
diff --git a/main/db/APKBUILD b/main/db/APKBUILD
index 2da5fde9e9..d1c333e854 100644
--- a/main/db/APKBUILD
+++ b/main/db/APKBUILD
@@ -24,12 +24,16 @@ build () {
done
cd build_unix
- ../dist/configure --prefix=/usr \
+ ../dist/configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--mandir=/usr/share/man \
--enable-compat185 \
--enable-shared \
--enable-cxx \
- --disable-static
+ --disable-static \
+ || return 1
make LIBSO_LIBS=-lpthread || return 1
}
diff --git a/main/dbus-glib/APKBUILD b/main/dbus-glib/APKBUILD
index 9942f6f872..cdfdd71a1e 100644
--- a/main/dbus-glib/APKBUILD
+++ b/main/dbus-glib/APKBUILD
@@ -14,11 +14,15 @@ depends_dev="glib-dev dbus-dev"
build() {
cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--enable-static=no \
- --enable-bash-completion=no || return 1
+ --enable-bash-completion=no \
+ || return 1
make || return 1
}
diff --git a/main/dbus/APKBUILD b/main/dbus/APKBUILD
index 253ce4cfa2..6562bf2b26 100644
--- a/main/dbus/APKBUILD
+++ b/main/dbus/APKBUILD
@@ -19,7 +19,10 @@ source="http://dbus.freedesktop.org/releases/dbus/dbus-$pkgver.tar.gz
build() {
cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--with-xml=expat \
@@ -31,7 +34,8 @@ build() {
--disable-dnotify \
--disable-tests \
--disable-asserts \
- --with-x || return 1
+ --with-x \
+ || return 1
make || return 1
}
diff --git a/main/dconf/APKBUILD b/main/dconf/APKBUILD
index d29c495b8b..14d7b0717e 100644
--- a/main/dconf/APKBUILD
+++ b/main/dconf/APKBUILD
@@ -30,8 +30,12 @@ prepare() {
build ()
{
cd "$_builddir"
- ./configure --prefix=/usr \
- --libexecdir=/usr/lib/dconf
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --libexecdir=/usr/lib/dconf \
+ || return 1
make V=1
}
diff --git a/main/desktop-file-utils/APKBUILD b/main/desktop-file-utils/APKBUILD
index 218b129510..b095bc5311 100644
--- a/main/desktop-file-utils/APKBUILD
+++ b/main/desktop-file-utils/APKBUILD
@@ -15,7 +15,11 @@ build ()
{
cd "$srcdir"/desktop-file-utils-$pkgver
- ./configure --prefix=/usr || return 1
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ || return 1
make || return 1
}
diff --git a/main/dhcp/APKBUILD b/main/dhcp/APKBUILD
index 15056385fa..0c0beb322a 100644
--- a/main/dhcp/APKBUILD
+++ b/main/dhcp/APKBUILD
@@ -31,7 +31,10 @@ build() {
cd "$srcdir/$pkgname-$_realver"
# fix ipv6
export CFLAGS="$CFLAGS -D_GNU_SOURCE"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc/dhcp \
--with-cli-pid-file=/var/run/dhcp/dhclient.pid \
--with-cli-lease-file=/var/lib/dhcp/dhclient.leases \
@@ -41,7 +44,8 @@ build() {
--enable-dhcpv6 \
--enable-paranoia \
--mandir=/usr/share/man \
- --infodir=/usr/share/info
+ --infodir=/usr/share/info \
+ || return 1
make || return 1
}
diff --git a/main/dhcpcd-dbus/APKBUILD b/main/dhcpcd-dbus/APKBUILD
index 79864853a2..cc3c9e0c77 100644
--- a/main/dhcpcd-dbus/APKBUILD
+++ b/main/dhcpcd-dbus/APKBUILD
@@ -14,7 +14,10 @@ source="http://roy.marples.name/downloads/dhcpcd/dhcpcd-dbus-$pkgver.tar.bz2"
build() {
cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--libexecdir=/usr/lib/$pkgname \
|| return 1
diff --git a/main/dhcpcd-ui/APKBUILD b/main/dhcpcd-ui/APKBUILD
index dd1ff56952..d2017c12f0 100644
--- a/main/dhcpcd-ui/APKBUILD
+++ b/main/dhcpcd-ui/APKBUILD
@@ -14,7 +14,11 @@ source="http://roy.marples.name/downloads/dhcpcd/$pkgname-$pkgver.tar.bz2"
build() {
cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ || return 1
make
}
diff --git a/main/dhcpcd/APKBUILD b/main/dhcpcd/APKBUILD
index e986414de0..ff0bfee4c2 100644
--- a/main/dhcpcd/APKBUILD
+++ b/main/dhcpcd/APKBUILD
@@ -16,7 +16,10 @@ source="http://roy.marples.name/downloads/dhcpcd/$pkgname-$pkgver.tar.bz2
build() {
cd "$srcdir/$pkgname-$pkgver"
- ./configure --libexecdir=/lib/dhcpcd \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --libexecdir=/lib/dhcpcd \
--dbdir=/var/lib/dhcpcd \
|| return 1
make
diff --git a/main/dialog/APKBUILD b/main/dialog/APKBUILD
index 4e3200d576..e27d565855 100644
--- a/main/dialog/APKBUILD
+++ b/main/dialog/APKBUILD
@@ -16,11 +16,15 @@ source="ftp://invisible-island.net/$pkgname/$pkgname-$_pkgver.tgz"
build() {
cd "$srcdir/$pkgname-$_pkgver"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
- --with-ncursesw
+ --with-ncursesw \
+ || return 1
make || return 1
}
diff --git a/main/diffutils/APKBUILD b/main/diffutils/APKBUILD
index 2f72f36a8e..218fed5e93 100644
--- a/main/diffutils/APKBUILD
+++ b/main/diffutils/APKBUILD
@@ -30,9 +30,13 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--mandir=/usr/share/man \
- --infodir=/usr/share/info
+ --infodir=/usr/share/info \
+ || return 1
make || return 1
}
diff --git a/main/dircproxy/APKBUILD b/main/dircproxy/APKBUILD
index 1bdbecf45e..f308892ea4 100644
--- a/main/dircproxy/APKBUILD
+++ b/main/dircproxy/APKBUILD
@@ -24,10 +24,14 @@ build() {
patch -p1 -i $i || return 1
done
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
- --infodir=/usr/share/info
+ --infodir=/usr/share/info \
+ || return 1
make || return 1
make DESTDIR="$pkgdir" install
diff --git a/main/distcc/APKBUILD b/main/distcc/APKBUILD
index 0ba9a0966d..46d9249e8d 100644
--- a/main/distcc/APKBUILD
+++ b/main/distcc/APKBUILD
@@ -26,7 +26,10 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--without-gtk \
--sysconfdir=/etc \
--disable-Werror \
diff --git a/main/dovecot/APKBUILD b/main/dovecot/APKBUILD
index 4375832ea5..08f4a0fe54 100644
--- a/main/dovecot/APKBUILD
+++ b/main/dovecot/APKBUILD
@@ -37,7 +37,10 @@ prepare() {
build() {
cd "$srcdir/$pkgname-$pkgver"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--localstatedir=/var \
--sysconfdir=/etc \
--mandir=/usr/share/man \
@@ -48,7 +51,8 @@ build() {
--with-mysql \
--with-sqlite \
--with-pgsql \
- --with-ssl=openssl || return 1
+ --with-ssl=openssl \
+ || return 1
make || return 1
}
diff --git a/main/doxygen/APKBUILD b/main/doxygen/APKBUILD
index e4dbccd816..441e39af2b 100644
--- a/main/doxygen/APKBUILD
+++ b/main/doxygen/APKBUILD
@@ -35,7 +35,11 @@ prepare() {
build() {
cd "$_builddir"
export ECFLAGS="$CFLAGS" ECXXFLAGS="$CXXFLAGS" ELDFLAGS="$LDFLAGS"
- ./configure --prefix /usr
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ || return 1
make || return 1
}
diff --git a/main/dpkg/APKBUILD b/main/dpkg/APKBUILD
index 556bbbf4b8..3c19ee557f 100644
--- a/main/dpkg/APKBUILD
+++ b/main/dpkg/APKBUILD
@@ -20,7 +20,10 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--with-zlib \
--with-bzip2 \
--disable-dselect \
diff --git a/main/dri2proto/APKBUILD b/main/dri2proto/APKBUILD
index feb0c5ddc9..b70e46ac7d 100644
--- a/main/dri2proto/APKBUILD
+++ b/main/dri2proto/APKBUILD
@@ -13,7 +13,11 @@ source="http://xorg.freedesktop.org/releases/individual/proto/$pkgname-$pkgver.t
_builddir="$srcdir"/$pkgname-$pkgver
build() {
cd "$_builddir"
- ./configure --prefix=/usr || return 1
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ || return 1
make || return 1
}
diff --git a/main/dropbear/APKBUILD b/main/dropbear/APKBUILD
index 1894f9ee92..003e0aa3d3 100644
--- a/main/dropbear/APKBUILD
+++ b/main/dropbear/APKBUILD
@@ -24,7 +24,10 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
|| return 1
make PROGRAMS="$_progs" MULTI=1 || return 1
}
diff --git a/main/dtach/APKBUILD b/main/dtach/APKBUILD
index 46cc03515d..8ca74ae164 100644
--- a/main/dtach/APKBUILD
+++ b/main/dtach/APKBUILD
@@ -14,7 +14,11 @@ subpackages="$pkgname-doc"
build() {
cd "$srcdir/$pkgname-$pkgver"
- ./configure --prefix=/usr
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ || return 1
make || return 1
install -Dm755 "$srcdir"/dtach-0.8/dtach "$pkgdir"/usr/bin/dtach
install -Dm644 "$srcdir"/dtach-0.8/dtach.1 "$pkgdir"/usr/share/man/man1/dtach.1
diff --git a/main/dvgrab/APKBUILD b/main/dvgrab/APKBUILD
index 53294c3787..7e9157bf7b 100644
--- a/main/dvgrab/APKBUILD
+++ b/main/dvgrab/APKBUILD
@@ -27,7 +27,10 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
diff --git a/main/e2fsprogs/APKBUILD b/main/e2fsprogs/APKBUILD
index 54caa74d8c..d3c3d824e3 100644
--- a/main/e2fsprogs/APKBUILD
+++ b/main/e2fsprogs/APKBUILD
@@ -22,6 +22,8 @@ prepare() {
build () {
cd "$_builddir"
./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
--mandir=/usr/share/man \
--enable-elf-shlibs \
--disable-fsck \
@@ -29,7 +31,8 @@ build () {
--disable-libuuid \
--disable-libblkid \
--disable-tls \
- --disable-nls
+ --disable-nls \
+ || return 1
make || return 1
}
diff --git a/main/eboard/APKBUILD b/main/eboard/APKBUILD
index a30231dbbd..769e30a10e 100644
--- a/main/eboard/APKBUILD
+++ b/main/eboard/APKBUILD
@@ -29,7 +29,10 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--man-prefix=/usr/share/man \
--extra-libs=dl \
|| return 1
diff --git a/main/eggdbus/APKBUILD b/main/eggdbus/APKBUILD
index 8ffbed9a98..25cb513260 100644
--- a/main/eggdbus/APKBUILD
+++ b/main/eggdbus/APKBUILD
@@ -22,11 +22,15 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
- --disable-static
+ --disable-static \
+ || return 1
make -j1 || return 1
}
diff --git a/main/eggdrop/APKBUILD b/main/eggdrop/APKBUILD
index fa6060c48e..b6eada515c 100644
--- a/main/eggdrop/APKBUILD
+++ b/main/eggdrop/APKBUILD
@@ -28,7 +28,10 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--with-tcllib=/usr/lib/libtcl8.6.so \
--with-tclinc=/usr/include/tcl.h \
|| return 1
diff --git a/main/eglibc/APKBUILD b/main/eglibc/APKBUILD
index 4d7711f3ed..179e15c8bc 100644
--- a/main/eglibc/APKBUILD
+++ b/main/eglibc/APKBUILD
@@ -45,6 +45,8 @@ build() {
cd "$_builddir"/eglibc-build
export CFLAGS="$CFLAGS -fno-stack-protector"
../configure \
+ --build=$CBUILD \
+ --host=$CHOST \
--build $CBUILD \
--host $CHOST \
--prefix=/usr \
diff --git a/main/elinks/APKBUILD b/main/elinks/APKBUILD
index 470d813cd9..ddb3fbd85b 100644
--- a/main/elinks/APKBUILD
+++ b/main/elinks/APKBUILD
@@ -21,11 +21,15 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
- --without-included-gettext
+ --without-included-gettext \
+ || return 1
make || return 1
}
diff --git a/main/email/APKBUILD b/main/email/APKBUILD
index b212a62c3b..801985511d 100644
--- a/main/email/APKBUILD
+++ b/main/email/APKBUILD
@@ -21,9 +21,12 @@ build() {
cd "$srcdir/$pkgname-$pkgver"
./configure \
- --prefix=/usr \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
- --mandir=/usr/share/man
+ --mandir=/usr/share/man \
+ || return 1
make || return 1
}
diff --git a/main/email2trac/APKBUILD b/main/email2trac/APKBUILD
index 9681093f13..e3979d4d2a 100644
--- a/main/email2trac/APKBUILD
+++ b/main/email2trac/APKBUILD
@@ -26,7 +26,10 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--with-trac_user=tracd \
|| return 1
diff --git a/main/enca/APKBUILD b/main/enca/APKBUILD
index 8e3e1095e2..166fe99d7c 100644
--- a/main/enca/APKBUILD
+++ b/main/enca/APKBUILD
@@ -22,13 +22,17 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--libexecdir=/usr/lib \
--enable-external \
- --without-libiconv
+ --without-libiconv \
+ || return 1
make || return 1
}
diff --git a/main/enchant/APKBUILD b/main/enchant/APKBUILD
index 0ada5a4300..9788bead6c 100644
--- a/main/enchant/APKBUILD
+++ b/main/enchant/APKBUILD
@@ -14,7 +14,12 @@ source="http://www.abisource.com/downloads/$pkgname/$pkgver/$pkgname-$pkgver.tar
build() {
cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr --disable-static || return 1
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --disable-static \
+ || return 1
make || return 1
}
diff --git a/main/encodings/APKBUILD b/main/encodings/APKBUILD
index 06b883e895..3ad7a361fa 100644
--- a/main/encodings/APKBUILD
+++ b/main/encodings/APKBUILD
@@ -13,8 +13,12 @@ source="http://xorg.freedesktop.org/releases/individual/font/encodings-$pkgver.t
build() {
cd "$srcdir"/encodings-$pkgver
- ./configure --prefix=/usr \
- --with-encodingsdir=/usr/share/fonts/encodings
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --with-encodingsdir=/usr/share/fonts/encodings \
+ || return 1
make || return 1
}
diff --git a/main/epdfview/APKBUILD b/main/epdfview/APKBUILD
index c4ff565b63..772197895b 100644
--- a/main/epdfview/APKBUILD
+++ b/main/epdfview/APKBUILD
@@ -34,7 +34,10 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
|| return 1
diff --git a/main/epris/APKBUILD b/main/epris/APKBUILD
index f845f6a0ea..cb1da61d55 100644
--- a/main/epris/APKBUILD
+++ b/main/epris/APKBUILD
@@ -15,10 +15,14 @@ source="http://epris.googlecode.com/files/epris-$pkgver.tar.gz"
build() {
cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
- --infodir=/usr/share/info
+ --infodir=/usr/share/info \
+ || return 1
make || return 1
}
diff --git a/main/ethtool/APKBUILD b/main/ethtool/APKBUILD
index 81709fb239..878f11cb98 100644
--- a/main/ethtool/APKBUILD
+++ b/main/ethtool/APKBUILD
@@ -15,8 +15,12 @@ _builddir="$srcdir"/$pkgname-$pkgver
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
- --mandir=/usr/share/man
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --mandir=/usr/share/man \
+ || return 1
make || return 1
}
diff --git a/main/evince/APKBUILD b/main/evince/APKBUILD
index d31a5291fa..2f231f67ec 100644
--- a/main/evince/APKBUILD
+++ b/main/evince/APKBUILD
@@ -44,13 +44,17 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--disable-nautilus \
--disable-scrollkeeper \
--enable-pixbuf \
--without-gconf \
- --without-keyring || return 1
+ --without-keyring \
+ || return 1
make || return 1
}
diff --git a/main/exiv2/APKBUILD b/main/exiv2/APKBUILD
index 259758f7f0..43b413618c 100644
--- a/main/exiv2/APKBUILD
+++ b/main/exiv2/APKBUILD
@@ -15,7 +15,11 @@ source="http://www.exiv2.org/exiv2-$pkgver.tar.gz"
_builddir="$srcdir"/$pkgname-$pkgver
build() {
cd "$_builddir"
- ./configure --prefix=/usr
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ || return 1
make || return 1
}
diff --git a/main/exo/APKBUILD b/main/exo/APKBUILD
index 4904b8045e..8086a56280 100644
--- a/main/exo/APKBUILD
+++ b/main/exo/APKBUILD
@@ -15,7 +15,10 @@ source="http://archive.xfce.org/src/xfce/$pkgname/${pkgver%.*}/$pkgname-$pkgver.
build() {
cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--libexecdir=/usr/lib/xfce4 \
--localstatedir=/var \
diff --git a/main/expat/APKBUILD b/main/expat/APKBUILD
index 50179e6003..daf4313f6c 100644
--- a/main/expat/APKBUILD
+++ b/main/expat/APKBUILD
@@ -25,8 +25,12 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
- --mandir=/usr/share/man
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --mandir=/usr/share/man \
+ || return 1
make || return 1
}
diff --git a/main/expect/APKBUILD b/main/expect/APKBUILD
index e9b8ead219..13f2f44c7c 100644
--- a/main/expect/APKBUILD
+++ b/main/expect/APKBUILD
@@ -16,13 +16,17 @@ source="http://downloads.sourceforge.net/project/expect/Expect/$pkgver/$pkgname$
_builddir="$srcdir"/$pkgname$pkgver
build() {
cd "$_builddir"
- ./configure --prefix=/usr
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/share/man \
--with-tcl=/usr/lib \
--with-tclinclude=/usr/include \
- --disable-rpath
+ --disable-rpath \
+ || return 1
make || return 1
}
package() {
diff --git a/main/ez-ipupdate/APKBUILD b/main/ez-ipupdate/APKBUILD
index d4332416f0..f23e315b9e 100644
--- a/main/ez-ipupdate/APKBUILD
+++ b/main/ez-ipupdate/APKBUILD
@@ -28,10 +28,14 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
- --infodir=/usr/share/info
+ --infodir=/usr/share/info \
+ || return 1
make || return 1
}
diff --git a/main/f2fs-tools/APKBUILD b/main/f2fs-tools/APKBUILD
index 4e0a864e35..625cba65d2 100644
--- a/main/f2fs-tools/APKBUILD
+++ b/main/f2fs-tools/APKBUILD
@@ -28,7 +28,10 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
|| return 1
make || return 1
}
diff --git a/main/faac/APKBUILD b/main/faac/APKBUILD
index d33097469e..de6769d156 100644
--- a/main/faac/APKBUILD
+++ b/main/faac/APKBUILD
@@ -31,7 +31,11 @@ prepare() {
build() {
cd "$srcdir"/$pkgname-$pkgver
./bootstrap || return 1
- ./configure --prefix=/usr
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ || return 1
make || return 1
}
diff --git a/main/faad2/APKBUILD b/main/faad2/APKBUILD
index 8d4959daf0..78168f53e2 100644
--- a/main/faad2/APKBUILD
+++ b/main/faad2/APKBUILD
@@ -31,7 +31,11 @@ build() {
|| return 1
sh bootstrap || return 1
- ./configure --prefix=/usr || return 1
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ || return 1
make || return 1
}
diff --git a/main/fakeroot/APKBUILD b/main/fakeroot/APKBUILD
index 2bd26f6247..d4d1ef208c 100644
--- a/main/fakeroot/APKBUILD
+++ b/main/fakeroot/APKBUILD
@@ -31,10 +31,12 @@ build() {
[ "${CHOST#*musl}" != "$CHOST" ] && CFLAGS="-D_STAT_VER=0 $CFLAGS"
CONFIG_SHELL=/bin/sh \
- ./configure --prefix=/usr \
- --build=${CBUILD} \
- --host=${CHOST} \
- --disable-static
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --disable-static \
+ || return 1
make || return 1
}
diff --git a/main/farstream/APKBUILD b/main/farstream/APKBUILD
index 6989cfd17e..ca2be9549b 100644
--- a/main/farstream/APKBUILD
+++ b/main/farstream/APKBUILD
@@ -27,9 +27,12 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
- --enable-python \
- --disable-static \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --enable-python \
+ --disable-static \
|| return 1
make || return 1
}
diff --git a/main/farstream0.1/APKBUILD b/main/farstream0.1/APKBUILD
index e74e2def17..8e73e5c42f 100644
--- a/main/farstream0.1/APKBUILD
+++ b/main/farstream0.1/APKBUILD
@@ -30,7 +30,10 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--enable-python \
|| return 1
make || return 1
diff --git a/main/fastjar/APKBUILD b/main/fastjar/APKBUILD
index 9b22db009d..95c7aa1338 100644
--- a/main/fastjar/APKBUILD
+++ b/main/fastjar/APKBUILD
@@ -26,7 +26,10 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
diff --git a/main/fcgi/APKBUILD b/main/fcgi/APKBUILD
index 72a76f5354..2e2f13ac31 100644
--- a/main/fcgi/APKBUILD
+++ b/main/fcgi/APKBUILD
@@ -34,11 +34,15 @@ build() {
cd "$srcdir/$pkgname-$pkgver"
export LIBS="-lm"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
- --enable-shared
+ --enable-shared \
+ || return 1
# work around parallel build issue
make -C libfcgi libfcgi.la || return 1
make || return 1
diff --git a/main/fetchmail/APKBUILD b/main/fetchmail/APKBUILD
index 232830b013..63b73cf252 100644
--- a/main/fetchmail/APKBUILD
+++ b/main/fetchmail/APKBUILD
@@ -18,12 +18,16 @@ source="http://download.berlios.de/fetchmail/$pkgname-$pkgver.tar.bz2
build() {
cd "$srcdir/$pkgname-$pkgver"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--with-ssl \
- --disable-nls
+ --disable-nls \
+ || return 1
make || return 1
}
diff --git a/main/ffmpeg/APKBUILD b/main/ffmpeg/APKBUILD
index 9b6327c0db..dcd9d12add 100644
--- a/main/ffmpeg/APKBUILD
+++ b/main/ffmpeg/APKBUILD
@@ -32,7 +32,10 @@ build() {
[ -n "$DEBUG" ] && _dbg="--enable-debug"
[ "$CARCH" = "x86" ] && _asm="--disable-asm"
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--enable-gpl \
--enable-libmp3lame \
--enable-librtmp \
diff --git a/main/fftw/APKBUILD b/main/fftw/APKBUILD
index 3fce77d33c..7430f5949e 100644
--- a/main/fftw/APKBUILD
+++ b/main/fftw/APKBUILD
@@ -21,11 +21,15 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
- --enable-single
+ --enable-single \
+ || return 1
make || return 1
}
diff --git a/main/file/APKBUILD b/main/file/APKBUILD
index 045a917912..bb77dbe531 100644
--- a/main/file/APKBUILD
+++ b/main/file/APKBUILD
@@ -12,7 +12,12 @@ subpackages="$pkgname-dev $pkgname-doc"
build() {
cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr --datadir=/usr/share
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --datadir=/usr/share \
+ || return 1
make || return 1
}
diff --git a/main/findutils/APKBUILD b/main/findutils/APKBUILD
index 90a6c25d00..48f6fd348f 100644
--- a/main/findutils/APKBUILD
+++ b/main/findutils/APKBUILD
@@ -16,10 +16,14 @@ source="http://ftp.gnu.org/pub/gnu/$pkgname/$pkgname-$pkgver.tar.gz"
build() {
cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
- --infodir=/usr/share/info
+ --infodir=/usr/share/info \
+ || return 1
make || return 1
make DESTDIR="$pkgdir" install
diff --git a/main/fixesproto/APKBUILD b/main/fixesproto/APKBUILD
index 2db32801e5..65ccb38492 100644
--- a/main/fixesproto/APKBUILD
+++ b/main/fixesproto/APKBUILD
@@ -12,7 +12,11 @@ source="http://xorg.freedesktop.org/releases/individual/proto/$pkgname-$pkgver.t
build() {
cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ || return 1
make || return 1
}
diff --git a/main/flac/APKBUILD b/main/flac/APKBUILD
index add0acc18b..7ebcf4dc12 100644
--- a/main/flac/APKBUILD
+++ b/main/flac/APKBUILD
@@ -14,14 +14,18 @@ source="http://downloads.xiph.org/releases/flac/flac-${pkgver}.tar.xz"
build () {
cd "$srcdir"/$pkgname-$pkgver || return 1
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--mandir=/usr/share/man \
--enable-shared \
--enable-ogg \
--disable-sse \
--disable-rpath \
--disable-cpplibs \
- --with-pic || return 1
+ --with-pic \
+ || return 1
make || return 1
}
diff --git a/main/flex/APKBUILD b/main/flex/APKBUILD
index 909f184b48..669a70d8e5 100644
--- a/main/flex/APKBUILD
+++ b/main/flex/APKBUILD
@@ -14,11 +14,13 @@ subpackages="$pkgname-doc"
build() {
cd "$srcdir/$pkgname-$pkgver"
- ./configure --prefix=/usr \
- --build=${CBUILD} \
- --host=${CHOST} \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--mandir=/usr/share/man \
- --infodir=/usr/share/info
+ --infodir=/usr/share/info \
+ || return 1
make || return 1
}
diff --git a/main/flite/APKBUILD b/main/flite/APKBUILD
index dad4703025..8efee0d423 100644
--- a/main/flite/APKBUILD
+++ b/main/flite/APKBUILD
@@ -27,7 +27,10 @@ prepare() {
build() {
cd "$_builddir"
- CFLAGS="$CFLAGS -fPIC" ./configure --prefix=/usr \
+ CFLAGS="$CFLAGS -fPIC" ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--enable-shared \
--localstatedir=/var \
|| return 1
diff --git a/main/fluxbox/APKBUILD b/main/fluxbox/APKBUILD
index 4b6b398016..cfb64f5f01 100644
--- a/main/fluxbox/APKBUILD
+++ b/main/fluxbox/APKBUILD
@@ -15,7 +15,10 @@ source="http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.t
build () {
cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--enable-imlib2 \
--disable-nls \
|| return 1
diff --git a/main/font-adobe-100dpi/APKBUILD b/main/font-adobe-100dpi/APKBUILD
index 2057abcff1..eac386a55a 100644
--- a/main/font-adobe-100dpi/APKBUILD
+++ b/main/font-adobe-100dpi/APKBUILD
@@ -13,9 +13,13 @@ source="http://xorg.freedesktop.org/releases/individual/font/$pkgname-$pkgver.ta
build() {
cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--with-mapfiles=/usr/share/fonts/util \
- --with-fontdir=/usr/share/fonts/100dpi
+ --with-fontdir=/usr/share/fonts/100dpi \
+ || return 1
make || return 1
make -j1 DESTDIR="$pkgdir" MKFONTDIR=: MKFONTSCALE=: install || return 1
}
diff --git a/main/font-adobe-75dpi/APKBUILD b/main/font-adobe-75dpi/APKBUILD
index 081e5ba5ec..1b9fca51aa 100644
--- a/main/font-adobe-75dpi/APKBUILD
+++ b/main/font-adobe-75dpi/APKBUILD
@@ -13,9 +13,13 @@ source="http://xorg.freedesktop.org/releases/individual/font/$pkgname-$pkgver.ta
build() {
cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--with-mapfiles=/usr/share/fonts/util \
- --with-fontdir=/usr/share/fonts/75dpi
+ --with-fontdir=/usr/share/fonts/75dpi \
+ || return 1
make || return 1
make -j1 DESTDIR="$pkgdir" MKFONTDIR=: MKFONTSCALE=: install || return 1
}
diff --git a/main/font-adobe-utopia-100dpi/APKBUILD b/main/font-adobe-utopia-100dpi/APKBUILD
index 3ca2381ab7..b35c71ebe9 100644
--- a/main/font-adobe-utopia-100dpi/APKBUILD
+++ b/main/font-adobe-utopia-100dpi/APKBUILD
@@ -13,9 +13,13 @@ source="http://xorg.freedesktop.org/releases/individual/font/$pkgname-$pkgver.ta
build() {
cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--with-mapfiles=/usr/share/fonts/util \
- --with-fontdir=/usr/share/fonts/100dpi
+ --with-fontdir=/usr/share/fonts/100dpi \
+ || return 1
make || return 1
make -j1 DESTDIR="$pkgdir" MKFONTDIR=: MKFONTSCALE=: install || return 1
}
diff --git a/main/font-adobe-utopia-75dpi/APKBUILD b/main/font-adobe-utopia-75dpi/APKBUILD
index f2429974fe..5a86692f67 100644
--- a/main/font-adobe-utopia-75dpi/APKBUILD
+++ b/main/font-adobe-utopia-75dpi/APKBUILD
@@ -13,9 +13,13 @@ source="http://xorg.freedesktop.org/releases/individual/font/$pkgname-$pkgver.ta
build() {
cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--with-mapfiles=/usr/share/fonts/util \
- --with-fontdir=/usr/share/fonts/75dpi
+ --with-fontdir=/usr/share/fonts/75dpi \
+ || return 1
make || return 1
make -j1 DESTDIR="$pkgdir" MKFONTDIR=: MKFONTSCALE=: install || return 1
}
diff --git a/main/font-adobe-utopia-type1/APKBUILD b/main/font-adobe-utopia-type1/APKBUILD
index ed40e552ba..7095c61027 100644
--- a/main/font-adobe-utopia-type1/APKBUILD
+++ b/main/font-adobe-utopia-type1/APKBUILD
@@ -13,9 +13,13 @@ source="http://xorg.freedesktop.org/releases/individual/font/$pkgname-$pkgver.ta
build() {
cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--with-mapfiles=/usr/share/fonts/util \
- --with-fontdir=/usr/share/fonts/utopia-type1
+ --with-fontdir=/usr/share/fonts/utopia-type1 \
+ || return 1
make || return 1
}
diff --git a/main/font-alias/APKBUILD b/main/font-alias/APKBUILD
index 83fc28f0e9..55a9ee165d 100644
--- a/main/font-alias/APKBUILD
+++ b/main/font-alias/APKBUILD
@@ -13,8 +13,12 @@ source="http://xorg.freedesktop.org/releases/individual/font/$pkgname-$pkgver.ta
build ()
{
cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr \
- --with-top-fontdir=/usr/share/fonts
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --with-top-fontdir=/usr/share/fonts \
+ || return 1
make || return 1
make DESTDIR="$pkgdir" install || return 1
}
diff --git a/main/font-arabic-misc/APKBUILD b/main/font-arabic-misc/APKBUILD
index a68d08d625..4c518f1b61 100644
--- a/main/font-arabic-misc/APKBUILD
+++ b/main/font-arabic-misc/APKBUILD
@@ -13,9 +13,13 @@ source="http://xorg.freedesktop.org/releases/individual/font/$pkgname-$pkgver.ta
build() {
cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--with-mapfiles=/usr/share/fonts/util \
- --with-fontdir=/usr/share/fonts/misc
+ --with-fontdir=/usr/share/fonts/misc \
+ || return 1
make || return 1
make -j1 DESTDIR="$pkgdir" MKFONTDIR=: MKFONTSCALE=: install || return 1
}
diff --git a/main/font-bh-100dpi/APKBUILD b/main/font-bh-100dpi/APKBUILD
index 0133f31d25..8a7be53e36 100644
--- a/main/font-bh-100dpi/APKBUILD
+++ b/main/font-bh-100dpi/APKBUILD
@@ -13,9 +13,13 @@ source="http://xorg.freedesktop.org/releases/individual/font/$pkgname-$pkgver.ta
build() {
cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--with-mapfiles=/usr/share/fonts/util \
- --with-fontdir=/usr/share/fonts/100dpi
+ --with-fontdir=/usr/share/fonts/100dpi \
+ || return 1
make || return 1
make -j1 DESTDIR="$pkgdir" MKFONTDIR=: MKFONTSCALE=: install || return 1
}
diff --git a/main/font-bh-75dpi/APKBUILD b/main/font-bh-75dpi/APKBUILD
index 62a4f66b3a..314afca701 100644
--- a/main/font-bh-75dpi/APKBUILD
+++ b/main/font-bh-75dpi/APKBUILD
@@ -13,9 +13,13 @@ source="http://xorg.freedesktop.org/releases/individual/font/$pkgname-$pkgver.ta
build() {
cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--with-mapfiles=/usr/share/fonts/util \
- --with-fontdir=/usr/share/fonts/75dpi
+ --with-fontdir=/usr/share/fonts/75dpi \
+ || return 1
make || return 1
make -j1 DESTDIR="$pkgdir" MKFONTDIR=: MKFONTSCALE=: install || return 1
}
diff --git a/main/font-bh-lucidatypewriter-100dpi/APKBUILD b/main/font-bh-lucidatypewriter-100dpi/APKBUILD
index ddae97e87b..b365f8369f 100644
--- a/main/font-bh-lucidatypewriter-100dpi/APKBUILD
+++ b/main/font-bh-lucidatypewriter-100dpi/APKBUILD
@@ -13,9 +13,13 @@ source="http://xorg.freedesktop.org/releases/individual/font/$pkgname-$pkgver.ta
build() {
cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--with-mapfiles=/usr/share/fonts/util \
- --with-fontdir=/usr/share/fonts/100dpi
+ --with-fontdir=/usr/share/fonts/100dpi \
+ || return 1
make || return 1
make -j1 DESTDIR="$pkgdir" MKFONTDIR=: MKFONTSCALE=: install || return 1
}
diff --git a/main/font-bh-lucidatypewriter-75dpi/APKBUILD b/main/font-bh-lucidatypewriter-75dpi/APKBUILD
index 6fde0c80e7..70b170172c 100644
--- a/main/font-bh-lucidatypewriter-75dpi/APKBUILD
+++ b/main/font-bh-lucidatypewriter-75dpi/APKBUILD
@@ -13,9 +13,13 @@ source="http://xorg.freedesktop.org/releases/individual/font/$pkgname-$pkgver.ta
build() {
cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--with-mapfiles=/usr/share/fonts/util \
- --with-fontdir=/usr/share/fonts/75dpi
+ --with-fontdir=/usr/share/fonts/75dpi \
+ || return 1
make || return 1
make -j1 DESTDIR="$pkgdir" MKFONTDIR=: MKFONTSCALE=: install || return 1
}
diff --git a/main/font-bh-ttf/APKBUILD b/main/font-bh-ttf/APKBUILD
index bf3a046ebb..fa29ff8555 100644
--- a/main/font-bh-ttf/APKBUILD
+++ b/main/font-bh-ttf/APKBUILD
@@ -13,9 +13,13 @@ source="http://xorg.freedesktop.org/releases/individual/font/$pkgname-$pkgver.ta
build() {
cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--with-mapfiles=/usr/share/fonts/util \
- --with-fontdir=/usr/share/fonts/TTF
+ --with-fontdir=/usr/share/fonts/TTF \
+ || return 1
make || return 1
}
diff --git a/main/font-bh-type1/APKBUILD b/main/font-bh-type1/APKBUILD
index a5e718744a..507feab3c7 100644
--- a/main/font-bh-type1/APKBUILD
+++ b/main/font-bh-type1/APKBUILD
@@ -13,9 +13,13 @@ source="http://xorg.freedesktop.org/releases/individual/font/$pkgname-$pkgver.ta
build() {
cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--with-mapfiles=/usr/share/fonts/util \
- --with-fontdir=/usr/share/fonts/Type1
+ --with-fontdir=/usr/share/fonts/Type1 \
+ || return 1
make || return 1
}
diff --git a/main/font-bitstream-100dpi/APKBUILD b/main/font-bitstream-100dpi/APKBUILD
index 8adf9ea7e3..a0be678a4d 100644
--- a/main/font-bitstream-100dpi/APKBUILD
+++ b/main/font-bitstream-100dpi/APKBUILD
@@ -13,9 +13,13 @@ source="http://xorg.freedesktop.org/releases/individual/font/$pkgname-$pkgver.ta
build() {
cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--with-mapfiles=/usr/share/fonts/util \
- --with-fontdir=/usr/share/fonts/100dpi
+ --with-fontdir=/usr/share/fonts/100dpi \
+ || return 1
make || return 1
make -j1 DESTDIR="$pkgdir" MKFONTDIR=: MKFONTSCALE=: install || return 1
}
diff --git a/main/font-bitstream-75dpi/APKBUILD b/main/font-bitstream-75dpi/APKBUILD
index 2182946be0..6046a2038e 100644
--- a/main/font-bitstream-75dpi/APKBUILD
+++ b/main/font-bitstream-75dpi/APKBUILD
@@ -13,9 +13,13 @@ source="http://xorg.freedesktop.org/releases/individual/font/$pkgname-$pkgver.ta
build() {
cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--with-mapfiles=/usr/share/fonts/util \
- --with-fontdir=/usr/share/fonts/75dpi
+ --with-fontdir=/usr/share/fonts/75dpi \
+ || return 1
make || return 1
make -j1 DESTDIR="$pkgdir" MKFONTDIR=: MKFONTSCALE=: install || return 1
}
diff --git a/main/font-bitstream-speedo/APKBUILD b/main/font-bitstream-speedo/APKBUILD
index 1780bdde7b..557a074eec 100644
--- a/main/font-bitstream-speedo/APKBUILD
+++ b/main/font-bitstream-speedo/APKBUILD
@@ -13,9 +13,13 @@ source="http://xorg.freedesktop.org/releases/individual/font/$pkgname-$pkgver.ta
build() {
cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--with-mapfiles=/usr/share/fonts/util \
- --with-fontdir=/usr/share/fonts/Speedo
+ --with-fontdir=/usr/share/fonts/Speedo \
+ || return 1
make || return 1
}
diff --git a/main/font-bitstream-type1/APKBUILD b/main/font-bitstream-type1/APKBUILD
index 4f54e8b73a..27255d96bd 100644
--- a/main/font-bitstream-type1/APKBUILD
+++ b/main/font-bitstream-type1/APKBUILD
@@ -13,9 +13,13 @@ source="http://xorg.freedesktop.org/releases/individual/font/$pkgname-$pkgver.ta
build() {
cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--with-mapfiles=/usr/share/fonts/util \
- --with-fontdir=/usr/share/fonts/Type1
+ --with-fontdir=/usr/share/fonts/Type1 \
+ || return 1
make || return 1
}
diff --git a/main/font-cronyx-cyrillic/APKBUILD b/main/font-cronyx-cyrillic/APKBUILD
index 31a610489e..8380951b2f 100644
--- a/main/font-cronyx-cyrillic/APKBUILD
+++ b/main/font-cronyx-cyrillic/APKBUILD
@@ -13,9 +13,13 @@ source="http://xorg.freedesktop.org/releases/individual/font/$pkgname-$pkgver.ta
build() {
cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--with-mapfiles=/usr/share/fonts/util \
- --with-fontdir=/usr/share/fonts/cyrillic
+ --with-fontdir=/usr/share/fonts/cyrillic \
+ || return 1
make || return 1
make -j1 DESTDIR="$pkgdir" MKFONTDIR=: MKFONTSCALE=: install || return 1
}
diff --git a/main/font-cursor-misc/APKBUILD b/main/font-cursor-misc/APKBUILD
index 0a344b2454..801a07d9d8 100644
--- a/main/font-cursor-misc/APKBUILD
+++ b/main/font-cursor-misc/APKBUILD
@@ -13,9 +13,13 @@ source="http://xorg.freedesktop.org/releases/individual/font/$pkgname-$pkgver.ta
build() {
cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--with-mapfiles=/usr/share/fonts/util \
- --with-fontdir=/usr/share/fonts/misc
+ --with-fontdir=/usr/share/fonts/misc \
+ || return 1
make || return 1
make -j1 DESTDIR="$pkgdir" MKFONTDIR=: MKFONTSCALE=: install || return 1
}
diff --git a/main/font-daewoo-misc/APKBUILD b/main/font-daewoo-misc/APKBUILD
index 8d99f6f066..fdbd5258cb 100644
--- a/main/font-daewoo-misc/APKBUILD
+++ b/main/font-daewoo-misc/APKBUILD
@@ -13,9 +13,13 @@ source="http://xorg.freedesktop.org/releases/individual/font/$pkgname-$pkgver.ta
build() {
cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--with-mapfiles=/usr/share/fonts/util \
- --with-fontdir=/usr/share/fonts/misc
+ --with-fontdir=/usr/share/fonts/misc \
+ || return 1
make || return 1
make -j1 DESTDIR="$pkgdir" MKFONTDIR=: MKFONTSCALE=: install || return 1
}
diff --git a/main/font-dec-misc/APKBUILD b/main/font-dec-misc/APKBUILD
index 3d56bfba75..1849d1322c 100644
--- a/main/font-dec-misc/APKBUILD
+++ b/main/font-dec-misc/APKBUILD
@@ -13,9 +13,13 @@ source="http://xorg.freedesktop.org/releases/individual/font/$pkgname-$pkgver.ta
build() {
cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--with-mapfiles=/usr/share/fonts/util \
- --with-fontdir=/usr/share/fonts/misc
+ --with-fontdir=/usr/share/fonts/misc \
+ || return 1
make || return 1
make -j1 DESTDIR="$pkgdir" MKFONTDIR=: MKFONTSCALE=: install || return 1
}
diff --git a/main/font-ibm-type1/APKBUILD b/main/font-ibm-type1/APKBUILD
index b278e73695..366e1adc1e 100644
--- a/main/font-ibm-type1/APKBUILD
+++ b/main/font-ibm-type1/APKBUILD
@@ -13,9 +13,13 @@ source="http://xorg.freedesktop.org/releases/individual/font/$pkgname-$pkgver.ta
build() {
cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--with-mapfiles=/usr/share/fonts/util \
- --with-fontdir=/usr/share/fonts/Type1
+ --with-fontdir=/usr/share/fonts/Type1 \
+ || return 1
make || return 1
}
diff --git a/main/font-isas-misc/APKBUILD b/main/font-isas-misc/APKBUILD
index b6da30844c..874904cb38 100644
--- a/main/font-isas-misc/APKBUILD
+++ b/main/font-isas-misc/APKBUILD
@@ -13,9 +13,13 @@ source="http://xorg.freedesktop.org/releases/individual/font/$pkgname-$pkgver.ta
build() {
cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--with-mapfiles=/usr/share/fonts/util \
- --with-fontdir=/usr/share/fonts/misc
+ --with-fontdir=/usr/share/fonts/misc \
+ || return 1
make || return 1
make -j1 DESTDIR="$pkgdir" MKFONTDIR=: MKFONTSCALE=: install || return 1
}
diff --git a/main/font-jis-misc/APKBUILD b/main/font-jis-misc/APKBUILD
index 7367ae5dee..f7b6a8ac53 100644
--- a/main/font-jis-misc/APKBUILD
+++ b/main/font-jis-misc/APKBUILD
@@ -13,9 +13,13 @@ source="http://xorg.freedesktop.org/releases/individual/font/$pkgname-$pkgver.ta
build() {
cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--with-mapfiles=/usr/share/fonts/util \
- --with-fontdir=/usr/share/fonts/misc
+ --with-fontdir=/usr/share/fonts/misc \
+ || return 1
make || return 1
make -j1 DESTDIR="$pkgdir" MKFONTDIR=: MKFONTSCALE=: install || return 1
}
diff --git a/main/font-micro-misc/APKBUILD b/main/font-micro-misc/APKBUILD
index a2d6a83aec..45801df0bb 100644
--- a/main/font-micro-misc/APKBUILD
+++ b/main/font-micro-misc/APKBUILD
@@ -13,9 +13,13 @@ source="http://xorg.freedesktop.org/releases/individual/font/$pkgname-$pkgver.ta
build() {
cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--with-mapfiles=/usr/share/fonts/util \
- --with-fontdir=/usr/share/fonts/misc
+ --with-fontdir=/usr/share/fonts/misc \
+ || return 1
make || return 1
make -j1 DESTDIR="$pkgdir" MKFONTDIR=: MKFONTSCALE=: install || return 1
}
diff --git a/main/font-misc-cyrillic/APKBUILD b/main/font-misc-cyrillic/APKBUILD
index 7f69e82d86..f5a403bbee 100644
--- a/main/font-misc-cyrillic/APKBUILD
+++ b/main/font-misc-cyrillic/APKBUILD
@@ -13,9 +13,13 @@ source="http://xorg.freedesktop.org/releases/individual/font/$pkgname-$pkgver.ta
build() {
cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--with-mapfiles=/usr/share/fonts/util \
- --with-fontdir=/usr/share/fonts/cyrillic
+ --with-fontdir=/usr/share/fonts/cyrillic \
+ || return 1
make || return 1
make -j1 DESTDIR="$pkgdir" MKFONTDIR=: MKFONTSCALE=: install || return 1
}
diff --git a/main/font-misc-ethiopic/APKBUILD b/main/font-misc-ethiopic/APKBUILD
index 8b11cf4b8f..05e76360ac 100644
--- a/main/font-misc-ethiopic/APKBUILD
+++ b/main/font-misc-ethiopic/APKBUILD
@@ -14,9 +14,13 @@ source="http://xorg.freedesktop.org/releases/individual/font/$pkgname-$pkgver.ta
_builddir="$srcdir"/$pkgname-$pkgver
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--with-mapfiles=/usr/share/fonts/util \
- --with-fontdir=/usr/share/fonts/ethiopic
+ --with-fontdir=/usr/share/fonts/ethiopic \
+ || return 1
make || return 1
}
diff --git a/main/font-misc-meltho/APKBUILD b/main/font-misc-meltho/APKBUILD
index 6c0102a361..8cd7789551 100644
--- a/main/font-misc-meltho/APKBUILD
+++ b/main/font-misc-meltho/APKBUILD
@@ -14,9 +14,13 @@ source="http://xorg.freedesktop.org/releases/individual/font/$pkgname-$pkgver.ta
_builddir="$srcdir"/$pkgname-$pkgver
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--with-mapfiles=/usr/share/fonts/util \
- --with-fontdir=/usr/share/fonts/meltho
+ --with-fontdir=/usr/share/fonts/meltho \
+ || return 1
make || return 1
}
diff --git a/main/font-misc-misc/APKBUILD b/main/font-misc-misc/APKBUILD
index b4e86369b0..3f19cc334c 100644
--- a/main/font-misc-misc/APKBUILD
+++ b/main/font-misc-misc/APKBUILD
@@ -14,9 +14,13 @@ source="http://xorg.freedesktop.org/releases/individual/font/$pkgname-$pkgver.ta
_builddir="$srcdir"/$pkgname-$pkgver
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--with-mapfiles=/usr/share/fonts/util \
- --with-fontdir=/usr/share/fonts/misc
+ --with-fontdir=/usr/share/fonts/misc \
+ || return 1
make || return 1
}
diff --git a/main/font-mutt-misc/APKBUILD b/main/font-mutt-misc/APKBUILD
index 14f321e4c4..d9a9e521fb 100644
--- a/main/font-mutt-misc/APKBUILD
+++ b/main/font-mutt-misc/APKBUILD
@@ -13,9 +13,13 @@ source="http://xorg.freedesktop.org/releases/individual/font/$pkgname-$pkgver.ta
build() {
cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--with-mapfiles=/usr/share/fonts/util \
- --with-fontdir=/usr/share/fonts/misc
+ --with-fontdir=/usr/share/fonts/misc \
+ || return 1
make || return 1
make -j1 DESTDIR="$pkgdir" MKFONTDIR=: MKFONTSCALE=: install || return 1
}
diff --git a/main/font-schumacher-misc/APKBUILD b/main/font-schumacher-misc/APKBUILD
index 67705d3bff..6a18163e87 100644
--- a/main/font-schumacher-misc/APKBUILD
+++ b/main/font-schumacher-misc/APKBUILD
@@ -13,9 +13,13 @@ source="http://xorg.freedesktop.org/releases/individual/font/$pkgname-$pkgver.ta
build() {
cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--with-mapfiles=/usr/share/fonts/util \
- --with-fontdir=/usr/share/fonts/misc
+ --with-fontdir=/usr/share/fonts/misc \
+ || return 1
make || return 1
make -j1 DESTDIR="$pkgdir" MKFONTDIR=: MKFONTSCALE=: install || return 1
}
diff --git a/main/font-screen-cyrillic/APKBUILD b/main/font-screen-cyrillic/APKBUILD
index 9f5c643cb0..b016055a87 100644
--- a/main/font-screen-cyrillic/APKBUILD
+++ b/main/font-screen-cyrillic/APKBUILD
@@ -13,9 +13,13 @@ source="http://xorg.freedesktop.org/releases/individual/font/$pkgname-$pkgver.ta
build() {
cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--with-mapfiles=/usr/share/fonts/util \
- --with-fontdir=/usr/share/fonts/cyrillic
+ --with-fontdir=/usr/share/fonts/cyrillic \
+ || return 1
make || return 1
make -j1 DESTDIR="$pkgdir" MKFONTDIR=: MKFONTSCALE=: install || return 1
}
diff --git a/main/font-sony-misc/APKBUILD b/main/font-sony-misc/APKBUILD
index 708ecbad7f..df52f0ad6c 100644
--- a/main/font-sony-misc/APKBUILD
+++ b/main/font-sony-misc/APKBUILD
@@ -13,9 +13,13 @@ source="http://xorg.freedesktop.org/releases/individual/font/$pkgname-$pkgver.ta
build() {
cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--with-mapfiles=/usr/share/fonts/util \
- --with-fontdir=/usr/share/fonts/misc
+ --with-fontdir=/usr/share/fonts/misc \
+ || return 1
make || return 1
make -j1 DESTDIR="$pkgdir" MKFONTDIR=: MKFONTSCALE=: install || return 1
}
diff --git a/main/font-sun-misc/APKBUILD b/main/font-sun-misc/APKBUILD
index dc13429422..b2919aeb52 100644
--- a/main/font-sun-misc/APKBUILD
+++ b/main/font-sun-misc/APKBUILD
@@ -13,9 +13,13 @@ source="http://xorg.freedesktop.org/releases/individual/font/$pkgname-$pkgver.ta
build() {
cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--with-mapfiles=/usr/share/fonts/util \
- --with-fontdir=/usr/share/fonts/misc
+ --with-fontdir=/usr/share/fonts/misc \
+ || return 1
make || return 1
make -j1 DESTDIR="$pkgdir" MKFONTDIR=: MKFONTSCALE=: install || return 1
}
diff --git a/main/font-util/APKBUILD b/main/font-util/APKBUILD
index 16d914132d..94be113358 100644
--- a/main/font-util/APKBUILD
+++ b/main/font-util/APKBUILD
@@ -14,8 +14,12 @@ source="http://xorg.freedesktop.org/releases/individual/font/$pkgname-$pkgver.ta
build() {
cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr \
- --mandir=/usr/share/man
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --mandir=/usr/share/man \
+ || return 1
make || return 1
}
diff --git a/main/font-winitzki-cyrillic/APKBUILD b/main/font-winitzki-cyrillic/APKBUILD
index 4fe93fadbe..2a4440d0b2 100644
--- a/main/font-winitzki-cyrillic/APKBUILD
+++ b/main/font-winitzki-cyrillic/APKBUILD
@@ -13,9 +13,13 @@ source="http://xorg.freedesktop.org/releases/individual/font/$pkgname-$pkgver.ta
build() {
cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--with-mapfiles=/usr/share/fonts/util \
- --with-fontdir=/usr/share/fonts/cyrillic
+ --with-fontdir=/usr/share/fonts/cyrillic \
+ || return 1
make || return 1
make -j1 DESTDIR="$pkgdir" MKFONTDIR=: MKFONTSCALE=: install || return 1
}
diff --git a/main/font-xfree86-type1/APKBUILD b/main/font-xfree86-type1/APKBUILD
index b1e0897399..cbb2d42d44 100644
--- a/main/font-xfree86-type1/APKBUILD
+++ b/main/font-xfree86-type1/APKBUILD
@@ -13,9 +13,13 @@ source="http://xorg.freedesktop.org/releases/individual/font/$pkgname-$pkgver.ta
build() {
cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--with-mapfiles=/usr/share/fonts/util \
- --with-fontdir=/usr/share/fonts/Type1
+ --with-fontdir=/usr/share/fonts/Type1 \
+ || return 1
make || return 1
}
diff --git a/main/fontconfig/APKBUILD b/main/fontconfig/APKBUILD
index ecc9a9fb42..2390d8f2b7 100644
--- a/main/fontconfig/APKBUILD
+++ b/main/fontconfig/APKBUILD
@@ -29,9 +29,13 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
- --disable-docs
+ --disable-docs \
+ || return 1
make || return 1
}
diff --git a/main/fontsproto/APKBUILD b/main/fontsproto/APKBUILD
index 1ea7040bf8..fde07dbcb2 100644
--- a/main/fontsproto/APKBUILD
+++ b/main/fontsproto/APKBUILD
@@ -12,7 +12,11 @@ source="http://xorg.freedesktop.org/releases/individual/proto/$pkgname-$pkgver.t
build() {
cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ || return 1
make || return 1
}
diff --git a/main/fping/APKBUILD b/main/fping/APKBUILD
index 1ac36be458..b39056dfaa 100644
--- a/main/fping/APKBUILD
+++ b/main/fping/APKBUILD
@@ -15,8 +15,12 @@ _builddir="$srcdir"/$pkgname-$pkgver
build () {
cd "$_builddir"
- ./configure --prefix=/usr \
- --mandir=/usr/share/man
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --mandir=/usr/share/man \
+ || return 1
make || return 1
}
diff --git a/main/fprobe-ulog/APKBUILD b/main/fprobe-ulog/APKBUILD
index 139aaf02c1..4e88be2960 100644
--- a/main/fprobe-ulog/APKBUILD
+++ b/main/fprobe-ulog/APKBUILD
@@ -29,10 +29,14 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
- --infodir=/usr/share/info
+ --infodir=/usr/share/info \
+ || return 1
make || return 1
}
diff --git a/main/fprobe/APKBUILD b/main/fprobe/APKBUILD
index 79da613cfb..824c4e1cbc 100644
--- a/main/fprobe/APKBUILD
+++ b/main/fprobe/APKBUILD
@@ -30,10 +30,14 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
- --infodir=/usr/share/info
+ --infodir=/usr/share/info \
+ || return 1
make || return 1
}
diff --git a/main/freeglut/APKBUILD b/main/freeglut/APKBUILD
index 2875613001..fa624a6636 100644
--- a/main/freeglut/APKBUILD
+++ b/main/freeglut/APKBUILD
@@ -30,7 +30,12 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr --disable-static || return 1
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --disable-static \
+ || return 1
make || return 1
}
diff --git a/main/freeradius-client/APKBUILD b/main/freeradius-client/APKBUILD
index 01ff2e25aa..049775d4ed 100644
--- a/main/freeradius-client/APKBUILD
+++ b/main/freeradius-client/APKBUILD
@@ -20,10 +20,14 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
- --infodir=/usr/share/info
+ --infodir=/usr/share/info \
+ || return 1
make || return 1
}
diff --git a/main/freeradius/APKBUILD b/main/freeradius/APKBUILD
index 188c0c67c0..9f7d775ff5 100644
--- a/main/freeradius/APKBUILD
+++ b/main/freeradius/APKBUILD
@@ -49,11 +49,14 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
- --localstatedir=/var \
+ --localstatedir=/var \
--libdir=/usr/lib/freeradius \
--disable-static \
--enable-shared \
diff --git a/main/freeswitch/APKBUILD b/main/freeswitch/APKBUILD
index 3b68a04476..a7ab3467a3 100644
--- a/main/freeswitch/APKBUILD
+++ b/main/freeswitch/APKBUILD
@@ -50,7 +50,10 @@ build() {
# remove -Werror since gcc-4.5 is more strict
sed -i -e 's/-Werror//g' configure || return 1
[ "$ALPINE_LIBC" != "eglibc" ] && export LDFLAGS="$LDFLAGS -liconv"
- CFLAGS="-Wno-unused-but-set-variable" ./configure --prefix=/usr \
+ CFLAGS="-Wno-unused-but-set-variable" ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc/freeswitch \
--with-modinstdir=/usr/lib/freeswitch \
--with-rundir=/var/run/freeswitch \
diff --git a/main/freetds/APKBUILD b/main/freetds/APKBUILD
index a1afcc46ce..d980ccd541 100644
--- a/main/freetds/APKBUILD
+++ b/main/freetds/APKBUILD
@@ -27,7 +27,10 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
diff --git a/main/freetype/APKBUILD b/main/freetype/APKBUILD
index c1206f25b1..dd545dad47 100644
--- a/main/freetype/APKBUILD
+++ b/main/freetype/APKBUILD
@@ -29,11 +29,15 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
- --disable-static
+ --disable-static \
+ || return 1
make || return 1
}
diff --git a/main/fribidi/APKBUILD b/main/fribidi/APKBUILD
index 05ca5541f5..3b2ec1b8cb 100644
--- a/main/fribidi/APKBUILD
+++ b/main/fribidi/APKBUILD
@@ -14,7 +14,11 @@ source="http://fribidi.org/download/fribidi-$pkgver.tar.bz2"
build ()
{
cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ || return 1
make || return 1
}
diff --git a/main/fsarchiver/APKBUILD b/main/fsarchiver/APKBUILD
index 6ea09df1a8..772cf9abaf 100644
--- a/main/fsarchiver/APKBUILD
+++ b/main/fsarchiver/APKBUILD
@@ -13,7 +13,11 @@ source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz"
build() {
cd $srcdir/$pkgname-$pkgver
- ./configure --prefix=/usr
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ || return 1
make
}
diff --git a/main/fuse/APKBUILD b/main/fuse/APKBUILD
index 122c9e4249..c24b5950c9 100644
--- a/main/fuse/APKBUILD
+++ b/main/fuse/APKBUILD
@@ -27,7 +27,10 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--disable-static \
--enable-shared \
--disable-example \
diff --git a/main/galculator/APKBUILD b/main/galculator/APKBUILD
index 717cc9cec5..b42cb3f745 100644
--- a/main/galculator/APKBUILD
+++ b/main/galculator/APKBUILD
@@ -23,7 +23,10 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--disable-gtk3 \
|| return 1
make || return 1
diff --git a/main/gamin/APKBUILD b/main/gamin/APKBUILD
index 712be26613..b13fe04779 100644
--- a/main/gamin/APKBUILD
+++ b/main/gamin/APKBUILD
@@ -24,7 +24,10 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--disable-static \
--with-threads \
--disable-debug-api \
diff --git a/main/garcon/APKBUILD b/main/garcon/APKBUILD
index 2b0cb10f4b..10e23f8a5f 100644
--- a/main/garcon/APKBUILD
+++ b/main/garcon/APKBUILD
@@ -16,11 +16,15 @@ replaces="xfdesktop"
build() {
cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--libexecdir=/usr/lib \
--localstatedir=/var \
- --disable-static
+ --disable-static \
+ || return 1
make
}
diff --git a/main/gawk/APKBUILD b/main/gawk/APKBUILD
index 8615e8ed28..7c250586c5 100644
--- a/main/gawk/APKBUILD
+++ b/main/gawk/APKBUILD
@@ -14,13 +14,15 @@ source="http://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.xz"
build() {
cd "$srcdir/$pkgname-$pkgver"
- ./configure --prefix=/usr \
- --build=${CBUILD} \
- --host=${CHOST} \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
- --disable-nls
+ --disable-nls \
+ || return 1
make || return 1
}
diff --git a/main/gc/APKBUILD b/main/gc/APKBUILD
index e8db519523..dbf6630235 100644
--- a/main/gc/APKBUILD
+++ b/main/gc/APKBUILD
@@ -24,9 +24,13 @@ prepare() {
build() {
cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--datadir=/usr/share/doc/gc \
- --enable-cplusplus || return 1
+ --enable-cplusplus \
+ || return 1
make || return 1
}
diff --git a/main/gconf/APKBUILD b/main/gconf/APKBUILD
index c20157e75c..77b8fe0b72 100644
--- a/main/gconf/APKBUILD
+++ b/main/gconf/APKBUILD
@@ -30,9 +30,14 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
- --with-gtk=2.0 || return 0
+ --with-gtk=2.0 \
+ || return 0 \
+ || return 1
make || return 1
}
diff --git a/main/gd/APKBUILD b/main/gd/APKBUILD
index 63d7a11646..6a5632eadd 100644
--- a/main/gd/APKBUILD
+++ b/main/gd/APKBUILD
@@ -20,7 +20,10 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
@@ -28,7 +31,8 @@ build() {
--with-freetype \
--with-jpeg \
--without-xpm \
- --without-fontconfig
+ --without-fontconfig \
+ || return 1
make || return 1
}
diff --git a/main/gdb/APKBUILD b/main/gdb/APKBUILD
index b9b4439be0..b4c45b7cb3 100644
--- a/main/gdb/APKBUILD
+++ b/main/gdb/APKBUILD
@@ -34,9 +34,10 @@ prepare() {
build () {
cd "$_builddir"
- local _config="--prefix=/usr
+ local _config="
--build=$CBUILD
--host=$CHOST
+ --prefix=/usr
--target=$CTARGET
--with-build-sysroot=$CBUILDROOT
--disable-nls
@@ -50,9 +51,8 @@ build () {
# gdb server does not compile with musl
[ "${CHOST#*musl}" != "$CHOST" ] && _config="$_config --disable-gdbserver"
- ./configure $_config
- cd opcodes && ./configure $_config || return 1
- cd ..
+ ./configure $_config || return 1
+ (cd opcodes && ./configure $_config) || return 1
make || return 1
}
diff --git a/main/gdbm/APKBUILD b/main/gdbm/APKBUILD
index dd515f5ec7..d6b820cd47 100644
--- a/main/gdbm/APKBUILD
+++ b/main/gdbm/APKBUILD
@@ -28,11 +28,15 @@ build() {
cd "$_builddir"
# we disable large-file due to it makes the db file non-compat
# with gdbm-1.8.3
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--enable-libgdbm-compat \
--disable-largefile \
--disable-dependency-tracking \
- --enable-fast-install
+ --enable-fast-install \
+ || return 1
make || return 1
}
diff --git a/main/gdk-pixbuf/APKBUILD b/main/gdk-pixbuf/APKBUILD
index f00640764c..72e82c6a47 100644
--- a/main/gdk-pixbuf/APKBUILD
+++ b/main/gdk-pixbuf/APKBUILD
@@ -28,11 +28,15 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--with-x11 \
--mandir=/usr/share/man \
- --infodir=/usr/share/info
+ --infodir=/usr/share/info \
+ || return 1
make || return 1
}
diff --git a/main/gdl/APKBUILD b/main/gdl/APKBUILD
index fb03c64c4a..415b5f911d 100644
--- a/main/gdl/APKBUILD
+++ b/main/gdl/APKBUILD
@@ -12,7 +12,10 @@ source="http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver%.*}/$pkgname-$p
build() {
cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--disable-static \
diff --git a/main/gdnsd/APKBUILD b/main/gdnsd/APKBUILD
index 77a96eb30b..5652bf31d5 100644
--- a/main/gdnsd/APKBUILD
+++ b/main/gdnsd/APKBUILD
@@ -35,7 +35,10 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--enable-fast-install \
diff --git a/main/geany/APKBUILD b/main/geany/APKBUILD
index 4118919b41..8a699339de 100644
--- a/main/geany/APKBUILD
+++ b/main/geany/APKBUILD
@@ -53,7 +53,11 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ || return 1
make || return 1
}
diff --git a/main/gegl/APKBUILD b/main/gegl/APKBUILD
index 5f4d40521b..56987a3d38 100644
--- a/main/gegl/APKBUILD
+++ b/main/gegl/APKBUILD
@@ -24,7 +24,10 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--with-librsvg \
--disable-docs \
|| return 1
diff --git a/main/geh/APKBUILD b/main/geh/APKBUILD
index dfa61e095f..afa3b555b2 100644
--- a/main/geh/APKBUILD
+++ b/main/geh/APKBUILD
@@ -26,10 +26,14 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
- --infodir=/usr/share/info
+ --infodir=/usr/share/info \
+ || return 1
make || return 1
}
diff --git a/main/geoip/APKBUILD b/main/geoip/APKBUILD
index d5f72ef0c9..2c18cae4f9 100644
--- a/main/geoip/APKBUILD
+++ b/main/geoip/APKBUILD
@@ -23,10 +23,14 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc/geoip \
--mandir=/usr/share/man \
- --infodir=/usr/share/info
+ --infodir=/usr/share/info \
+ || return 1
make || return 1
make check || return 1
}
diff --git a/main/gettext/APKBUILD b/main/gettext/APKBUILD
index 4a5c0de14d..4c9ff82f6a 100644
--- a/main/gettext/APKBUILD
+++ b/main/gettext/APKBUILD
@@ -35,11 +35,15 @@ build() {
# http://bugs.gentoo.org/show_bug.cgi?id=81628
export CPPFLAGS="$CPPFLAGS -I/usr/include/libxml2"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--mandir=/usr/share/man \
--enable-threads=posix \
--disable-java \
- --disable-static
+ --disable-static \
+ || return 1
make || return 1
}
diff --git a/main/ghostscript/APKBUILD b/main/ghostscript/APKBUILD
index 69806d87b4..e01a138758 100644
--- a/main/ghostscript/APKBUILD
+++ b/main/ghostscript/APKBUILD
@@ -39,11 +39,22 @@ prepare() {
build(){
# build ijs
cd "$_builddir"/ijs
- ./configure --prefix=/usr --enable-shared --disable-static || return 1
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --enable-shared \
+ --disable-static \
+ || return 1
make
cd "$_builddir"
- ./configure --prefix=/usr \
+
+ # --disable-compile-inits is needed to link with system-zlib
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
@@ -56,7 +67,8 @@ build(){
--enable-gtk \
--with-drivers=FILES \
--with-fontpath=/usr/share/fonts/Type1:/usr/share/fonts \
- --disable-compile-inits # needed for linking with system-zlib
+ --disable-compile-inits \
+ || return 1
make so all || return 1
}
diff --git a/main/giblib/APKBUILD b/main/giblib/APKBUILD
index f14b62abf0..cb1196d8a9 100644
--- a/main/giblib/APKBUILD
+++ b/main/giblib/APKBUILD
@@ -14,7 +14,11 @@ source="http://linuxbrit.co.uk/downloads/$pkgname-$pkgver.tar.gz"
depends_dev="imlib2-dev freetype-dev zlib-dev libx11-dev libxext-dev"
build() {
cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr || return 1
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ || return 1
make || return 1
}
diff --git a/main/giflib/APKBUILD b/main/giflib/APKBUILD
index 81a5fc73a7..32f5c72161 100644
--- a/main/giflib/APKBUILD
+++ b/main/giflib/APKBUILD
@@ -24,7 +24,11 @@ prepare() {
build () {
cd "$_builddir"
- ./configure --prefix=/usr || return 1
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ || return 1
make || return 1
MAJOR=`echo $pkgver | sed 's/\([0-9]\+\)\..*/\1/'`
gcc -shared -Wl,-soname,libungif.so.${MAJOR} -Llib/.libs -lgif -o libungif.so.$pkgver || return 1
diff --git a/main/gigolo/APKBUILD b/main/gigolo/APKBUILD
index 0bed2a64f9..7de77d1bd9 100644
--- a/main/gigolo/APKBUILD
+++ b/main/gigolo/APKBUILD
@@ -20,10 +20,14 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
- --infodir=/usr/share/info
+ --infodir=/usr/share/info \
+ || return 1
make || return 1
}
diff --git a/main/gimp/APKBUILD b/main/gimp/APKBUILD
index c4b6c9d15e..ec6198ef66 100644
--- a/main/gimp/APKBUILD
+++ b/main/gimp/APKBUILD
@@ -30,7 +30,10 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--disable-dependency-tracking \
--sysconfdir=/etc \
--enable-mp \
@@ -40,7 +43,8 @@ build() {
--with-gvfs \
--without-gnomevfs \
--with-gif-compression=lzw \
- --without-aa || return 1
+ --without-aa \
+ || return 1
make || return 1
}
diff --git a/main/glade/APKBUILD b/main/glade/APKBUILD
index bb25db79ad..c436803b1c 100644
--- a/main/glade/APKBUILD
+++ b/main/glade/APKBUILD
@@ -26,10 +26,14 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
- --infodir=/usr/share/info
+ --infodir=/usr/share/info \
+ || return 1
make || return 1
}
diff --git a/main/glade3/APKBUILD b/main/glade3/APKBUILD
index e70b90ba6c..1d748621af 100644
--- a/main/glade3/APKBUILD
+++ b/main/glade3/APKBUILD
@@ -19,7 +19,10 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
diff --git a/main/glib-networking/APKBUILD b/main/glib-networking/APKBUILD
index ab9bc5750b..1a547ebca0 100644
--- a/main/glib-networking/APKBUILD
+++ b/main/glib-networking/APKBUILD
@@ -31,7 +31,10 @@ prepare() {
build() {
cd "$_builddir"
- CONFIG_SHELL=/bin/bash ./configure --prefix=/usr \
+ CONFIG_SHELL=/bin/bash ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--with-libproxy \
--with-gnutls \
|| return 1
diff --git a/main/glib/APKBUILD b/main/glib/APKBUILD
index 129b5df6dc..fbe1f164de 100644
--- a/main/glib/APKBUILD
+++ b/main/glib/APKBUILD
@@ -22,8 +22,12 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
- --mandir=/usr/share/man
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --mandir=/usr/share/man \
+ || return 1
make || return 1
}
diff --git a/main/glibmm/APKBUILD b/main/glibmm/APKBUILD
index 3fe0ac686f..e09c93717a 100644
--- a/main/glibmm/APKBUILD
+++ b/main/glibmm/APKBUILD
@@ -14,7 +14,11 @@ source="http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver%.*}/$pkgname-$p
build() {
cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr || return 1
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ || return 1
make || return 1
}
diff --git a/main/glproto/APKBUILD b/main/glproto/APKBUILD
index a6f91e3e5c..d6b9af13a1 100644
--- a/main/glproto/APKBUILD
+++ b/main/glproto/APKBUILD
@@ -12,7 +12,11 @@ source="http://xorg.freedesktop.org/releases/individual/proto/$pkgname-$pkgver.t
build() {
cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ || return 1
make || return 1
}
diff --git a/main/glu/APKBUILD b/main/glu/APKBUILD
index 48b117ee59..4f88ce8d94 100644
--- a/main/glu/APKBUILD
+++ b/main/glu/APKBUILD
@@ -27,7 +27,10 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--disable-static \
|| return 1
make || return 1
diff --git a/main/gmime/APKBUILD b/main/gmime/APKBUILD
index af59ad9e47..599de2af01 100644
--- a/main/gmime/APKBUILD
+++ b/main/gmime/APKBUILD
@@ -27,8 +27,12 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
- --sysconfdir=/etc || return 1
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ || return 1
make || return 1
}
diff --git a/main/gmp5/APKBUILD b/main/gmp5/APKBUILD
index f57a04f657..cf624951db 100644
--- a/main/gmp5/APKBUILD
+++ b/main/gmp5/APKBUILD
@@ -24,14 +24,15 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
- --build=${CBUILD} \
- --host=${CHOST} \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
--with-sysroot=${CBUILDROOT} \
+ --prefix=/usr \
--infodir=/usr/share/info \
--mandir=/usr/share/man \
--localstatedir=/var/state/gmp \
- --enable-cxx \
+ --enable-cxx \
--with-pic \
|| return 1
diff --git a/main/gnats/APKBUILD b/main/gnats/APKBUILD
index 9b4460809e..befad8edba 100644
--- a/main/gnats/APKBUILD
+++ b/main/gnats/APKBUILD
@@ -18,11 +18,15 @@ build() {
# make install needs gnats user
sudo sh $srcdir/$install pre_install || return 1
- AWK=awk ./configure --prefix=/usr \
+ AWK=awk ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--sharedstatedir=/var/lib \
--mandir=/usr/share/man \
- --infodir=/usr/share/info
+ --infodir=/usr/share/info \
+ || return 1
make || return 1
make DESTDIR="$pkgdir/" install
diff --git a/main/gnokii/APKBUILD b/main/gnokii/APKBUILD
index cd4ffce498..9d02ec5547 100644
--- a/main/gnokii/APKBUILD
+++ b/main/gnokii/APKBUILD
@@ -32,7 +32,10 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--enable-security \
--disable-unix98test \
diff --git a/main/gnomad2/APKBUILD b/main/gnomad2/APKBUILD
index 804d008931..237a8dc53f 100644
--- a/main/gnomad2/APKBUILD
+++ b/main/gnomad2/APKBUILD
@@ -28,7 +28,10 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
diff --git a/main/gnome-bluetooth/APKBUILD b/main/gnome-bluetooth/APKBUILD
index 182e9765ae..4666c4eb05 100644
--- a/main/gnome-bluetooth/APKBUILD
+++ b/main/gnome-bluetooth/APKBUILD
@@ -32,7 +32,10 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--disable-desktop-update \
diff --git a/main/gnome-control-center/APKBUILD b/main/gnome-control-center/APKBUILD
index c7c1417cad..7977e90d4b 100644
--- a/main/gnome-control-center/APKBUILD
+++ b/main/gnome-control-center/APKBUILD
@@ -51,9 +51,13 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
- --disable-scrollkeeper || return 1
+ --disable-scrollkeeper \
+ || return 1
make || return 1
}
diff --git a/main/gnome-desktop/APKBUILD b/main/gnome-desktop/APKBUILD
index 5dff957bb5..c76d464408 100644
--- a/main/gnome-desktop/APKBUILD
+++ b/main/gnome-desktop/APKBUILD
@@ -27,10 +27,14 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--with-gnome-distributor=Alpine \
- --disable-scrollkeeper || return 1
+ --disable-scrollkeeper \
+ || return 1
make || return 1
}
diff --git a/main/gnome-disk-utility/APKBUILD b/main/gnome-disk-utility/APKBUILD
index 95c1e1e090..4d6ed67534 100644
--- a/main/gnome-disk-utility/APKBUILD
+++ b/main/gnome-disk-utility/APKBUILD
@@ -26,13 +26,17 @@ prepare() {
build ()
{
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--libexecdir=/usr/lib/gnome-disk-utility \
--disable-scrollkeeper \
--disable-nautilus \
- --disable-gtk-doc
+ --disable-gtk-doc \
+ || return 1
make
}
diff --git a/main/gnome-doc-utils/APKBUILD b/main/gnome-doc-utils/APKBUILD
index 99d0625c38..c18984186d 100644
--- a/main/gnome-doc-utils/APKBUILD
+++ b/main/gnome-doc-utils/APKBUILD
@@ -19,11 +19,15 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var \
- --disable-scrollkeeper || return 1
+ --disable-scrollkeeper \
+ || return 1
# broken with parallell builds
make -j1 || return 1
}
diff --git a/main/gnome-icon-theme/APKBUILD b/main/gnome-icon-theme/APKBUILD
index 72a009efe3..a1f7e5f1a2 100644
--- a/main/gnome-icon-theme/APKBUILD
+++ b/main/gnome-icon-theme/APKBUILD
@@ -27,9 +27,13 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
- --disable-scrollkeeper || return 1
+ --disable-scrollkeeper \
+ || return 1
make || return 1
}
diff --git a/main/gnome-keyring/APKBUILD b/main/gnome-keyring/APKBUILD
index 574df5ef13..74c604f1b5 100644
--- a/main/gnome-keyring/APKBUILD
+++ b/main/gnome-keyring/APKBUILD
@@ -46,8 +46,12 @@ build() {
cd "$_builddir"
# build fails on eglibc when using ccache
[ "$ALPINE_LIBC" = "eglibc" ] && export CC="/usr/bin/gcc"
- ./configure --prefix=/usr \
- --sysconfdir=/etc || return 1
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ || return 1
make || return 1
}
diff --git a/main/gnome-menus/APKBUILD b/main/gnome-menus/APKBUILD
index 13076e9780..6827135105 100644
--- a/main/gnome-menus/APKBUILD
+++ b/main/gnome-menus/APKBUILD
@@ -27,9 +27,13 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
- --disable-scrollkeeper || return 1
+ --disable-scrollkeeper \
+ || return 1
make || return 1
}
diff --git a/main/gnome-mime-data/APKBUILD b/main/gnome-mime-data/APKBUILD
index 9cbd4698f7..5988e4c00d 100644
--- a/main/gnome-mime-data/APKBUILD
+++ b/main/gnome-mime-data/APKBUILD
@@ -27,9 +27,13 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
- --disable-scrollkeeper || return 1
+ --disable-scrollkeeper \
+ || return 1
make || return 1
}
diff --git a/main/gnome-panel/APKBUILD b/main/gnome-panel/APKBUILD
index 6e3ce26bde..e2ea967942 100644
--- a/main/gnome-panel/APKBUILD
+++ b/main/gnome-panel/APKBUILD
@@ -41,9 +41,13 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
- --disable-scrollkeeper || return 1
+ --disable-scrollkeeper \
+ || return 1
make || return 1
}
diff --git a/main/gnome-power-manager/APKBUILD b/main/gnome-power-manager/APKBUILD
index 08e7463ee1..16550a3adf 100644
--- a/main/gnome-power-manager/APKBUILD
+++ b/main/gnome-power-manager/APKBUILD
@@ -50,10 +50,14 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--disable-applets \
- --disable-scrollkeeper || return 1
+ --disable-scrollkeeper \
+ || return 1
make || return 1
}
diff --git a/main/gnome-screensaver/APKBUILD b/main/gnome-screensaver/APKBUILD
index d7e1acabb4..91da558467 100644
--- a/main/gnome-screensaver/APKBUILD
+++ b/main/gnome-screensaver/APKBUILD
@@ -48,10 +48,14 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--disable-applets \
- --disable-scrollkeeper || return 1
+ --disable-scrollkeeper \
+ || return 1
make || return 1
}
diff --git a/main/gnome-session/APKBUILD b/main/gnome-session/APKBUILD
index bb453be6fe..8710854ac4 100644
--- a/main/gnome-session/APKBUILD
+++ b/main/gnome-session/APKBUILD
@@ -36,10 +36,14 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--enable-compositor \
- --disable-scrollkeeper || return 1
+ --disable-scrollkeeper \
+ || return 1
make || return 1
}
diff --git a/main/gnome-settings-daemon/APKBUILD b/main/gnome-settings-daemon/APKBUILD
index 9d827f6ac5..58863deb36 100644
--- a/main/gnome-settings-daemon/APKBUILD
+++ b/main/gnome-settings-daemon/APKBUILD
@@ -47,9 +47,13 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
- --disable-scrollkeeper || return 1
+ --disable-scrollkeeper \
+ || return 1
make || return 1
}
diff --git a/main/gnome-system-monitor/APKBUILD b/main/gnome-system-monitor/APKBUILD
index 1374b21086..ad83de9e00 100644
--- a/main/gnome-system-monitor/APKBUILD
+++ b/main/gnome-system-monitor/APKBUILD
@@ -63,9 +63,13 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
- --disable-scrollkeeper || return 1
+ --disable-scrollkeeper \
+ || return 1
make || return 1
}
diff --git a/main/gnome-terminal/APKBUILD b/main/gnome-terminal/APKBUILD
index 9ff4320913..979e31ea96 100644
--- a/main/gnome-terminal/APKBUILD
+++ b/main/gnome-terminal/APKBUILD
@@ -26,9 +26,13 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
- --disable-scrollkeeper || return 1
+ --disable-scrollkeeper \
+ || return 1
make || return 1
}
diff --git a/main/gnome-themes/APKBUILD b/main/gnome-themes/APKBUILD
index b9a963e5ea..da9ce45897 100644
--- a/main/gnome-themes/APKBUILD
+++ b/main/gnome-themes/APKBUILD
@@ -27,9 +27,13 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
- --disable-scrollkeeper || return 1
+ --disable-scrollkeeper \
+ || return 1
make || return 1
}
diff --git a/main/gnome-vfs/APKBUILD b/main/gnome-vfs/APKBUILD
index 70d2e4ca12..0854692d1a 100644
--- a/main/gnome-vfs/APKBUILD
+++ b/main/gnome-vfs/APKBUILD
@@ -28,7 +28,10 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
|| return 1
make || return 1
diff --git a/main/gnuchess/APKBUILD b/main/gnuchess/APKBUILD
index bb1a7ed2a0..bc98ebeaaa 100644
--- a/main/gnuchess/APKBUILD
+++ b/main/gnuchess/APKBUILD
@@ -26,7 +26,10 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
diff --git a/main/gnumeric/APKBUILD b/main/gnumeric/APKBUILD
index 119cf47059..1a0dc46de3 100644
--- a/main/gnumeric/APKBUILD
+++ b/main/gnumeric/APKBUILD
@@ -24,7 +24,10 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--disable-static \
diff --git a/main/gnupg/APKBUILD b/main/gnupg/APKBUILD
index 445dd67316..0fef88634b 100644
--- a/main/gnupg/APKBUILD
+++ b/main/gnupg/APKBUILD
@@ -14,8 +14,12 @@ source="ftp://ftp.gnupg.org/gcrypt/gnupg/gnupg-$pkgver.tar.bz2"
build () {
cd "$srcdir/$pkgname-$pkgver"
- ./configure --prefix=/usr \
- --disable-nls
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --disable-nls \
+ || return 1
make || return 1
}
diff --git a/main/gnutls/APKBUILD b/main/gnutls/APKBUILD
index e7e8bf6d94..1dbe346570 100644
--- a/main/gnutls/APKBUILD
+++ b/main/gnutls/APKBUILD
@@ -29,7 +29,10 @@ prepare() {
build() {
cd "$_builddir"
- LIBS="-lgmp" ./configure --prefix=/usr \
+ LIBS="-lgmp" ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
diff --git a/main/gobject-introspection/APKBUILD b/main/gobject-introspection/APKBUILD
index 69e8a03aa8..7d7e462a1e 100644
--- a/main/gobject-introspection/APKBUILD
+++ b/main/gobject-introspection/APKBUILD
@@ -31,7 +31,12 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr --disable-static || return 1
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --disable-static \
+ || return 1
make V=1 || return 1
}
diff --git a/main/goffice/APKBUILD b/main/goffice/APKBUILD
index 961a1086b3..6d1806c778 100644
--- a/main/goffice/APKBUILD
+++ b/main/goffice/APKBUILD
@@ -28,7 +28,10 @@ prepare() {
build() {
cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--disable-static \
diff --git a/main/goffice0.8/APKBUILD b/main/goffice0.8/APKBUILD
index 54829f2cdd..cde30efe60 100644
--- a/main/goffice0.8/APKBUILD
+++ b/main/goffice0.8/APKBUILD
@@ -30,7 +30,10 @@ prepare() {
build() {
cd "$srcdir"/$_realname-$pkgver
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--without-gconf \
diff --git a/main/gparted/APKBUILD b/main/gparted/APKBUILD
index e6f9ca91b9..e98d15415d 100644
--- a/main/gparted/APKBUILD
+++ b/main/gparted/APKBUILD
@@ -20,12 +20,16 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--disable-doc \
- --disable-scrollkeeper
+ --disable-scrollkeeper \
+ || return 1
make || return 1
}
diff --git a/main/gperf/APKBUILD b/main/gperf/APKBUILD
index 6cad51f78e..37c4ce18ce 100644
--- a/main/gperf/APKBUILD
+++ b/main/gperf/APKBUILD
@@ -14,7 +14,11 @@ source="ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz"
build ()
{
cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ || return 1
make || return 1
}
diff --git a/main/gpgme/APKBUILD b/main/gpgme/APKBUILD
index 3e5f3419a5..bd7d29d1da 100644
--- a/main/gpgme/APKBUILD
+++ b/main/gpgme/APKBUILD
@@ -27,7 +27,10 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
diff --git a/main/gphoto2/APKBUILD b/main/gphoto2/APKBUILD
index fdb6d26bf4..7831471fe6 100644
--- a/main/gphoto2/APKBUILD
+++ b/main/gphoto2/APKBUILD
@@ -27,7 +27,10 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
diff --git a/main/gpicview/APKBUILD b/main/gpicview/APKBUILD
index d7b2c63975..ad26d8cd19 100644
--- a/main/gpicview/APKBUILD
+++ b/main/gpicview/APKBUILD
@@ -22,7 +22,12 @@ prepare() {
build() {
cd "$srcdir/$pkgname-$pkgver"
- ./configure --sysconfdir=/etc --prefix=/usr || return 1
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --sysconfdir=/etc \
+ --prefix=/usr \
+ || return 1
make || return 1
}
diff --git a/main/graphviz/APKBUILD b/main/graphviz/APKBUILD
index d5cf0096aa..531d158e91 100644
--- a/main/graphviz/APKBUILD
+++ b/main/graphviz/APKBUILD
@@ -33,7 +33,10 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--with-x \
--disable-static \
diff --git a/main/grep/APKBUILD b/main/grep/APKBUILD
index 0be3037679..3303e7bd69 100644
--- a/main/grep/APKBUILD
+++ b/main/grep/APKBUILD
@@ -16,11 +16,15 @@ source="http://mirrors.kernel.org/gnu/$pkgname/$pkgname-$pkgver.tar.xz"
build() {
cd "$srcdir/$pkgname-$pkgver"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
- --disable-nls
+ --disable-nls \
+ || return 1
make || return 1
}
diff --git a/main/groff/APKBUILD b/main/groff/APKBUILD
index aca8b4803d..3b7d7a6d0d 100644
--- a/main/groff/APKBUILD
+++ b/main/groff/APKBUILD
@@ -13,7 +13,12 @@ source="ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz"
build () {
cd "$srcdir/$pkgname-$pkgver"
- ./configure --prefix=/usr --without-x
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --without-x \
+ || return 1
make || return 1
}
diff --git a/main/gross/APKBUILD b/main/gross/APKBUILD
index e06a6ef58a..9ab6ca9ab4 100644
--- a/main/gross/APKBUILD
+++ b/main/gross/APKBUILD
@@ -33,10 +33,14 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
- --sysconfdir=/etc \
- --mandir=/usr/share/man \
- --infodir=/usr/share/info
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ || return 1
make -j1 || return 1
}
diff --git a/main/gsl/APKBUILD b/main/gsl/APKBUILD
index aee3d17fec..479e571d52 100644
--- a/main/gsl/APKBUILD
+++ b/main/gsl/APKBUILD
@@ -15,7 +15,11 @@ source="http://ftp.gnu.org/gnu/gsl/gsl-$pkgver.tar.gz"
_builddir="$srcdir"/$pkgname-$pkgver
build() {
cd "$_builddir"
- ./configure --prefix=/usr
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ || return 1
make || return 1
}
diff --git a/main/gst-ffmpeg/APKBUILD b/main/gst-ffmpeg/APKBUILD
index fb66fe98a8..23a6599171 100644
--- a/main/gst-ffmpeg/APKBUILD
+++ b/main/gst-ffmpeg/APKBUILD
@@ -21,11 +21,15 @@ prepare() {
build() {
cd "$_builddir"
export CFLAGS="$CFLAGS -fno-strict-aliasing"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--enable-orc \
- --with-ffmpeg-extra-configure="--enable-pic --disable-mmx --disable-mmx2" || return 1
+ --with-ffmpeg-extra-configure="--enable-pic --disable-mmx --disable-mmx2" \
+ || return 1
make || return 1
}
diff --git a/main/gst-libav1/APKBUILD b/main/gst-libav1/APKBUILD
index 685fe007d2..8eb1fb3831 100644
--- a/main/gst-libav1/APKBUILD
+++ b/main/gst-libav1/APKBUILD
@@ -26,7 +26,10 @@ prepare() {
build() {
cd "$_builddir"
export CFLAGS="$CFLAGS -fno-strict-aliasing"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--enable-orc \
diff --git a/main/gst-plugins-bad/APKBUILD b/main/gst-plugins-bad/APKBUILD
index 458fc74118..ce7bb29822 100644
--- a/main/gst-plugins-bad/APKBUILD
+++ b/main/gst-plugins-bad/APKBUILD
@@ -19,7 +19,10 @@ source="http://gstreamer.freedesktop.org//src/gst-plugins-bad/gst-plugins-bad-$p
build() {
cd "$srcdir"/gst-plugins-bad-$pkgver
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--disable-static \
diff --git a/main/gst-plugins-bad1/APKBUILD b/main/gst-plugins-bad1/APKBUILD
index 2a758e9aa2..e7a103cd9c 100644
--- a/main/gst-plugins-bad1/APKBUILD
+++ b/main/gst-plugins-bad1/APKBUILD
@@ -41,7 +41,10 @@ ldpath="/usr/lib/gstreamer-1.0"
_builddir="$srcdir"/gst-plugins-bad-$pkgver
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--disable-static \
diff --git a/main/gst-plugins-base/APKBUILD b/main/gst-plugins-base/APKBUILD
index 2b2d3e09c5..5aec95753e 100644
--- a/main/gst-plugins-base/APKBUILD
+++ b/main/gst-plugins-base/APKBUILD
@@ -26,7 +26,10 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--disable-static \
diff --git a/main/gst-plugins-base1/APKBUILD b/main/gst-plugins-base1/APKBUILD
index 4b1de23e7b..0891ea957d 100644
--- a/main/gst-plugins-base1/APKBUILD
+++ b/main/gst-plugins-base1/APKBUILD
@@ -36,7 +36,10 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--disable-static \
diff --git a/main/gst-plugins-good/APKBUILD b/main/gst-plugins-good/APKBUILD
index 66cae73267..353c27a831 100644
--- a/main/gst-plugins-good/APKBUILD
+++ b/main/gst-plugins-good/APKBUILD
@@ -32,7 +32,10 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--disable-static \
diff --git a/main/gst-plugins-good1/APKBUILD b/main/gst-plugins-good1/APKBUILD
index a119a4810c..53b9d86cdc 100644
--- a/main/gst-plugins-good1/APKBUILD
+++ b/main/gst-plugins-good1/APKBUILD
@@ -50,7 +50,10 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--disable-static \
diff --git a/main/gst-plugins-ugly/APKBUILD b/main/gst-plugins-ugly/APKBUILD
index 04a39c4438..f97ca6d810 100644
--- a/main/gst-plugins-ugly/APKBUILD
+++ b/main/gst-plugins-ugly/APKBUILD
@@ -27,13 +27,17 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--disable-static \
--enable-experimental \
--with-package-name="GStreamer Ugly Plugins (Alpine Linux)" \
- --with-package-origin="http://www.alpinelinux.org/" || return 1
+ --with-package-origin="http://www.alpinelinux.org/" \
+ || return 1
make
}
diff --git a/main/gst-plugins-ugly1/APKBUILD b/main/gst-plugins-ugly1/APKBUILD
index 6430d0a068..962dd01eed 100644
--- a/main/gst-plugins-ugly1/APKBUILD
+++ b/main/gst-plugins-ugly1/APKBUILD
@@ -30,13 +30,17 @@ _builddir="$srcdir"/gst-plugins-ugly-$pkgver
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--disable-static \
--enable-experimental \
--with-package-name="GStreamer Ugly Plugins (Alpine Linux)" \
- --with-package-origin="http://alpinelinux.org/" || return 1
+ --with-package-origin="http://alpinelinux.org/" \
+ || return 1
make
}
diff --git a/main/gstreamer/APKBUILD b/main/gstreamer/APKBUILD
index 1d7d1f46f2..ce158ab2f9 100644
--- a/main/gstreamer/APKBUILD
+++ b/main/gstreamer/APKBUILD
@@ -32,11 +32,15 @@ prepare() {
build() {
cd "$srcdir"/gstreamer-$pkgver
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--enable-introspection \
- --disable-docs-build || return 1
+ --disable-docs-build \
+ || return 1
make || return 1
}
diff --git a/main/gstreamer1/APKBUILD b/main/gstreamer1/APKBUILD
index 59df186f63..d7a5149869 100644
--- a/main/gstreamer1/APKBUILD
+++ b/main/gstreamer1/APKBUILD
@@ -28,7 +28,10 @@ prepare() {
build() {
cd "$srcdir"/gstreamer-$pkgver
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--enable-introspection \
diff --git a/main/gtk+2.0/APKBUILD b/main/gtk+2.0/APKBUILD
index acfe2689ff..97fa9ac57c 100644
--- a/main/gtk+2.0/APKBUILD
+++ b/main/gtk+2.0/APKBUILD
@@ -66,12 +66,16 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--with-xinput=yes \
--without-libjasper \
- --with-included-loaders=png || return 1
+ --with-included-loaders=png \
+ || return 1
# https://bugzilla.gnome.org/show_bug.cgi?id=655517
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool || return 1
make || return 1
diff --git a/main/gtk+3.0/APKBUILD b/main/gtk+3.0/APKBUILD
index 0c84becd13..43013e2174 100644
--- a/main/gtk+3.0/APKBUILD
+++ b/main/gtk+3.0/APKBUILD
@@ -54,7 +54,10 @@ source="http://ftp.gnome.org/pub/gnome/sources/gtk+/${pkgver%.*}/gtk+-$pkgver.ta
_builddir="$srcdir"/gtk+-$pkgver
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
|| return 1
diff --git a/main/gtk-doc/APKBUILD b/main/gtk-doc/APKBUILD
index a0828f5887..1c70f5b7e7 100644
--- a/main/gtk-doc/APKBUILD
+++ b/main/gtk-doc/APKBUILD
@@ -12,7 +12,11 @@ source="http://ftp.gnome.org/pub/gnome/sources/$pkgname/$pkgver/$pkgname-$pkgver
build() {
cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr || return 1
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ || return 1
make || return 1
}
diff --git a/main/gtk-engines/APKBUILD b/main/gtk-engines/APKBUILD
index 643ecd8665..50baa5cbf1 100644
--- a/main/gtk-engines/APKBUILD
+++ b/main/gtk-engines/APKBUILD
@@ -32,10 +32,14 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--enable-animation \
- --disable-scrollkeeper || return 1
+ --disable-scrollkeeper \
+ || return 1
make || return 1
}
diff --git a/main/gtk-vnc/APKBUILD b/main/gtk-vnc/APKBUILD
index e3c1e32807..0304bda523 100644
--- a/main/gtk-vnc/APKBUILD
+++ b/main/gtk-vnc/APKBUILD
@@ -15,11 +15,15 @@ source="http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$p
subpackages="$pkgname-dev gvncviewer $pkgname-lang $pkgname-doc"
build () {
cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--with-examples \
--enable-introspection \
--with-gtk=3.0 \
- --disable-static || return 1
+ --disable-static \
+ || return 1
make || return 1
}
diff --git a/main/gtk-xfce-engine/APKBUILD b/main/gtk-xfce-engine/APKBUILD
index 9004db9292..9fa4fc0abf 100644
--- a/main/gtk-xfce-engine/APKBUILD
+++ b/main/gtk-xfce-engine/APKBUILD
@@ -23,11 +23,15 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--libexecdir=/usr/lib \
--localstatedir=/var \
- --disable-static
+ --disable-static \
+ || return 1
make || return 1
}
diff --git a/main/gtkglext/APKBUILD b/main/gtkglext/APKBUILD
index adee233d10..b6d9747733 100644
--- a/main/gtkglext/APKBUILD
+++ b/main/gtkglext/APKBUILD
@@ -30,7 +30,10 @@ prepare() {
build() {
cd "$_builddir"
./configure \
- --prefix=/usr || return 1
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ || return 1
make || return 1
}
diff --git a/main/gtkmm/APKBUILD b/main/gtkmm/APKBUILD
index c4f57d332e..c2422dc465 100644
--- a/main/gtkmm/APKBUILD
+++ b/main/gtkmm/APKBUILD
@@ -14,7 +14,11 @@ source="http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver%.*}/$pkgname-$p
build() {
cd "$srcdir"/gtkmm-$pkgver
- ./configure --prefix=/usr || return 1
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ || return 1
make || return 1
}
diff --git a/main/gtksourceview/APKBUILD b/main/gtksourceview/APKBUILD
index 09d46d392e..5a9da5c9d7 100644
--- a/main/gtksourceview/APKBUILD
+++ b/main/gtksourceview/APKBUILD
@@ -14,10 +14,14 @@ source="http://ftp.gnome.org/pub/gnome/sources/gtksourceview/${pkgver%.*}/gtksou
build() {
cd "$srcdir"/gtksourceview-$pkgver
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
- --disable-static || return 1
+ --disable-static \
+ || return 1
make || return 1
}
diff --git a/main/gtkspell/APKBUILD b/main/gtkspell/APKBUILD
index 3b5df6f94f..9112599b6f 100644
--- a/main/gtkspell/APKBUILD
+++ b/main/gtkspell/APKBUILD
@@ -13,7 +13,10 @@ source="http://$pkgname.sourceforge.net/download/$pkgname-$pkgver.tar.gz"
depends_dev="gtk+-dev"
build() {
cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
|| return 1
make || return 1
}
diff --git a/main/gucharmap/APKBUILD b/main/gucharmap/APKBUILD
index e942c30ae8..e7078e43ef 100644
--- a/main/gucharmap/APKBUILD
+++ b/main/gucharmap/APKBUILD
@@ -21,7 +21,10 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
diff --git a/main/guile/APKBUILD b/main/guile/APKBUILD
index f3fb25372a..7166bb65cb 100644
--- a/main/guile/APKBUILD
+++ b/main/guile/APKBUILD
@@ -29,8 +29,12 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
- --disable-error-on-warning || return 1
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --disable-error-on-warning \
+ || return 1
make LDFLAGS+="-lpthread" || return 1
}
diff --git a/main/gvfs/APKBUILD b/main/gvfs/APKBUILD
index d771bd5c11..33a7f08e95 100644
--- a/main/gvfs/APKBUILD
+++ b/main/gvfs/APKBUILD
@@ -37,7 +37,10 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--libexecdir=/usr/lib/gvfs \
--mandir=/usr/share/man \
diff --git a/main/gzip/APKBUILD b/main/gzip/APKBUILD
index fec3177a31..b1b062c06d 100644
--- a/main/gzip/APKBUILD
+++ b/main/gzip/APKBUILD
@@ -19,9 +19,13 @@ build() {
# avoid text relocation
export DEFS="NO_ASM"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--mandir=/usr/share/man \
- --infodir=/usr/share/info
+ --infodir=/usr/share/info \
+ || return 1
make || return 1
}
@@ -29,6 +33,9 @@ package() {
cd "$_builddir"
make DESTDIR=$pkgdir install
+ rm -rf "$pkgdir"/usr/lib/charset.alias
+ rmdir -p "$pkgdir"/usr/lib 2>/dev/null
+
mkdir -p "$pkgdir"/bin
mv "$pkgdir"/usr/bin/gzip "$pkgdir"/usr/bin/gunzip "$pkgdir"/bin/
ln -s /bin/gzip "$pkgdir"/usr/bin/gzip
diff --git a/main/harfbuzz/APKBUILD b/main/harfbuzz/APKBUILD
index 1a6244bb6a..358ca8735f 100644
--- a/main/harfbuzz/APKBUILD
+++ b/main/harfbuzz/APKBUILD
@@ -26,7 +26,10 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--disable-static \
|| return 1
make
diff --git a/main/haserl/APKBUILD b/main/haserl/APKBUILD
index ad7e36d233..26c3ee6c1e 100644
--- a/main/haserl/APKBUILD
+++ b/main/haserl/APKBUILD
@@ -32,8 +32,12 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
- --with-lua=lua5.1 || return 1
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --with-lua=lua5.1 \
+ || return 1
make || return 1
}
diff --git a/main/haveged/APKBUILD b/main/haveged/APKBUILD
index 54e6993b34..7490e314fd 100644
--- a/main/haveged/APKBUILD
+++ b/main/haveged/APKBUILD
@@ -16,7 +16,12 @@ _builddir="$srcdir"/$pkgname-$pkgver
build() {
cd "$_builddir"
- ./configure --prefix /usr --sysconfdir /etc || return 1
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix /usr \
+ --sysconfdir /etc \
+ || return 1
make || return 1
}
diff --git a/main/heimdal/APKBUILD b/main/heimdal/APKBUILD
index 767ee41789..d5a71f3097 100644
--- a/main/heimdal/APKBUILD
+++ b/main/heimdal/APKBUILD
@@ -54,14 +54,18 @@ build() {
export LDFLAGS="${LDFLAGS} -Wl,--as-needed"
export LIBS="-ldb"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--enable-shared=yes \
--without-x \
--with-berkeley-db \
--with-readline-lib=/usr/lib \
--with-readline-include=/usr/include/readline \
--with-sqlite3=/usr \
- --with-openssl=/usr || return 1
+ --with-openssl=/usr \
+ || return 1
# make sure we use system version
rm -r lib/sqlite lib/com_err
diff --git a/main/hicolor-icon-theme/APKBUILD b/main/hicolor-icon-theme/APKBUILD
index c3d7144baa..d752d0be8a 100644
--- a/main/hicolor-icon-theme/APKBUILD
+++ b/main/hicolor-icon-theme/APKBUILD
@@ -12,7 +12,11 @@ source="http://icon-theme.freedesktop.org/releases/$pkgname-$pkgver.tar.gz"
build() {
cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr || return 1
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ || return 1
make || return 1
}
diff --git a/main/htop/APKBUILD b/main/htop/APKBUILD
index ac4a843b5f..c7c89133fc 100644
--- a/main/htop/APKBUILD
+++ b/main/htop/APKBUILD
@@ -15,6 +15,8 @@ _builddir="$srcdir"/$pkgname-$pkgver
build() {
cd "$_builddir"
./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
--prefix=/usr \
--mandir=/usr/share/man \
|| return 1
diff --git a/main/hunspell/APKBUILD b/main/hunspell/APKBUILD
index a8409b8b46..f629a1e46c 100644
--- a/main/hunspell/APKBUILD
+++ b/main/hunspell/APKBUILD
@@ -13,9 +13,13 @@ source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz"
build() {
cd "$srcdir/hunspell-$pkgver"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--disable-static \
- --without-included-gettext || return 1
+ --without-included-gettext \
+ || return 1
make || return 1
}
diff --git a/main/hwdata/APKBUILD b/main/hwdata/APKBUILD
index bdb25ceb82..caa449df86 100644
--- a/main/hwdata/APKBUILD
+++ b/main/hwdata/APKBUILD
@@ -26,7 +26,10 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--datadir=/usr/share \
|| return 1
diff --git a/main/hylafax/APKBUILD b/main/hylafax/APKBUILD
index 418027766f..35c01c96e1 100644
--- a/main/hylafax/APKBUILD
+++ b/main/hylafax/APKBUILD
@@ -27,7 +27,11 @@ build() {
# the configure script does not handle ccache or distcc
export CC=gcc
export CXX=g++
- ./configure --nointeractive --disable-pam \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --nointeractive \
+ --disable-pam \
--with-DIR_BIN=/usr/bin \
--with-DIR_SBIN=/usr/sbin \
--with-DIR_LIB=/usr/lib \
diff --git a/main/hypermail/APKBUILD b/main/hypermail/APKBUILD
index 5a6824d856..02c8f3fcf3 100644
--- a/main/hypermail/APKBUILD
+++ b/main/hypermail/APKBUILD
@@ -17,12 +17,16 @@ source="http://www.hypermail-project.org/$pkgname-$pkgver.tar.gz
_builddir="$srcdir"/hypermail
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--with-httpddir=/var/www \
- --with-cgidir=/var/www/cgi-bin
+ --with-cgidir=/var/www/cgi-bin \
+ || return 1
make || return 1
}
package() {
diff --git a/main/iceauth/APKBUILD b/main/iceauth/APKBUILD
index 42712528df..77fad92b3b 100644
--- a/main/iceauth/APKBUILD
+++ b/main/iceauth/APKBUILD
@@ -12,7 +12,10 @@ makedepends="pkgconfig libice-dev"
source="http://xorg.freedesktop.org/releases/individual/app/iceauth-$pkgver.tar.bz2"
build() {
cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--mandir=/usr/share/man \
|| return 1
make || return 1
diff --git a/main/icecast/APKBUILD b/main/icecast/APKBUILD
index 83282982c7..4046c5e4b1 100644
--- a/main/icecast/APKBUILD
+++ b/main/icecast/APKBUILD
@@ -26,11 +26,15 @@ prepare() {
build() {
cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--localstatedir=/var \
--sysconfdir=/etc \
--mandir=/usr/share/man \
- --infodir=/usr/share/info
+ --infodir=/usr/share/info \
+ || return 1
make
}
diff --git a/main/icedtea-web/APKBUILD b/main/icedtea-web/APKBUILD
index 74cfaebd96..0a45aa915a 100644
--- a/main/icedtea-web/APKBUILD
+++ b/main/icedtea-web/APKBUILD
@@ -28,7 +28,10 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr/lib/jvm/java-1.6-openjdk \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr/lib/jvm/java-1.6-openjdk \
--datarootdir=/usr/share \
--sysconfdir=/etc \
--mandir=/usr/share/man \
diff --git a/main/icon-naming-utils/APKBUILD b/main/icon-naming-utils/APKBUILD
index c55416924e..b7ba1e1822 100644
--- a/main/icon-naming-utils/APKBUILD
+++ b/main/icon-naming-utils/APKBUILD
@@ -13,10 +13,14 @@ source="http://tango.freedesktop.org/releases/$pkgname-$pkgver.tar.bz2"
build ()
{
cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--libexecdir=/usr/lib/icon-naming-utils \
- --localstatedir=/var || return 1
+ --localstatedir=/var \
+ || return 1
make || return 1
make DESTDIR="$pkgdir" install || return 1
mv "$pkgdir"/usr/share/pkgconfig "$pkgdir"/usr/lib/pkgconfig || return 1
diff --git a/main/icu/APKBUILD b/main/icu/APKBUILD
index a8ebea5917..240a3e8f43 100644
--- a/main/icu/APKBUILD
+++ b/main/icu/APKBUILD
@@ -40,7 +40,10 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--with-data-packaging=library \
--disable-samples \
diff --git a/main/iftop/APKBUILD b/main/iftop/APKBUILD
index c0161cdc9c..26a8b0fd86 100644
--- a/main/iftop/APKBUILD
+++ b/main/iftop/APKBUILD
@@ -13,7 +13,12 @@ source="http://www.ex-parrot.com/~pdw/$pkgname/download/$pkgname-$pkgver.tar.gz"
build() {
cd "$srcdir/$pkgname-$pkgver"
- ./configure --prefix=/usr --mandir=/usr/share/man
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --mandir=/usr/share/man \
+ || return 1
make
}
diff --git a/main/igmpproxy/APKBUILD b/main/igmpproxy/APKBUILD
index c0a8b9a5b0..792cb2f7eb 100644
--- a/main/igmpproxy/APKBUILD
+++ b/main/igmpproxy/APKBUILD
@@ -21,10 +21,14 @@ build() {
sed -i -e 's:^#define MAX_MC_VIFS.*:#define MAX_MC_VIFS MAXVIFS:' \
src/igmpproxy.h
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
- --infodir=/usr/share/info
+ --infodir=/usr/share/info \
+ || return 1
make || return 1
make DESTDIR="$pkgdir" install
diff --git a/main/imagemagick/APKBUILD b/main/imagemagick/APKBUILD
index 0649ef3964..a5b79855ec 100644
--- a/main/imagemagick/APKBUILD
+++ b/main/imagemagick/APKBUILD
@@ -33,7 +33,10 @@ build() {
's:DOCUMENTATION_PATH="${DATA_DIR}/doc/${DOCUMENTATION_RELATIVE_PATH}":DOCUMENTATION_PATH="/usr/share/doc/imagemagick":g' \
configure || die
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
@@ -41,7 +44,8 @@ build() {
--without-x \
--with-gslib \
--with-gs-font-dir=/usr/share/fonts/Type1 \
- --with-modules
+ --with-modules \
+ || return 1
make || return 1
}
diff --git a/main/imlib2/APKBUILD b/main/imlib2/APKBUILD
index 15b0fe828c..0af33ef14a 100644
--- a/main/imlib2/APKBUILD
+++ b/main/imlib2/APKBUILD
@@ -20,7 +20,10 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc/imlib2 \
--x-libraries=/usr/lib \
--disable-mmx \
diff --git a/main/indent/APKBUILD b/main/indent/APKBUILD
index 260684cae7..65c247549d 100644
--- a/main/indent/APKBUILD
+++ b/main/indent/APKBUILD
@@ -22,12 +22,16 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--without-included-gettext \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
- --without-texinfo
+ --without-texinfo \
+ || return 1
make SUBDIRS="intl po src" || return 1
}
diff --git a/main/inkscape/APKBUILD b/main/inkscape/APKBUILD
index 3944f12577..b4e9d97556 100644
--- a/main/inkscape/APKBUILD
+++ b/main/inkscape/APKBUILD
@@ -44,7 +44,10 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--with-python \
--with-perl \
--without-gnome-vfs \
diff --git a/main/inputproto/APKBUILD b/main/inputproto/APKBUILD
index 94775c1e5f..356919f386 100644
--- a/main/inputproto/APKBUILD
+++ b/main/inputproto/APKBUILD
@@ -10,7 +10,11 @@ source="http://xorg.freedesktop.org/releases/individual/proto/$pkgname-$pkgver.t
build() {
cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr || return 1
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ || return 1
make || return 1
}
diff --git a/main/intltool/APKBUILD b/main/intltool/APKBUILD
index 8cbcad1b3a..50ba6a5ab6 100644
--- a/main/intltool/APKBUILD
+++ b/main/intltool/APKBUILD
@@ -12,7 +12,11 @@ source="http://edge.launchpad.net/intltool/trunk/${pkgver}/+download/${pkgname}-
build () {
cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr || return 1
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ || return 1
make || return 1
}
diff --git a/main/iperf/APKBUILD b/main/iperf/APKBUILD
index 248abcb0b3..ede37bdf00 100644
--- a/main/iperf/APKBUILD
+++ b/main/iperf/APKBUILD
@@ -17,6 +17,8 @@ _builddir="$srcdir/$pkgname-$pkgver"
build() {
cd "$_builddir"
./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
diff --git a/main/iproute2/APKBUILD b/main/iproute2/APKBUILD
index f0bf0056e6..ade1959dfd 100644
--- a/main/iproute2/APKBUILD
+++ b/main/iproute2/APKBUILD
@@ -31,7 +31,10 @@ prepare() {
build() {
cd "$srcdir"/$pkgname-$_realver
- ./configure || return 1
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ || return 1
make CCOPTS="-D_GNU_SOURCE $CFLAGS" LIBDIR=/lib || return 1
}
diff --git a/main/ipsec-tools/APKBUILD b/main/ipsec-tools/APKBUILD
index 300c662799..661e2e98b9 100644
--- a/main/ipsec-tools/APKBUILD
+++ b/main/ipsec-tools/APKBUILD
@@ -35,7 +35,10 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
@@ -47,7 +50,8 @@ build() {
--enable-frag \
--enable-hybrid \
--enable-ipv6 \
- --enable-natt
+ --enable-natt \
+ || return 1
make || return 1
}
diff --git a/main/ipset/APKBUILD b/main/ipset/APKBUILD
index 2af4fcab0e..7411c7732c 100644
--- a/main/ipset/APKBUILD
+++ b/main/ipset/APKBUILD
@@ -26,7 +26,13 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --with-kmod=no --prefix=/usr && make
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --with-kmod=no \
+ --prefix=/usr \
+ || return 1
+ make || return 1
}
package() {
diff --git a/main/iptables/APKBUILD b/main/iptables/APKBUILD
index 02916d3c6a..600f6cade8 100644
--- a/main/iptables/APKBUILD
+++ b/main/iptables/APKBUILD
@@ -24,19 +24,22 @@ prepare() {
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
- sed -i -e '/if_packet/i#define __aligned_u64 __u64 __attribute__((aligned(8)))' \
+ sed -i -e '/if_packet/i#define __aligned_u64 __u64 __attribute__((aligned(8)))' \
extensions/libxt_pkttype.c || return 1
}
build() {
cd "$srcdir/$pkgname-$pkgver"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--mandir=/usr/share/man \
--sbindir=/sbin \
--without-kernel \
- --enable-devel \
+ --enable-devel \
--enable-libipq \
- --enable-shared \
+ --enable-shared \
|| return 1
# do not use rpath
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
diff --git a/main/iptraf-ng/APKBUILD b/main/iptraf-ng/APKBUILD
index 7fb417a740..58aac82726 100644
--- a/main/iptraf-ng/APKBUILD
+++ b/main/iptraf-ng/APKBUILD
@@ -27,7 +27,10 @@ prepare() {
build() {
cd "$_builddir"
- CFLAGS="$CFLAGS -std=gnu99" ./configure --prefix=/usr \
+ CFLAGS="$CFLAGS -std=gnu99" ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
|| return 1
make
}
diff --git a/main/ircii/APKBUILD b/main/ircii/APKBUILD
index a1dd40456b..a18f48408a 100644
--- a/main/ircii/APKBUILD
+++ b/main/ircii/APKBUILD
@@ -16,7 +16,10 @@ source="http://dev.alpinelinux.org/archive/ircii/ircii-$pkgver.tar.bz2"
build() {
cd "$srcdir/$pkgname-$pkgver"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
diff --git a/main/ircservices/APKBUILD b/main/ircservices/APKBUILD
index 2e37382494..3527070319 100644
--- a/main/ircservices/APKBUILD
+++ b/main/ircservices/APKBUILD
@@ -25,6 +25,8 @@ prepare() {
build() {
cd "$srcdir"/$pkgname-$pkgver
+
+ # note: this is not autotools
RUNGROUP=ircservices ./configure \
-cc "$CC" \
-cflags "$CFLAGS" \
@@ -33,9 +35,9 @@ build() {
|| return 1
# build targets one by one as paralell builds breaks
- make config-check &&\
- make ircservices &&\
- make languages &&\
+ make config-check && \
+ make ircservices && \
+ make languages && \
make tools
}
diff --git a/main/irqbalance/APKBUILD b/main/irqbalance/APKBUILD
index 461aa5c9da..45dbc9eec3 100644
--- a/main/irqbalance/APKBUILD
+++ b/main/irqbalance/APKBUILD
@@ -25,10 +25,14 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
- --infodir=/usr/share/info
+ --infodir=/usr/share/info \
+ || return 1
make || return 1
}
diff --git a/main/irssi/APKBUILD b/main/irssi/APKBUILD
index 8a3de49fca..9e4d9aae8e 100644
--- a/main/irssi/APKBUILD
+++ b/main/irssi/APKBUILD
@@ -29,11 +29,15 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
- --sysconfdir=/etc \
- --mandir=/usr/share/man \
- --with-perl-staticlib \
- --with-proxy
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --with-perl-staticlib \
+ --with-proxy \
+ || return 1
make || return 1
}
diff --git a/main/isl/APKBUILD b/main/isl/APKBUILD
index 4aa28ad201..1d9d0ef2ce 100644
--- a/main/isl/APKBUILD
+++ b/main/isl/APKBUILD
@@ -28,12 +28,13 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--localstatedir=/var \
- --build=${CBUILD} \
- --host=${CHOST} \
--with-sysroot=${CBUILDROOT} \
|| return 1
diff --git a/main/iso-codes/APKBUILD b/main/iso-codes/APKBUILD
index abee4ef9d3..d57d110406 100644
--- a/main/iso-codes/APKBUILD
+++ b/main/iso-codes/APKBUILD
@@ -14,7 +14,11 @@ source="http://pkg-isocodes.alioth.debian.org/downloads/$pkgname-$pkgver.tar.xz"
build() {
cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr || return 1
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ || return 1
make || return 1
}
diff --git a/main/itstool/APKBUILD b/main/itstool/APKBUILD
index 4321f6d814..6b8c48d6ee 100644
--- a/main/itstool/APKBUILD
+++ b/main/itstool/APKBUILD
@@ -26,7 +26,10 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
diff --git a/main/jansson/APKBUILD b/main/jansson/APKBUILD
index d3e8a9cb3d..8811086f37 100644
--- a/main/jansson/APKBUILD
+++ b/main/jansson/APKBUILD
@@ -27,7 +27,10 @@ prepare() {
build() {
cd "$_builddir"
LIBS=-lm \
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
diff --git a/main/jasper/APKBUILD b/main/jasper/APKBUILD
index f246759549..57a5d5847c 100644
--- a/main/jasper/APKBUILD
+++ b/main/jasper/APKBUILD
@@ -30,9 +30,13 @@ prepare() {
build () {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--mandir=/usr/share/man \
- --enable-shared || return 1
+ --enable-shared \
+ || return 1
make || return 1
}
diff --git a/main/jfsutils/APKBUILD b/main/jfsutils/APKBUILD
index 86bbd721ee..f14ad8668b 100644
--- a/main/jfsutils/APKBUILD
+++ b/main/jfsutils/APKBUILD
@@ -29,7 +29,10 @@ prepare() {
build () {
cd "$_builddir"
./configure \
- --mandir=/usr/share/man
+ --build=$CBUILD \
+ --host=$CHOST \
+ --mandir=/usr/share/man \
+ || return 1
make || return 1
}
diff --git a/main/joe/APKBUILD b/main/joe/APKBUILD
index 6ee1013bd9..51e07aa880 100644
--- a/main/joe/APKBUILD
+++ b/main/joe/APKBUILD
@@ -26,7 +26,12 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr --sysconfdir=/etc || return 1
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ || return 1
make || return 1
}
diff --git a/main/js/APKBUILD b/main/js/APKBUILD
index fb986990f1..ec55fff252 100644
--- a/main/js/APKBUILD
+++ b/main/js/APKBUILD
@@ -44,7 +44,10 @@ EOF
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--with-system-nspr \
--enable-threadsafe \
--enable-readline \
diff --git a/main/json-glib/APKBUILD b/main/json-glib/APKBUILD
index 892b2b8ec9..66c64b4d75 100644
--- a/main/json-glib/APKBUILD
+++ b/main/json-glib/APKBUILD
@@ -14,7 +14,11 @@ source="http://ftp.gnome.org/pub/GNOME/sources/json-glib/${pkgver%.*}/json-glib-
_builddir="$srcdir"/$pkgname-$pkgver
build() {
cd $srcdir/$pkgname-$pkgver
- ./configure --prefix=/usr
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ || return 1
make
}
diff --git a/main/jwhois/APKBUILD b/main/jwhois/APKBUILD
index c5a5c89eba..8bc206fdea 100644
--- a/main/jwhois/APKBUILD
+++ b/main/jwhois/APKBUILD
@@ -28,7 +28,10 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/ \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/ \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
diff --git a/main/jwm/APKBUILD b/main/jwm/APKBUILD
index 12fc7d875b..77dd40a319 100644
--- a/main/jwm/APKBUILD
+++ b/main/jwm/APKBUILD
@@ -23,6 +23,8 @@ _builddir="$srcdir"/$pkgname-$pkgver
build() {
cd "$_builddir"
./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--enable-confirm \
@@ -36,7 +38,8 @@ build() {
--enable-xmu \
--enable-xinerama \
--disable-fribidi \
- --disable-debug || return 1
+ --disable-debug \
+ || return 1
make || return 1
}
diff --git a/main/kbd/APKBUILD b/main/kbd/APKBUILD
index 59b4bf87d9..35aa5c1e4f 100644
--- a/main/kbd/APKBUILD
+++ b/main/kbd/APKBUILD
@@ -48,7 +48,10 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--datadir=/lib/kbd \
--localedir=/usr/share/locale \
--disable-nls \
diff --git a/main/kbproto/APKBUILD b/main/kbproto/APKBUILD
index 6d5baee5b8..c12289b127 100644
--- a/main/kbproto/APKBUILD
+++ b/main/kbproto/APKBUILD
@@ -12,7 +12,11 @@ source="http://xorg.freedesktop.org/releases/individual/proto/$pkgname-$pkgver.t
build() {
cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ || return 1
make || return 1
}
diff --git a/main/keybinder/APKBUILD b/main/keybinder/APKBUILD
index 8c4188f023..94ea810679 100644
--- a/main/keybinder/APKBUILD
+++ b/main/keybinder/APKBUILD
@@ -27,7 +27,10 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--disable-static \
--disable-python \
--disable-lua \
diff --git a/main/kmod/APKBUILD b/main/kmod/APKBUILD
index 65e52722c4..877c1ccfbd 100644
--- a/main/kmod/APKBUILD
+++ b/main/kmod/APKBUILD
@@ -27,7 +27,10 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --bindir=/bin \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --bindir=/bin \
--with-rootlibdir=/lib \
--with-zlib \
--with-xz \
diff --git a/main/knock/APKBUILD b/main/knock/APKBUILD
index 58a63654d5..0e28532456 100644
--- a/main/knock/APKBUILD
+++ b/main/knock/APKBUILD
@@ -30,10 +30,14 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
- --infodir=/usr/share/info
+ --infodir=/usr/share/info \
+ || return 1
make || return 1
}
diff --git a/main/krb5/APKBUILD b/main/krb5/APKBUILD
index 72ec854993..061e981050 100644
--- a/main/krb5/APKBUILD
+++ b/main/krb5/APKBUILD
@@ -43,6 +43,8 @@ build() {
cd "$_builddir"/src
./configure \
CPPFLAGS="$CPPFLAGS -fPIC -I/usr/include/et" \
+ --build=$CBUILD \
+ --host=$CHOST \
--prefix=/usr \
--localstatedir=/var/lib \
--enable-shared \
diff --git a/main/lame/APKBUILD b/main/lame/APKBUILD
index 45de772a21..f9a9a26462 100644
--- a/main/lame/APKBUILD
+++ b/main/lame/APKBUILD
@@ -37,11 +37,15 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--enable-nasm \
--disable-mp3x \
--enable-shared \
- --with-pic
+ --with-pic \
+ || return 1
make || return 1
}
diff --git a/main/lcms/APKBUILD b/main/lcms/APKBUILD
index c2d09b112b..583a251a6a 100644
--- a/main/lcms/APKBUILD
+++ b/main/lcms/APKBUILD
@@ -14,7 +14,11 @@ source="http://downloads.sourceforge.net/project/lcms/lcms/$pkgver/lcms-$pkgver.
_builddir="$srcdir"/$pkgname-$pkgver
build() {
cd "$_builddir"
- ./configure --prefix=/usr
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ || return 1
make || return 1
}
diff --git a/main/ldns/APKBUILD b/main/ldns/APKBUILD
index 75041a6339..b389817232 100644
--- a/main/ldns/APKBUILD
+++ b/main/ldns/APKBUILD
@@ -27,14 +27,25 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--localstatedir=/var \
|| return 1
- (cd drill && ./configure --prefix=/usr)
- (cd examples && ./configure --prefix=/usr)
+ (cd drill && ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr) \
+ || return 1
+ (cd examples && ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr) \
+ || return 1
make || return 1
make -C drill || return 1
diff --git a/main/less/APKBUILD b/main/less/APKBUILD
index 8953f964d8..b7e140363c 100644
--- a/main/less/APKBUILD
+++ b/main/less/APKBUILD
@@ -15,10 +15,14 @@ source="http://www.greenwoodsoftware.com/$pkgname/$pkgname-$pkgver.tar.gz"
build() {
cd "$srcdir/$pkgname-$pkgver"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
- --infodir=/usr/share/info
+ --infodir=/usr/share/info \
+ || return 1
make || return 1
}
diff --git a/main/lftp/APKBUILD b/main/lftp/APKBUILD
index de23dfddba..c676c96dfb 100644
--- a/main/lftp/APKBUILD
+++ b/main/lftp/APKBUILD
@@ -25,13 +25,17 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc/lftp \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--with-modules \
--disable-nls \
- --with-openssl
+ --with-openssl \
+ || return 1
make || return 1
}
diff --git a/main/lha/APKBUILD b/main/lha/APKBUILD
index 5ee866fb9b..22a71502ca 100644
--- a/main/lha/APKBUILD
+++ b/main/lha/APKBUILD
@@ -15,10 +15,14 @@ source="http://osdn.dl.sourceforge.jp/lha/22231/$pkgname-$pkgver-ac20050924p1.ta
build ()
{
cd $srcdir/$pkgname-$pkgver-ac20050924p1
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
- --infodir=/usr/share/info
+ --infodir=/usr/share/info \
+ || return 1
make || return 1
make "DESTDIR=$pkgdir" install
#install -D -m755 $srcdir/lha $pkgdir/usr/bin/lha
diff --git a/main/libao/APKBUILD b/main/libao/APKBUILD
index 5e47953411..cfffd994b2 100644
--- a/main/libao/APKBUILD
+++ b/main/libao/APKBUILD
@@ -13,10 +13,14 @@ source="http://downloads.xiph.org/releases/ao/$pkgname-$pkgver.tar.gz"
build () {
cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--enable-alsa09 \
--disable-esd \
- --disable-arts
+ --disable-arts \
+ || return 1
make || return 1
}
diff --git a/main/libarchive/APKBUILD b/main/libarchive/APKBUILD
index 5305967e1b..20ee616df5 100644
--- a/main/libarchive/APKBUILD
+++ b/main/libarchive/APKBUILD
@@ -25,7 +25,12 @@ prepare() {
build () {
cd "$_builddir"
- ./configure --prefix=/usr --without-xml2
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --without-xml2 \
+ || return 1
make
}
diff --git a/main/libart-lgpl/APKBUILD b/main/libart-lgpl/APKBUILD
index 0f76730111..436c460a02 100644
--- a/main/libart-lgpl/APKBUILD
+++ b/main/libart-lgpl/APKBUILD
@@ -15,7 +15,11 @@ source="http://ftp.gnome.org/pub/GNOME/sources/libart_lgpl/2.3/libart_lgpl-$pkgv
_builddir="$srcdir"/libart_lgpl-$pkgver
build() {
cd "$_builddir"
- ./configure --prefix=/usr || return 1
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ || return 1
make || return 1
}
diff --git a/main/libass/APKBUILD b/main/libass/APKBUILD
index 3edf6bf927..34f5f2543d 100644
--- a/main/libass/APKBUILD
+++ b/main/libass/APKBUILD
@@ -21,10 +21,14 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
- --infodir=/usr/share/info
+ --infodir=/usr/share/info \
+ || return 1
make || return 1
}
diff --git a/main/libassuan/APKBUILD b/main/libassuan/APKBUILD
index e85724155e..87d89fb8f8 100644
--- a/main/libassuan/APKBUILD
+++ b/main/libassuan/APKBUILD
@@ -13,7 +13,11 @@ source="ftp://ftp.gnupg.org/gcrypt/$pkgname/$pkgname-$pkgver.tar.bz2"
build () {
cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ || return 1
make || return 1
}
diff --git a/main/libasyncns/APKBUILD b/main/libasyncns/APKBUILD
index edb57b1de1..366f3f0828 100644
--- a/main/libasyncns/APKBUILD
+++ b/main/libasyncns/APKBUILD
@@ -18,6 +18,8 @@ _builddir="$srcdir"/$pkgname-$pkgver
build() {
cd "$_builddir"
./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
--disable-static \
--prefix=/usr \
|| return 1
diff --git a/main/libatasmart/APKBUILD b/main/libatasmart/APKBUILD
index e73dcfc6b1..4a30fbe7f2 100644
--- a/main/libatasmart/APKBUILD
+++ b/main/libatasmart/APKBUILD
@@ -23,12 +23,16 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--disable-static \
- --localstatedir=/var
+ --localstatedir=/var \
+ || return 1
make || return 1
}
diff --git a/main/libavc1394/APKBUILD b/main/libavc1394/APKBUILD
index ed8423ac79..f392c3aa6d 100644
--- a/main/libavc1394/APKBUILD
+++ b/main/libavc1394/APKBUILD
@@ -31,7 +31,10 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
diff --git a/main/libbluray/APKBUILD b/main/libbluray/APKBUILD
index 180e8cbfed..8472993e9b 100644
--- a/main/libbluray/APKBUILD
+++ b/main/libbluray/APKBUILD
@@ -33,7 +33,10 @@ build() {
# and this seems to be what libbluray assumes
export CFLAGS="$CFLAGS -D_BSD_SOURCE"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
diff --git a/main/libbonobo/APKBUILD b/main/libbonobo/APKBUILD
index e1150894c7..65bf599129 100644
--- a/main/libbonobo/APKBUILD
+++ b/main/libbonobo/APKBUILD
@@ -32,7 +32,10 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
|| return 1
make || return 1
diff --git a/main/libbsd/APKBUILD b/main/libbsd/APKBUILD
index a8f0866b05..1499eb93d4 100644
--- a/main/libbsd/APKBUILD
+++ b/main/libbsd/APKBUILD
@@ -27,7 +27,10 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
diff --git a/main/libburn/APKBUILD b/main/libburn/APKBUILD
index e42741117e..bb7da61397 100644
--- a/main/libburn/APKBUILD
+++ b/main/libburn/APKBUILD
@@ -20,7 +20,12 @@ _builddir="$srcdir"/$pkgname-$_ver
build ()
{
cd "$_builddir"
- ./configure --prefix=/usr --disable-static
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --disable-static \
+ || return 1
make || return 1
}
diff --git a/main/libcanberra/APKBUILD b/main/libcanberra/APKBUILD
index 2bbeccc57d..26705f7225 100644
--- a/main/libcanberra/APKBUILD
+++ b/main/libcanberra/APKBUILD
@@ -23,10 +23,14 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
- --infodir=/usr/share/info
+ --infodir=/usr/share/info \
+ || return 1
make || return 1
}
diff --git a/main/libcap-ng/APKBUILD b/main/libcap-ng/APKBUILD
index 8f6fd85ed8..6421b4ff9a 100644
--- a/main/libcap-ng/APKBUILD
+++ b/main/libcap-ng/APKBUILD
@@ -21,10 +21,14 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
- --infodir=/usr/share/info
+ --infodir=/usr/share/info \
+ || return 1
make || return 1
}
diff --git a/main/libcddb/APKBUILD b/main/libcddb/APKBUILD
index 482702da7a..4a03352067 100644
--- a/main/libcddb/APKBUILD
+++ b/main/libcddb/APKBUILD
@@ -25,10 +25,14 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
- --infodir=/usr/share/info
+ --infodir=/usr/share/info \
+ || return 1
make || return 1
}
diff --git a/main/libcdio-paranoia/APKBUILD b/main/libcdio-paranoia/APKBUILD
index d82446378d..16cb1323d0 100644
--- a/main/libcdio-paranoia/APKBUILD
+++ b/main/libcdio-paranoia/APKBUILD
@@ -30,7 +30,10 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
diff --git a/main/libcdio/APKBUILD b/main/libcdio/APKBUILD
index 72619db032..0e31e75472 100644
--- a/main/libcdio/APKBUILD
+++ b/main/libcdio/APKBUILD
@@ -25,14 +25,18 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--disable-vcd-info \
--disable-static \
--disable-rpath \
- --disable-cpp-progs
+ --disable-cpp-progs \
+ || return 1
make || return 1
}
diff --git a/main/libcec/APKBUILD b/main/libcec/APKBUILD
index 9068783f2e..d8ff6106a8 100644
--- a/main/libcec/APKBUILD
+++ b/main/libcec/APKBUILD
@@ -28,11 +28,14 @@ prepare() {
build() {
cd "$_builddir"
./bootstrap || return 1
- ./configure --prefix=/usr \
- --sysconfdir=/etc \
- --mandir=/usr/share/man \
- --infodir=/usr/share/info \
- --localstatedir=/var \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --localstatedir=/var \
|| return 1
}
diff --git a/main/libconfig/APKBUILD b/main/libconfig/APKBUILD
index d86ce9bf05..615f12e46d 100644
--- a/main/libconfig/APKBUILD
+++ b/main/libconfig/APKBUILD
@@ -14,9 +14,13 @@ subpackages="$pkgname-doc $pkgname-dev"
_builddir="$srcdir"/$pkgname-$pkgver
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--mandir=/usr/share/man \
- --disable-cxx
+ --disable-cxx \
+ || return 1
make || return 1
}
diff --git a/main/libcroco/APKBUILD b/main/libcroco/APKBUILD
index 539d3ac39a..a183994cce 100644
--- a/main/libcroco/APKBUILD
+++ b/main/libcroco/APKBUILD
@@ -15,8 +15,12 @@ depends_dev="glib-dev libxml2-dev pkgconfig"
build() {
cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr \
- --disable-static || return 1
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --disable-static \
+ || return 1
make || return 1
}
diff --git a/main/libcue/APKBUILD b/main/libcue/APKBUILD
index 0972f23880..3cb1c3d023 100644
--- a/main/libcue/APKBUILD
+++ b/main/libcue/APKBUILD
@@ -17,10 +17,14 @@ _builddir="$srcdir"/$pkgname-$pkgver
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
- --infodir=/usr/share/info
+ --infodir=/usr/share/info \
+ || return 1
make || return 1
}
diff --git a/main/libdaemon/APKBUILD b/main/libdaemon/APKBUILD
index bac12d55ac..a6adb55fd4 100644
--- a/main/libdaemon/APKBUILD
+++ b/main/libdaemon/APKBUILD
@@ -14,7 +14,10 @@ source="http://0pointer.de/lennart/projects/libdaemon/libdaemon-$pkgver.tar.gz"
_builddir="$srcdir"/$pkgname-$pkgver
build () {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--localstatedir=/var \
--disable-lynx \
|| return 1
diff --git a/main/libdc1394/APKBUILD b/main/libdc1394/APKBUILD
index f80a4a2522..488a7a06d2 100644
--- a/main/libdc1394/APKBUILD
+++ b/main/libdc1394/APKBUILD
@@ -27,7 +27,10 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
diff --git a/main/libdnet/APKBUILD b/main/libdnet/APKBUILD
index 6bd8c61d6f..b5b11be992 100644
--- a/main/libdnet/APKBUILD
+++ b/main/libdnet/APKBUILD
@@ -30,7 +30,10 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--mandir=/usr/share/man \
--without-python \
|| return 1
diff --git a/main/libdrm/APKBUILD b/main/libdrm/APKBUILD
index 88aa6cc7b0..ce89f01862 100644
--- a/main/libdrm/APKBUILD
+++ b/main/libdrm/APKBUILD
@@ -22,7 +22,10 @@ prepare() {
build() {
cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--enable-udev \
--disable-manpages \
|| return 1
diff --git a/main/libdv/APKBUILD b/main/libdv/APKBUILD
index 4d46ae3be5..dd5b90ee4a 100644
--- a/main/libdv/APKBUILD
+++ b/main/libdv/APKBUILD
@@ -34,7 +34,10 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
diff --git a/main/libdvbcsa/APKBUILD b/main/libdvbcsa/APKBUILD
index deb48b6e3a..75a173d7d7 100644
--- a/main/libdvbcsa/APKBUILD
+++ b/main/libdvbcsa/APKBUILD
@@ -27,7 +27,10 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
diff --git a/main/libdvbpsi/APKBUILD b/main/libdvbpsi/APKBUILD
index eaa87f2a4b..bbe543c846 100644
--- a/main/libdvbpsi/APKBUILD
+++ b/main/libdvbpsi/APKBUILD
@@ -14,8 +14,12 @@ source="http://download.videolan.org/pub/libdvbpsi/$pkgver/$pkgname-$pkgver.tar.
_builddir="$srcdir/$pkgname-$pkgver"
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
- --enable-release || return 1
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --enable-release \
+ || return 1
make || return 1
}
diff --git a/main/libedit/APKBUILD b/main/libedit/APKBUILD
index 410baf91cb..39e2e622c9 100644
--- a/main/libedit/APKBUILD
+++ b/main/libedit/APKBUILD
@@ -27,7 +27,10 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
diff --git a/main/libee/APKBUILD b/main/libee/APKBUILD
index 45de60b530..90eeac8ad1 100644
--- a/main/libee/APKBUILD
+++ b/main/libee/APKBUILD
@@ -14,7 +14,11 @@ source="http://www.libee.org/download/files/download/$pkgname-$pkgver.tar.gz"
_builddir="$srcdir/$pkgname-$pkgver"
prepare() {
cd "$_builddir"
- ./configure --prefix=/usr || return 1
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ || return 1
}
build() {
diff --git a/main/libelf/APKBUILD b/main/libelf/APKBUILD
index 82ad01352c..6ca2d542fd 100644
--- a/main/libelf/APKBUILD
+++ b/main/libelf/APKBUILD
@@ -13,10 +13,14 @@ source="http://www.mr511.de/software/$pkgname-$pkgver.tar.gz"
build() {
cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--enable-shared \
--enable-gnu-names \
- --enable-compat || return 1
+ --enable-compat \
+ || return 1
make || return 1
}
diff --git a/main/libestr/APKBUILD b/main/libestr/APKBUILD
index b5b2509a67..eb58b5d001 100644
--- a/main/libestr/APKBUILD
+++ b/main/libestr/APKBUILD
@@ -13,7 +13,11 @@ source="http://libestr.adiscon.com/files/download/$pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
- ./configure --prefix=/usr || return 1
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ || return 1
}
build() {
diff --git a/main/libetpan/APKBUILD b/main/libetpan/APKBUILD
index fde5177cfe..055df1d48a 100644
--- a/main/libetpan/APKBUILD
+++ b/main/libetpan/APKBUILD
@@ -25,11 +25,15 @@ prepare() {
build ()
{
cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--with-gnutls=yes \
--with-openssl=no \
--with-gnutls \
- --disable-static
+ --disable-static \
+ || return 1
make || return 1
}
diff --git a/main/libev/APKBUILD b/main/libev/APKBUILD
index 0bc2576a9b..7b7855b069 100644
--- a/main/libev/APKBUILD
+++ b/main/libev/APKBUILD
@@ -32,8 +32,12 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
- --sysconfdir=/etc || return 1
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ || return 1
make || return 1
}
diff --git a/main/libevent/APKBUILD b/main/libevent/APKBUILD
index ea160c1e23..f031f8cb37 100644
--- a/main/libevent/APKBUILD
+++ b/main/libevent/APKBUILD
@@ -16,9 +16,12 @@ _builddir="$srcdir"/$pkgname-$pkgver-stable
build() {
cd "$_builddir"
./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
- --disable-static || return 1
+ --disable-static \
+ || return 1
make || return 1
}
diff --git a/main/libexif/APKBUILD b/main/libexif/APKBUILD
index b26b623eca..7380981b98 100644
--- a/main/libexif/APKBUILD
+++ b/main/libexif/APKBUILD
@@ -13,7 +13,11 @@ source="http://downloads.sf.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.bz2"
build() {
cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr || return 1
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ || return 1
make
}
diff --git a/main/libffi/APKBUILD b/main/libffi/APKBUILD
index 9291c6b206..7ea08ee543 100644
--- a/main/libffi/APKBUILD
+++ b/main/libffi/APKBUILD
@@ -15,7 +15,11 @@ source="ftp://sourceware.org/pub/$pkgname/$pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/$pkgname-$pkgver
build () {
cd "$_builddir"
- ./configure --prefix=/usr || return 1
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ || return 1
make || return 1
}
diff --git a/main/libfontenc/APKBUILD b/main/libfontenc/APKBUILD
index 93cf33d1a3..6b4c625b76 100644
--- a/main/libfontenc/APKBUILD
+++ b/main/libfontenc/APKBUILD
@@ -13,11 +13,15 @@ source="http://xorg.freedesktop.org/releases/individual/lib/$pkgname-$pkgver.tar
build() {
cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--disable-static \
- --with-encodingsdir=/usr/share/fonts/encodings
+ --with-encodingsdir=/usr/share/fonts/encodings \
+ || return 1
make || return 1
}
diff --git a/main/libfprint/APKBUILD b/main/libfprint/APKBUILD
index 879c91169d..e142b8396a 100644
--- a/main/libfprint/APKBUILD
+++ b/main/libfprint/APKBUILD
@@ -31,7 +31,10 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
diff --git a/main/libgcrypt/APKBUILD b/main/libgcrypt/APKBUILD
index 241ff5bdda..84d5ff86d6 100644
--- a/main/libgcrypt/APKBUILD
+++ b/main/libgcrypt/APKBUILD
@@ -16,10 +16,13 @@ depends_dev="libgpg-error-dev"
build () {
cd "$srcdir"/$pkgname-$pkgver
- ./configure --build=${CHOST:-i486-alpine-linux-uclibc} \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
--prefix=/usr \
--enable-padlock-support \
- --disable-static
+ --disable-static \
+ || return 1
make || return 1
}
diff --git a/main/libgee/APKBUILD b/main/libgee/APKBUILD
index 241dcd63e5..d992c76940 100644
--- a/main/libgee/APKBUILD
+++ b/main/libgee/APKBUILD
@@ -16,7 +16,12 @@ source="http://ftp.gnome.org/pub/GNOME/sources/libgee/${_xy}/libgee-$pkgver.tar.
_builddir="$srcdir"/$pkgname-$pkgver
build() {
cd "$srcdir/$pkgname-$pkgver"
- ./configure --prefix=/usr --disable-static || return 1
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --disable-static \
+ || return 1
make || return 1
}
diff --git a/main/libgexiv2/APKBUILD b/main/libgexiv2/APKBUILD
index e0031e000c..96cb4b8e83 100644
--- a/main/libgexiv2/APKBUILD
+++ b/main/libgexiv2/APKBUILD
@@ -23,10 +23,14 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
- --infodir=/usr/share/info
+ --infodir=/usr/share/info \
+ || return 1
make || return 1
}
diff --git a/main/libglade/APKBUILD b/main/libglade/APKBUILD
index f730b60c1f..17a55d58a1 100644
--- a/main/libglade/APKBUILD
+++ b/main/libglade/APKBUILD
@@ -24,10 +24,14 @@ package() {
build() {
cd "$_builddir"
- ./configure --sysconfdir=/etc \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --sysconfdir=/etc \
--prefix=/usr \
--disable-static \
- --localstatedir=/var || return 1
+ --localstatedir=/var \
+ || return 1
make || return 1
}
diff --git a/main/libgnome-keyring/APKBUILD b/main/libgnome-keyring/APKBUILD
index ecf98536f0..55d738c7ce 100644
--- a/main/libgnome-keyring/APKBUILD
+++ b/main/libgnome-keyring/APKBUILD
@@ -43,9 +43,13 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
- --disable-scrollkeeper || return 1
+ --disable-scrollkeeper \
+ || return 1
make || return 1
}
diff --git a/main/libgnome/APKBUILD b/main/libgnome/APKBUILD
index 515f0efb08..ada696e2e7 100644
--- a/main/libgnome/APKBUILD
+++ b/main/libgnome/APKBUILD
@@ -28,7 +28,10 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
|| return 1
make || return 1
diff --git a/main/libgnomekbd/APKBUILD b/main/libgnomekbd/APKBUILD
index 8407830958..4c4045f6a7 100644
--- a/main/libgnomekbd/APKBUILD
+++ b/main/libgnomekbd/APKBUILD
@@ -38,9 +38,13 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
- --disable-scrollkeeper || return 1
+ --disable-scrollkeeper \
+ || return 1
make || return 1
}
diff --git a/main/libgpg-error/APKBUILD b/main/libgpg-error/APKBUILD
index 1606a92203..18fec5c249 100644
--- a/main/libgpg-error/APKBUILD
+++ b/main/libgpg-error/APKBUILD
@@ -13,8 +13,12 @@ source="ftp://ftp.franken.de/pub/crypt/mirror/ftp.gnupg.org/gcrypt/$pkgname/$pkg
build () {
cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr \
- --disable-nls
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --disable-nls \
+ || return 1
make || return 1
}
diff --git a/main/libgphoto2/APKBUILD b/main/libgphoto2/APKBUILD
index 8cb026f8d0..f0ad59d8c1 100644
--- a/main/libgphoto2/APKBUILD
+++ b/main/libgphoto2/APKBUILD
@@ -18,7 +18,10 @@ options="libtool"
_builddir="$srcdir"/$pkgname-$pkgver
build() {
cd "$_builddir"
- udevscriptdir=/lib/udev ./configure --prefix=/usr \
+ udevscriptdir=/lib/udev ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--with-drivers=all \
--disable-static \
--disable-rpath \
diff --git a/main/libgsf/APKBUILD b/main/libgsf/APKBUILD
index d5c099736a..1673d97334 100644
--- a/main/libgsf/APKBUILD
+++ b/main/libgsf/APKBUILD
@@ -16,13 +16,17 @@ depends_dev="glib-dev bzip2-dev libxml2-dev pkgconfig"
build() {
cd "$srcdir"/$pkgname-$pkgver
sed -i -e 's/gsf-gnome//' -e 's/thumbnailer//' Makefile.* || return 1
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/share/man \
--disable-static \
--without-gnome-vfs \
- --without-bonobo || return 1
+ --without-bonobo \
+ || return 1
make || return 1
}
diff --git a/main/libgssglue/APKBUILD b/main/libgssglue/APKBUILD
index aeb880b649..fc10ce7239 100644
--- a/main/libgssglue/APKBUILD
+++ b/main/libgssglue/APKBUILD
@@ -14,7 +14,11 @@ source="http://www.citi.umich.edu/projects/nfsv4/linux/$pkgname/$pkgname-$pkgver
_builddir="$srcdir"/$pkgname-$pkgver
build() {
cd "$_builddir"
- ./configure --prefix=/usr
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ || return 1
make || return 1
}
diff --git a/main/libgtop/APKBUILD b/main/libgtop/APKBUILD
index f837561e7c..44e58b3b33 100644
--- a/main/libgtop/APKBUILD
+++ b/main/libgtop/APKBUILD
@@ -27,9 +27,13 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
- --disable-scrollkeeper || return 1
+ --disable-scrollkeeper \
+ || return 1
make || return 1
}
diff --git a/main/libguess/APKBUILD b/main/libguess/APKBUILD
index ae50e898b2..997e53c079 100644
--- a/main/libguess/APKBUILD
+++ b/main/libguess/APKBUILD
@@ -28,10 +28,14 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
- --infodir=/usr/share/info
+ --infodir=/usr/share/info \
+ || return 1
make || return 1
}
diff --git a/main/libgweather/APKBUILD b/main/libgweather/APKBUILD
index 1fa9e5244f..c2a37cb304 100644
--- a/main/libgweather/APKBUILD
+++ b/main/libgweather/APKBUILD
@@ -27,10 +27,14 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--with-zoneinfo-dir=. \
- --disable-scrollkeeper || return 1
+ --disable-scrollkeeper \
+ || return 1
make || return 1
}
diff --git a/main/libical/APKBUILD b/main/libical/APKBUILD
index 7ad9ffd252..f900cc9000 100644
--- a/main/libical/APKBUILD
+++ b/main/libical/APKBUILD
@@ -27,7 +27,10 @@ prepare() {
build() {
cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--enable-shared \
--disable-static \
|| return 1
diff --git a/main/libice/APKBUILD b/main/libice/APKBUILD
index 9bf4fbb1fc..50023319de 100644
--- a/main/libice/APKBUILD
+++ b/main/libice/APKBUILD
@@ -14,8 +14,12 @@ source="http://xorg.freedesktop.org/releases/individual/lib/libICE-$pkgver.tar.b
depends_dev="xproto"
build () {
cd "$srcdir"/libICE-$pkgver
- ./configure --prefix=/usr \
- --sysconfdir=/etc
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ || return 1
make || return 1
}
diff --git a/main/libiconv/APKBUILD b/main/libiconv/APKBUILD
index 6f4214e72d..e5ed3e26ef 100644
--- a/main/libiconv/APKBUILD
+++ b/main/libiconv/APKBUILD
@@ -15,7 +15,10 @@ build() {
#only build if we need it
[ "$ALPINE_LIBC" = "eglibc" ] && return 0
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--mandir=/usr/share/man \
|| return 1
# work around rpath issue
diff --git a/main/libid3tag/APKBUILD b/main/libid3tag/APKBUILD
index aaee71faec..2526477bf4 100644
--- a/main/libid3tag/APKBUILD
+++ b/main/libid3tag/APKBUILD
@@ -16,10 +16,14 @@ source="ftp://ftp.mars.org/pub/mpeg/libid3tag-$pkgver.tar.gz"
build() {
cd "$srcdir/$pkgname-$pkgver"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
- --infodir=/usr/share/info
+ --infodir=/usr/share/info \
+ || return 1
make || return 1
}
diff --git a/main/libidl/APKBUILD b/main/libidl/APKBUILD
index c14ecd627c..714c105e12 100644
--- a/main/libidl/APKBUILD
+++ b/main/libidl/APKBUILD
@@ -22,10 +22,14 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
- --infodir=/usr/share/info
+ --infodir=/usr/share/info \
+ || return 1
make || return 1
}
diff --git a/main/libidn/APKBUILD b/main/libidn/APKBUILD
index 931ad283c6..fd93b3fcb2 100644
--- a/main/libidn/APKBUILD
+++ b/main/libidn/APKBUILD
@@ -17,11 +17,15 @@ source="http://ftp.gnu.org/gnu/libidn/$pkgname-$pkgver.tar.gz"
build() {
cd "$srcdir/$pkgname-$pkgver"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
- --disable-nls
+ --disable-nls \
+ || return 1
make || return 1
}
diff --git a/main/libiec61883/APKBUILD b/main/libiec61883/APKBUILD
index 7f3d5f787c..6718faa7a8 100644
--- a/main/libiec61883/APKBUILD
+++ b/main/libiec61883/APKBUILD
@@ -27,7 +27,10 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
diff --git a/main/libisofs/APKBUILD b/main/libisofs/APKBUILD
index 31d3653d25..7ba3c398fb 100644
--- a/main/libisofs/APKBUILD
+++ b/main/libisofs/APKBUILD
@@ -14,10 +14,14 @@ source="http://files.libburnia-project.org/releases/libisofs-$pkgver.tar.gz"
_builddir="$srcdir"/$pkgname-$pkgver
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--enable-libacl \
--enable-xattr \
- --disable-static
+ --disable-static \
+ || return 1
make || return 1
}
diff --git a/main/libjpeg-turbo/APKBUILD b/main/libjpeg-turbo/APKBUILD
index 6133c00ed9..6b339ca416 100644
--- a/main/libjpeg-turbo/APKBUILD
+++ b/main/libjpeg-turbo/APKBUILD
@@ -28,7 +28,10 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
diff --git a/main/libksba/APKBUILD b/main/libksba/APKBUILD
index 09e1be546f..f257c8e804 100644
--- a/main/libksba/APKBUILD
+++ b/main/libksba/APKBUILD
@@ -13,7 +13,11 @@ source="ftp://ftp.gnupg.org/gcrypt/$pkgname/$pkgname-$pkgver.tar.bz2"
build () {
cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ || return 1
make || return 1
}
diff --git a/main/liblockfile/APKBUILD b/main/liblockfile/APKBUILD
index 16d5d1b78b..a52bb15918 100644
--- a/main/liblockfile/APKBUILD
+++ b/main/liblockfile/APKBUILD
@@ -18,9 +18,13 @@ _builddir="$srcdir"/$pkgname-$pkgver
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
- --mandir=/usr/share/man
+ --mandir=/usr/share/man \
+ || return 1
make -j1 || return 1
}
diff --git a/main/libmad/APKBUILD b/main/libmad/APKBUILD
index 8791a5d7fa..360430ef17 100644
--- a/main/libmad/APKBUILD
+++ b/main/libmad/APKBUILD
@@ -31,9 +31,13 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--enable-fpm=intel \
- --enable-accuracy
+ --enable-accuracy \
+ || return 1
make -j1 || return 1
}
diff --git a/main/libmcrypt/APKBUILD b/main/libmcrypt/APKBUILD
index 2edbed5163..4920b74746 100644
--- a/main/libmcrypt/APKBUILD
+++ b/main/libmcrypt/APKBUILD
@@ -15,9 +15,13 @@ source="http://downloads.sourceforge.net/mcrypt/${pkgname}-${pkgver}.tar.bz2"
build() {
cd "$srcdir/$pkgname-$pkgver"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--mandir=/usr/share/man \
- --disable-posix-threads
+ --disable-posix-threads \
+ || return 1
make || return 1
}
diff --git a/main/libmicrohttpd/APKBUILD b/main/libmicrohttpd/APKBUILD
index 4111ff7420..943815c059 100644
--- a/main/libmicrohttpd/APKBUILD
+++ b/main/libmicrohttpd/APKBUILD
@@ -22,13 +22,17 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--enable-largefile \
--enable-curl \
- --enable-messages
+ --enable-messages \
+ || return 1
make || return 1
}
diff --git a/main/libmikmod/APKBUILD b/main/libmikmod/APKBUILD
index 374e5f08a2..aab61c37a0 100644
--- a/main/libmikmod/APKBUILD
+++ b/main/libmikmod/APKBUILD
@@ -29,7 +29,12 @@ build() {
cd "$_builddir"
# build fails with bash
export CONFIG_SHELL="/bin/sh"
- ./configure --prefix=/usr --enable-alsa || return 1
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --enable-alsa \
+ || return 1
make || return 1
}
diff --git a/main/libmms/APKBUILD b/main/libmms/APKBUILD
index bb184d1a17..c217d56278 100644
--- a/main/libmms/APKBUILD
+++ b/main/libmms/APKBUILD
@@ -22,11 +22,15 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
- --disable-static
+ --disable-static \
+ || return 1
make || return 1
}
diff --git a/main/libmng/APKBUILD b/main/libmng/APKBUILD
index 988f427196..0c46982ea3 100644
--- a/main/libmng/APKBUILD
+++ b/main/libmng/APKBUILD
@@ -23,7 +23,11 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ || return 1
make || return 1
}
diff --git a/main/libmnl/APKBUILD b/main/libmnl/APKBUILD
index 068c6f4627..309be9782f 100644
--- a/main/libmnl/APKBUILD
+++ b/main/libmnl/APKBUILD
@@ -16,7 +16,11 @@ source="http://www.netfilter.org/projects/$pkgname/files/$pkgname-$pkgver.tar.bz
_builddir="$srcdir"/$pkgname-$pkgver
build() {
cd "$_builddir"
- ./configure --prefix=/usr
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ || return 1
}
package() {
diff --git a/main/libmodplug/APKBUILD b/main/libmodplug/APKBUILD
index b2c144df0e..40f098d776 100644
--- a/main/libmodplug/APKBUILD
+++ b/main/libmodplug/APKBUILD
@@ -22,10 +22,14 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
- --infodir=/usr/share/info
+ --infodir=/usr/share/info \
+ || return 1
make || return 1
}
diff --git a/main/libmowgli/APKBUILD b/main/libmowgli/APKBUILD
index 780cf6b5ef..8e6b992b49 100644
--- a/main/libmowgli/APKBUILD
+++ b/main/libmowgli/APKBUILD
@@ -24,10 +24,14 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
- --infodir=/usr/share/info
+ --infodir=/usr/share/info \
+ || return 1
make || return 1
}
diff --git a/main/libmp3splt/APKBUILD b/main/libmp3splt/APKBUILD
index 3d2716ec10..41571e2846 100644
--- a/main/libmp3splt/APKBUILD
+++ b/main/libmp3splt/APKBUILD
@@ -27,7 +27,10 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--enable-ogg \
--enable-mp3 \
|| return 1
diff --git a/main/libmpc/APKBUILD b/main/libmpc/APKBUILD
index 2fb1129351..80b25e5803 100644
--- a/main/libmpc/APKBUILD
+++ b/main/libmpc/APKBUILD
@@ -22,9 +22,10 @@ build() {
cd "$_builddir"
# workaround for a bug in configure script
EGREP=egrep \
- ./configure --prefix=/usr \
- --build=${CBUILD} \
- --host=${CHOST} \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
diff --git a/main/libmpdclient/APKBUILD b/main/libmpdclient/APKBUILD
index f10f18e097..2319966624 100644
--- a/main/libmpdclient/APKBUILD
+++ b/main/libmpdclient/APKBUILD
@@ -13,7 +13,11 @@ source="http://www.musicpd.org/download/libmpdclient/${pkgver%.*}/libmpdclient-$
build() {
cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr || return 1
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ || return 1
make || return 1
}
diff --git a/main/libmpeg2/APKBUILD b/main/libmpeg2/APKBUILD
index 3b67503734..f5d4a723f9 100644
--- a/main/libmpeg2/APKBUILD
+++ b/main/libmpeg2/APKBUILD
@@ -13,9 +13,13 @@ source="http://$pkgname.sourceforge.net/files/$pkgname-$pkgver.tar.gz"
build() {
cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--enable-shared \
- --disable-static || return 1
+ --disable-static \
+ || return 1
make OPT_CFLAGS="${CFLAGS}" \
MPEG2DEC_CFLAGS="${CFLAGS}" \
LIBMPEG2_CFLAGS="" || return 1
diff --git a/main/libmtp/APKBUILD b/main/libmtp/APKBUILD
index e43af2e602..87aae32d30 100644
--- a/main/libmtp/APKBUILD
+++ b/main/libmtp/APKBUILD
@@ -27,7 +27,10 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
diff --git a/main/libnet/APKBUILD b/main/libnet/APKBUILD
index fabb1c7d49..295eaef34c 100644
--- a/main/libnet/APKBUILD
+++ b/main/libnet/APKBUILD
@@ -15,7 +15,11 @@ source="http://downloads.sourceforge.net/project/libnet-dev/libnet-$pkgver.tar.g
build() {
cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ || return 1
make || return 1
}
diff --git a/main/libnetfilter_acct/APKBUILD b/main/libnetfilter_acct/APKBUILD
index 83bba7515a..afa4e5d89e 100644
--- a/main/libnetfilter_acct/APKBUILD
+++ b/main/libnetfilter_acct/APKBUILD
@@ -15,10 +15,14 @@ source="http://www.netfilter.org/projects/$pkgname/files/$pkgname-$pkgver.tar.bz
build() {
cd "$srcdir/$pkgname-$pkgver"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
- --infodir=/usr/share/info
+ --infodir=/usr/share/info \
+ || return 1
make || return 1
}
diff --git a/main/libnetfilter_conntrack/APKBUILD b/main/libnetfilter_conntrack/APKBUILD
index 376e79e465..c7b894798b 100644
--- a/main/libnetfilter_conntrack/APKBUILD
+++ b/main/libnetfilter_conntrack/APKBUILD
@@ -15,10 +15,14 @@ source="http://www.netfilter.org/projects/$pkgname/files/$pkgname-$pkgver.tar.bz
build() {
cd "$srcdir/$pkgname-$pkgver"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
- --infodir=/usr/share/info
+ --infodir=/usr/share/info \
+ || return 1
make || return 1
}
diff --git a/main/libnetfilter_cthelper/APKBUILD b/main/libnetfilter_cthelper/APKBUILD
index aee2921c4e..50c4533dfb 100644
--- a/main/libnetfilter_cthelper/APKBUILD
+++ b/main/libnetfilter_cthelper/APKBUILD
@@ -25,7 +25,10 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
diff --git a/main/libnetfilter_cttimeout/APKBUILD b/main/libnetfilter_cttimeout/APKBUILD
index 7c63f0cdf9..f90e923e99 100644
--- a/main/libnetfilter_cttimeout/APKBUILD
+++ b/main/libnetfilter_cttimeout/APKBUILD
@@ -27,7 +27,10 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
diff --git a/main/libnetfilter_log/APKBUILD b/main/libnetfilter_log/APKBUILD
index 5c427c9a0e..8345639dd3 100644
--- a/main/libnetfilter_log/APKBUILD
+++ b/main/libnetfilter_log/APKBUILD
@@ -15,10 +15,14 @@ source="http://www.netfilter.org/projects/$pkgname/files/$pkgname-$pkgver.tar.bz
build() {
cd "$srcdir/$pkgname-$pkgver"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
- --infodir=/usr/share/info
+ --infodir=/usr/share/info \
+ || return 1
make || return 1
}
diff --git a/main/libnetfilter_queue/APKBUILD b/main/libnetfilter_queue/APKBUILD
index 7d4b119ebe..98a4251545 100644
--- a/main/libnetfilter_queue/APKBUILD
+++ b/main/libnetfilter_queue/APKBUILD
@@ -25,7 +25,10 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
diff --git a/main/libnfnetlink/APKBUILD b/main/libnfnetlink/APKBUILD
index 7a4983b6d0..3931f27c17 100644
--- a/main/libnfnetlink/APKBUILD
+++ b/main/libnfnetlink/APKBUILD
@@ -15,10 +15,14 @@ source="http://www.netfilter.org/projects/libnfnetlink/files/libnfnetlink-$pkgve
build() {
cd "$srcdir/$pkgname-$pkgver"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
- --infodir=/usr/share/info
+ --infodir=/usr/share/info \
+ || return 1
make || return 1
}
diff --git a/main/libnfs/APKBUILD b/main/libnfs/APKBUILD
index f75fcc43dc..52375bd900 100644
--- a/main/libnfs/APKBUILD
+++ b/main/libnfs/APKBUILD
@@ -28,12 +28,15 @@ prepare() {
build() {
cd "$_builddir"
./bootstrap || return 1
- ./configure --prefix=/usr \
- --sysconfdir=/etc \
- --mandir=/usr/share/man \
- --infodir=/usr/share/info \
- --localstatedir=/var \
- || return 1
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --localstatedir=/var \
+ || return 1
make || return 1
}
diff --git a/main/libnfsidmap/APKBUILD b/main/libnfsidmap/APKBUILD
index 480dab8a81..1ed782826c 100644
--- a/main/libnfsidmap/APKBUILD
+++ b/main/libnfsidmap/APKBUILD
@@ -26,7 +26,10 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--disable-static \
|| return 1
make || return 1
diff --git a/main/libnice/APKBUILD b/main/libnice/APKBUILD
index 3e6054ade2..9905aaea53 100644
--- a/main/libnice/APKBUILD
+++ b/main/libnice/APKBUILD
@@ -27,7 +27,10 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
diff --git a/main/libnih/APKBUILD b/main/libnih/APKBUILD
index 2d6c0c26d8..7875ed96a0 100644
--- a/main/libnih/APKBUILD
+++ b/main/libnih/APKBUILD
@@ -27,10 +27,14 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--libdir=/lib \
--sysconfdir=/etc \
- --localstatedir=/var || return 1
+ --localstatedir=/var \
+ || return 1
make || return 1
}
diff --git a/main/libnjb/APKBUILD b/main/libnjb/APKBUILD
index 186d87e744..b5378df39a 100644
--- a/main/libnjb/APKBUILD
+++ b/main/libnjb/APKBUILD
@@ -27,7 +27,10 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
diff --git a/main/libnl/APKBUILD b/main/libnl/APKBUILD
index 49089fdcf3..04c84c2b8c 100644
--- a/main/libnl/APKBUILD
+++ b/main/libnl/APKBUILD
@@ -29,7 +29,11 @@ prepare () {
build () {
cd "$_builddir"
- ./configure --prefix=/usr || return 1
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ || return 1
make || return 1
}
diff --git a/main/libnl3/APKBUILD b/main/libnl3/APKBUILD
index f4c4ac2db8..f9489a6b87 100644
--- a/main/libnl3/APKBUILD
+++ b/main/libnl3/APKBUILD
@@ -25,7 +25,10 @@ prepare () {
build () {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--disable-static \
|| return 1
make || return 1
diff --git a/main/libnotify/APKBUILD b/main/libnotify/APKBUILD
index e801dfe6f0..fcc742b3b2 100644
--- a/main/libnotify/APKBUILD
+++ b/main/libnotify/APKBUILD
@@ -27,7 +27,12 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr --disable-static || return 1
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --disable-static \
+ || return 1
make || return 1
}
diff --git a/main/libogg/APKBUILD b/main/libogg/APKBUILD
index d2d9e6fdb0..6182643aa3 100644
--- a/main/libogg/APKBUILD
+++ b/main/libogg/APKBUILD
@@ -15,7 +15,11 @@ source="http://downloads.xiph.org/releases/ogg/$pkgname-$pkgver.tar.gz
build() {
cd "$srcdir/$pkgname-$pkgver"
- ./configure --prefix=/usr
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ || return 1
make || return 1
}
diff --git a/main/liboil/APKBUILD b/main/liboil/APKBUILD
index a28283c120..1ea58325ae 100644
--- a/main/liboil/APKBUILD
+++ b/main/liboil/APKBUILD
@@ -14,7 +14,11 @@ build ()
{
unset CFLAGS
cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr || return 1
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ || return 1
make || return 1
}
diff --git a/main/libotr/APKBUILD b/main/libotr/APKBUILD
index 1150e948c7..72926f5400 100644
--- a/main/libotr/APKBUILD
+++ b/main/libotr/APKBUILD
@@ -27,7 +27,11 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ || return 1
make || return 1
}
diff --git a/main/libotr3/APKBUILD b/main/libotr3/APKBUILD
index 664fc0d88b..03c44342ab 100644
--- a/main/libotr3/APKBUILD
+++ b/main/libotr3/APKBUILD
@@ -28,7 +28,11 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ || return 1
make || return 1
}
diff --git a/main/libpaper/APKBUILD b/main/libpaper/APKBUILD
index 7bddda58e5..51364d250b 100644
--- a/main/libpaper/APKBUILD
+++ b/main/libpaper/APKBUILD
@@ -15,8 +15,12 @@ _builddir="$srcdir"/$pkgname-$pkgver
build ()
{
cd "$_builddir"
- ./configure --prefix=/usr \
- --mandir="$pkgdir"/usr/share/man
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --mandir="$pkgdir"/usr/share/man \
+ || return 1
make || return 1
}
diff --git a/main/libpcap/APKBUILD b/main/libpcap/APKBUILD
index 4853e9f291..91c0ccf0c2 100644
--- a/main/libpcap/APKBUILD
+++ b/main/libpcap/APKBUILD
@@ -25,7 +25,12 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr --enable-ipv6 || return 1
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --enable-ipv6 \
+ || return 1
# seems to be problem with timestamps
sleep 1
./config.status
diff --git a/main/libpciaccess/APKBUILD b/main/libpciaccess/APKBUILD
index 45f74f46fb..85e1851079 100644
--- a/main/libpciaccess/APKBUILD
+++ b/main/libpciaccess/APKBUILD
@@ -13,7 +13,11 @@ source="http://xorg.freedesktop.org/releases/individual/lib/$pkgname-$pkgver.tar
build() {
cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr || return 1
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ || return 1
make || return 1
}
diff --git a/main/libpng/APKBUILD b/main/libpng/APKBUILD
index 6e499884c3..51cec20230 100644
--- a/main/libpng/APKBUILD
+++ b/main/libpng/APKBUILD
@@ -24,7 +24,10 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
|| return 1
make
}
diff --git a/main/libpthread-stubs/APKBUILD b/main/libpthread-stubs/APKBUILD
index 9f9347e000..30a2d9159c 100644
--- a/main/libpthread-stubs/APKBUILD
+++ b/main/libpthread-stubs/APKBUILD
@@ -11,7 +11,11 @@ source="http://xcb.freedesktop.org/dist/$pkgname-$pkgver.tar.bz2"
build() {
cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ || return 1
# we actually have pthread_exit, the configure script just
# fails to detect it
make CFLAGS="$CFLAGS -DHAVE_PTHREAD_EXIT=1"
diff --git a/main/libraw/APKBUILD b/main/libraw/APKBUILD
index 221d60cc64..4d89b9239f 100644
--- a/main/libraw/APKBUILD
+++ b/main/libraw/APKBUILD
@@ -23,7 +23,11 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ || return 1
make lib/libraw.a lib/libraw_r.a
make
}
diff --git a/main/libraw1394/APKBUILD b/main/libraw1394/APKBUILD
index 1b45a8e975..8c8e36648e 100644
--- a/main/libraw1394/APKBUILD
+++ b/main/libraw1394/APKBUILD
@@ -27,7 +27,10 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
diff --git a/main/libresample/APKBUILD b/main/libresample/APKBUILD
index be81aacf80..0c8289049d 100644
--- a/main/libresample/APKBUILD
+++ b/main/libresample/APKBUILD
@@ -26,10 +26,14 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
- --infodir=/usr/share/info
+ --infodir=/usr/share/info \
+ || return 1
make || return 1
}
diff --git a/main/librpcsecgss/APKBUILD b/main/librpcsecgss/APKBUILD
index f6ee20aa11..57b21a8eaf 100644
--- a/main/librpcsecgss/APKBUILD
+++ b/main/librpcsecgss/APKBUILD
@@ -26,7 +26,10 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
diff --git a/main/librsvg/APKBUILD b/main/librsvg/APKBUILD
index e43118c576..b6922c336b 100644
--- a/main/librsvg/APKBUILD
+++ b/main/librsvg/APKBUILD
@@ -18,12 +18,16 @@ depends_dev="glib-dev gtk+-dev cairo-dev libcroco-dev libgsf-dev"
_builddir="$srcdir"/$pkgname-$pkgver
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--libexecdir=/usr/lib/$pkgname \
--with-croco \
--disable-static \
--disable-mozilla-plugin \
- --with-svgz || return 1
+ --with-svgz \
+ || return 1
make || return 1
}
diff --git a/main/librsync/APKBUILD b/main/librsync/APKBUILD
index 25c1b0ee87..3e42bf7007 100644
--- a/main/librsync/APKBUILD
+++ b/main/librsync/APKBUILD
@@ -18,7 +18,13 @@ _builddir="$srcdir"/$pkgname-$pkgver
build() {
cd "$_builddir"
- ./configure --prefix=/usr --mandir=/usr/share/man --enable-shared
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --mandir=/usr/share/man \
+ --enable-shared \
+ || return 1
make || return 1
}
diff --git a/main/libsamplerate/APKBUILD b/main/libsamplerate/APKBUILD
index ecf28f7eaa..c8d3e9bfbe 100644
--- a/main/libsamplerate/APKBUILD
+++ b/main/libsamplerate/APKBUILD
@@ -12,7 +12,11 @@ source="http://www.mega-nerd.com/SRC/$pkgname-$pkgver.tar.gz"
build () {
cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr || return 1
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ || return 1
make || return 1
}
diff --git a/main/libsecret/APKBUILD b/main/libsecret/APKBUILD
index c355f41408..a036d55583 100644
--- a/main/libsecret/APKBUILD
+++ b/main/libsecret/APKBUILD
@@ -27,7 +27,10 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
diff --git a/main/libsexy/APKBUILD b/main/libsexy/APKBUILD
index b30998cb10..e3423d53b6 100644
--- a/main/libsexy/APKBUILD
+++ b/main/libsexy/APKBUILD
@@ -13,8 +13,12 @@ source="http://releases.chipx86.com/$pkgname/$pkgname/$pkgname-$pkgver.tar.gz"
build ()
{
cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr \
- --disable-static
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --disable-static \
+ || return 1
make || return 1
}
diff --git a/main/libshairport/APKBUILD b/main/libshairport/APKBUILD
index e320b572c4..17e036e91e 100644
--- a/main/libshairport/APKBUILD
+++ b/main/libshairport/APKBUILD
@@ -29,11 +29,15 @@ prepare() {
build() {
cd "$_builddir"
autoreconf -vif
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
- --localstatedir=/var
+ --localstatedir=/var \
+ || return 1
make || return 1
}
diff --git a/main/libshout/APKBUILD b/main/libshout/APKBUILD
index d39a110d01..3eacdcde44 100644
--- a/main/libshout/APKBUILD
+++ b/main/libshout/APKBUILD
@@ -25,7 +25,11 @@ prepare() {
}
build() {
cd "$_builddir"
- ./configure --prefix=/usr
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ || return 1
--sysconfdir=/etc
--localstatedir=/var
make LDFLAGS+=-lspeex || return 1
diff --git a/main/libsigc++/APKBUILD b/main/libsigc++/APKBUILD
index 816a1eae46..e7e44d9a82 100644
--- a/main/libsigc++/APKBUILD
+++ b/main/libsigc++/APKBUILD
@@ -13,7 +13,11 @@ source="http://ftp.gnome.org/pub/GNOME/sources/$pkgname/2.2/$pkgname-$pkgver.tar
build() {
cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr || return 1
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ || return 1
make || return 1
}
diff --git a/main/libsm/APKBUILD b/main/libsm/APKBUILD
index 13488e4f0c..16ce377b49 100644
--- a/main/libsm/APKBUILD
+++ b/main/libsm/APKBUILD
@@ -15,7 +15,12 @@ depends_dev="libice-dev xproto"
build () {
cd "$srcdir"/libSM-$pkgver
- ./configure --prefix=/usr --sysconfdir=/etc || return 1
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ || return 1
make || return 1
}
diff --git a/main/libsndfile/APKBUILD b/main/libsndfile/APKBUILD
index 19a22714d2..673d5d0165 100644
--- a/main/libsndfile/APKBUILD
+++ b/main/libsndfile/APKBUILD
@@ -15,7 +15,10 @@ source="http://www.mega-nerd.com/$pkgname/files/$pkgname-$pkgver.tar.gz"
build () {
cd "$srcdir"/$pkgname-$pkgver
ac_cv_sys_largefile_CFLAGS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" \
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--disable-sqlite \
--enable-largefile \
|| return 1
diff --git a/main/libsoup/APKBUILD b/main/libsoup/APKBUILD
index a679a1cfad..0d522b90c1 100644
--- a/main/libsoup/APKBUILD
+++ b/main/libsoup/APKBUILD
@@ -15,7 +15,10 @@ source="http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$p
build() {
cd "$srcdir"/$pkgname-$pkgver
- DATADIRNAME=share ./configure --prefix=/usr \
+ DATADIRNAME=share ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--disable-static \
diff --git a/main/libspf2/APKBUILD b/main/libspf2/APKBUILD
index 41ae24e8ff..5bfa649f65 100644
--- a/main/libspf2/APKBUILD
+++ b/main/libspf2/APKBUILD
@@ -31,7 +31,10 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
|| return 1
make || return 1
}
diff --git a/main/libssh2/APKBUILD b/main/libssh2/APKBUILD
index e45b92bc77..ca69b55a73 100644
--- a/main/libssh2/APKBUILD
+++ b/main/libssh2/APKBUILD
@@ -27,7 +27,10 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
diff --git a/main/libtasn1/APKBUILD b/main/libtasn1/APKBUILD
index 43eaa6d3bd..72bdfa6956 100644
--- a/main/libtasn1/APKBUILD
+++ b/main/libtasn1/APKBUILD
@@ -15,7 +15,11 @@ source="ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/$pkgname-$pkgver
build() {
cd "$_builddir"
- ./configure --prefix=/usr || return 1
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ || return 1
make || return 1
}
diff --git a/main/libtheora/APKBUILD b/main/libtheora/APKBUILD
index a11d641182..a4632b2f44 100644
--- a/main/libtheora/APKBUILD
+++ b/main/libtheora/APKBUILD
@@ -32,9 +32,13 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--enable-shared \
- --disable-static || return 1
+ --disable-static \
+ || return 1
cd lib && make || return 1
cd ..
diff --git a/main/libtirpc/APKBUILD b/main/libtirpc/APKBUILD
index 029d7d33de..98f736a962 100644
--- a/main/libtirpc/APKBUILD
+++ b/main/libtirpc/APKBUILD
@@ -36,7 +36,10 @@ prepare() {
build() {
cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--enable-gss \
|| return 1
make || return 1
diff --git a/main/libtool/APKBUILD b/main/libtool/APKBUILD
index 758156d613..d91cfe41dc 100644
--- a/main/libtool/APKBUILD
+++ b/main/libtool/APKBUILD
@@ -13,7 +13,11 @@ options="libtool"
build() {
cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ || return 1
make
}
diff --git a/main/libtorrent/APKBUILD b/main/libtorrent/APKBUILD
index 2f23d1f53b..d7d0dad963 100644
--- a/main/libtorrent/APKBUILD
+++ b/main/libtorrent/APKBUILD
@@ -13,19 +13,20 @@ options='libtool'
source="http://libtorrent.rakshasa.no/downloads/${pkgname}-${pkgver}.tar.gz"
build() {
- cd "$srcdir"/$pkgname-$pkgver
+ cd "$srcdir"/$pkgname-$pkgver
- ./configure \
- --prefix=/usr \
- --disable-debug \
- || return 1
-
- make || return 1
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --disable-debug \
+ || return 1
+ make || return 1
}
package() {
- cd "$srcdir"/$pkgname-$pkgver
- make DESTDIR="$pkgdir" install || return 1
+ cd "$srcdir"/$pkgname-$pkgver
+ make DESTDIR="$pkgdir" install || return 1
}
md5sums="e94f6c590bb02aaf4d58618f738a85f2 libtorrent-0.13.3.tar.gz"
diff --git a/main/libtxc_dxtn/APKBUILD b/main/libtxc_dxtn/APKBUILD
index 13dd5142bc..121e4ca248 100644
--- a/main/libtxc_dxtn/APKBUILD
+++ b/main/libtxc_dxtn/APKBUILD
@@ -29,7 +29,12 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr --sysconfdir=/etc || return 1
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ || return 1
make
}
diff --git a/main/libunique/APKBUILD b/main/libunique/APKBUILD
index e93a3cb127..f0f304f90d 100644
--- a/main/libunique/APKBUILD
+++ b/main/libunique/APKBUILD
@@ -24,7 +24,10 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--enable-maintainer-flags=no \
diff --git a/main/libunique3/APKBUILD b/main/libunique3/APKBUILD
index 2a1411e6f0..f545c71e2c 100644
--- a/main/libunique3/APKBUILD
+++ b/main/libunique3/APKBUILD
@@ -24,7 +24,10 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--disable-static \
diff --git a/main/libunistring/APKBUILD b/main/libunistring/APKBUILD
index e55d7474d0..12d220a122 100644
--- a/main/libunistring/APKBUILD
+++ b/main/libunistring/APKBUILD
@@ -28,7 +28,11 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr || return 1
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ || return 1
make all || return 1
}
diff --git a/main/libusb-compat/APKBUILD b/main/libusb-compat/APKBUILD
index 4952b3c975..39d0368494 100644
--- a/main/libusb-compat/APKBUILD
+++ b/main/libusb-compat/APKBUILD
@@ -14,7 +14,12 @@ source="http://downloads.sourceforge.net/libusb/$pkgname-$pkgver.tar.bz2"
build() {
cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr --disable-build-docs
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --disable-build-docs \
+ || return 1
make || return 1
}
diff --git a/main/libusb/APKBUILD b/main/libusb/APKBUILD
index 4de038b5ee..72feccc2be 100644
--- a/main/libusb/APKBUILD
+++ b/main/libusb/APKBUILD
@@ -27,7 +27,11 @@ source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2"
_builddir="$srcdir"/$pkgname-$_ver
build() {
cd "$_builddir"
- ./configure --prefix=/usr
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ || return 1
make || return 1
}
diff --git a/main/libva-intel-driver/APKBUILD b/main/libva-intel-driver/APKBUILD
index 3356450de1..5c8d43b1f0 100644
--- a/main/libva-intel-driver/APKBUILD
+++ b/main/libva-intel-driver/APKBUILD
@@ -28,7 +28,11 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ || return 1
make || return 1
}
diff --git a/main/libva/APKBUILD b/main/libva/APKBUILD
index 9acb53e1aa..02b35cbc3a 100644
--- a/main/libva/APKBUILD
+++ b/main/libva/APKBUILD
@@ -27,7 +27,10 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
diff --git a/main/libvdpau/APKBUILD b/main/libvdpau/APKBUILD
index 51c5c22347..70e1bc7d9b 100644
--- a/main/libvdpau/APKBUILD
+++ b/main/libvdpau/APKBUILD
@@ -22,10 +22,14 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
- --infodir=/usr/share/info
+ --infodir=/usr/share/info \
+ || return 1
make || return 1
}
diff --git a/main/libverto/APKBUILD b/main/libverto/APKBUILD
index 64dc5dfd85..c0a371e0f9 100644
--- a/main/libverto/APKBUILD
+++ b/main/libverto/APKBUILD
@@ -27,7 +27,10 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--with-libev \
--with-libevent \
|| return 1
diff --git a/main/libvirt-glib/APKBUILD b/main/libvirt-glib/APKBUILD
index 30c9e9e638..834fec326a 100644
--- a/main/libvirt-glib/APKBUILD
+++ b/main/libvirt-glib/APKBUILD
@@ -27,7 +27,10 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
diff --git a/main/libvirt/APKBUILD b/main/libvirt/APKBUILD
index 966482aaa5..aa0d91c403 100644
--- a/main/libvirt/APKBUILD
+++ b/main/libvirt/APKBUILD
@@ -59,7 +59,10 @@ prepare() {
build() {
cd "$_builddir"
export LDFLAGS="$LDFLAGS -lm"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
diff --git a/main/libvorbis/APKBUILD b/main/libvorbis/APKBUILD
index 37727e4241..8224b0a28a 100644
--- a/main/libvorbis/APKBUILD
+++ b/main/libvorbis/APKBUILD
@@ -16,8 +16,12 @@ source="http://downloads.xiph.org/releases/vorbis/libvorbis-$pkgver.tar.gz"
build ()
{
cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr \
- --disable-static || return 1
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --disable-static \
+ || return 1
make || return 1
}
diff --git a/main/libvpx/APKBUILD b/main/libvpx/APKBUILD
index 98556a7e8d..74a4ff470c 100644
--- a/main/libvpx/APKBUILD
+++ b/main/libvpx/APKBUILD
@@ -28,6 +28,8 @@ prepare() {
build() {
cd "$_builddir"
./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
--enable-pic \
--enable-libs \
--enable-runtime-cpu-detect \
diff --git a/main/libwebp/APKBUILD b/main/libwebp/APKBUILD
index de99445b43..27c0d2962a 100644
--- a/main/libwebp/APKBUILD
+++ b/main/libwebp/APKBUILD
@@ -19,7 +19,11 @@ _builddir="$srcdir/$pkgname-$pkgver"
build() {
cd "$_builddir"
sh autogen.sh
- ./configure --prefix=/usr || return 1
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ || return 1
make || return 1
}
diff --git a/main/libwnck/APKBUILD b/main/libwnck/APKBUILD
index db9e905bee..9b0699a3b7 100644
--- a/main/libwnck/APKBUILD
+++ b/main/libwnck/APKBUILD
@@ -18,10 +18,14 @@ depends_dev="glib-dev gtk+-dev libx11-dev pango-dev cairo-dev
_builddir="$srcdir"/$pkgname-$pkgver
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
- --disable-static || return 1
+ --disable-static \
+ || return 1
make || return 1
}
diff --git a/main/libx11/APKBUILD b/main/libx11/APKBUILD
index 7b8fc4d995..b42b6d0d68 100644
--- a/main/libx11/APKBUILD
+++ b/main/libx11/APKBUILD
@@ -16,8 +16,12 @@ source="http://xorg.freedesktop.org/releases/individual/lib/libX11-$pkgver.tar.b
build() {
cd "$srcdir"/libX11-$pkgver
- ./configure --prefix=/usr \
- --with-xcb || return 1
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --with-xcb \
+ || return 1
make
}
diff --git a/main/libxau/APKBUILD b/main/libxau/APKBUILD
index 88ed3e1b05..7c0d6c6719 100644
--- a/main/libxau/APKBUILD
+++ b/main/libxau/APKBUILD
@@ -15,7 +15,12 @@ depends_dev="xproto"
build() {
cd "$srcdir"/libXau-$pkgver
- ./configure --prefix=/usr --sysconfdir=/etc || return 1
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ || return 1
make || return 1
}
diff --git a/main/libxcb/APKBUILD b/main/libxcb/APKBUILD
index 1657306f5b..23a845bb37 100644
--- a/main/libxcb/APKBUILD
+++ b/main/libxcb/APKBUILD
@@ -25,7 +25,10 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--enable-xkb \
--enable-xinput \
--disable-xprint \
diff --git a/main/libxcomposite/APKBUILD b/main/libxcomposite/APKBUILD
index b7e58c819c..1b891c4b49 100644
--- a/main/libxcomposite/APKBUILD
+++ b/main/libxcomposite/APKBUILD
@@ -15,8 +15,12 @@ depends_dev="xproto compositeproto libxfixes-dev libx11-dev libxext-dev"
_builddir="$srcdir"/libXcomposite-$pkgver
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
- --sysconfdir=/etc
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ || return 1
make || return 1
}
diff --git a/main/libxcursor/APKBUILD b/main/libxcursor/APKBUILD
index c1d14bcc6e..c394aa1d70 100644
--- a/main/libxcursor/APKBUILD
+++ b/main/libxcursor/APKBUILD
@@ -24,7 +24,10 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
|| return 1
make || return 1
diff --git a/main/libxdamage/APKBUILD b/main/libxdamage/APKBUILD
index 52038101ea..0ddd9126a9 100644
--- a/main/libxdamage/APKBUILD
+++ b/main/libxdamage/APKBUILD
@@ -14,7 +14,12 @@ source="http://xorg.freedesktop.org/releases/individual/lib/libXdamage-$pkgver.t
depends_dev="xproto damageproto libxfixes-dev libx11-dev fixesproto"
build() {
cd "$srcdir"/libXdamage-$pkgver
- ./configure --prefix=/usr --sysconfdir=/etc
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ || return 1
make || return 1
}
diff --git a/main/libxdg-basedir/APKBUILD b/main/libxdg-basedir/APKBUILD
index 63f515209f..65934815a6 100644
--- a/main/libxdg-basedir/APKBUILD
+++ b/main/libxdg-basedir/APKBUILD
@@ -27,8 +27,12 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
- --sysconfdir=/etc || return 1
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ || return 1
make || return 1
}
diff --git a/main/libxdmcp/APKBUILD b/main/libxdmcp/APKBUILD
index 62aabfb1a6..b63883dd0e 100644
--- a/main/libxdmcp/APKBUILD
+++ b/main/libxdmcp/APKBUILD
@@ -13,8 +13,12 @@ source="http://xorg.freedesktop.org/releases/individual/lib/libXdmcp-$pkgver.tar
build() {
cd "$srcdir"/libXdmcp-$pkgver
- ./configure --prefix=/usr \
- --sysconfdir=/etc
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ || return 1
make || return 1
}
diff --git a/main/libxext/APKBUILD b/main/libxext/APKBUILD
index 90c3921f33..bd4e308a47 100644
--- a/main/libxext/APKBUILD
+++ b/main/libxext/APKBUILD
@@ -26,7 +26,12 @@ prepare() {
build() {
cd "$srcdir"/libXext-$pkgver
- ./configure --prefix=/usr --sysconfdir=/etc
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ || return 1
make
}
diff --git a/main/libxfce4ui/APKBUILD b/main/libxfce4ui/APKBUILD
index 55d39a5313..dedff9861f 100644
--- a/main/libxfce4ui/APKBUILD
+++ b/main/libxfce4ui/APKBUILD
@@ -16,13 +16,17 @@ source="http://archive.xfce.org/src/xfce/${pkgname}/${pkgver%.*}/${pkgname}-${pk
depends_dev="gtk+-dev libxfce4util-dev xfconf-dev startup-notification-dev"
build() {
cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--libexecdir=/usr/lib \
--localstatedir=/var \
--enable-gladeui \
--with-vendor-info="Alpine Linux" \
- --disable-static
+ --disable-static \
+ || return 1
make || return 1
}
diff --git a/main/libxfce4util/APKBUILD b/main/libxfce4util/APKBUILD
index ca175426cc..995b6d2769 100644
--- a/main/libxfce4util/APKBUILD
+++ b/main/libxfce4util/APKBUILD
@@ -14,11 +14,15 @@ source="http://archive.xfce.org/src/xfce/$pkgname/${pkgver%.*}/$pkgname-$pkgver.
depends_dev="glib-dev"
build() {
cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--libexecdir=/usr/lib \
--localstatedir=/var \
- --disable-static
+ --disable-static \
+ || return 1
make || return 1
}
diff --git a/main/libxfcegui4/APKBUILD b/main/libxfcegui4/APKBUILD
index 6979041cfb..166d19d318 100644
--- a/main/libxfcegui4/APKBUILD
+++ b/main/libxfcegui4/APKBUILD
@@ -15,11 +15,15 @@ source="http://archive.xfce.org/src/xfce/${pkgname}/${pkgver%.*}/${pkgname}-${pk
depends_dev="gtk+-dev libxfce4util-dev xfconf-dev startup-notification-dev"
build() {
cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--libexecdir=/usr/lib \
--localstatedir=/var \
- --disable-static
+ --disable-static \
+ || return 1
make || return 1
}
diff --git a/main/libxfixes/APKBUILD b/main/libxfixes/APKBUILD
index 89decdb0e1..c0e67347c6 100644
--- a/main/libxfixes/APKBUILD
+++ b/main/libxfixes/APKBUILD
@@ -24,7 +24,12 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr --sysconfdir=/etc --build=${CHOST} --host=${CHOST}
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ || return 1
make || return 1
}
diff --git a/main/libxfont/APKBUILD b/main/libxfont/APKBUILD
index 4b32241761..6313cfd50a 100644
--- a/main/libxfont/APKBUILD
+++ b/main/libxfont/APKBUILD
@@ -15,7 +15,12 @@ source="http://xorg.freedesktop.org/archive/individual/lib/libXfont-$pkgver.tar.
build() {
cd "$srcdir"/libXfont-$pkgver
- ./configure --prefix=/usr --sysconfdir=/etc || return 1
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ || return 1
make || return 1
}
diff --git a/main/libxft/APKBUILD b/main/libxft/APKBUILD
index ae7e4bc632..83776140e0 100644
--- a/main/libxft/APKBUILD
+++ b/main/libxft/APKBUILD
@@ -14,8 +14,12 @@ source="http://xorg.freedesktop.org/releases/individual/lib/libXft-$pkgver.tar.b
build () {
cd "$srcdir"/libXft-$pkgver
- ./configure --prefix=/usr \
- --sysconfdir=/etc || return 1
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ || return 1
make || return 1
}
diff --git a/main/libxi/APKBUILD b/main/libxi/APKBUILD
index 485d33e983..294e4aa564 100644
--- a/main/libxi/APKBUILD
+++ b/main/libxi/APKBUILD
@@ -30,7 +30,12 @@ prepare() {
build ()
{
cd "$_builddir"
- ./configure --prefix=/usr --sysconfdir=/etc || return 1
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ || return 1
make || return 1
}
diff --git a/main/libxinerama/APKBUILD b/main/libxinerama/APKBUILD
index 2d5465f243..39c95ef994 100644
--- a/main/libxinerama/APKBUILD
+++ b/main/libxinerama/APKBUILD
@@ -25,7 +25,11 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ || return 1
make || return 1
}
diff --git a/main/libxkbcommon/APKBUILD b/main/libxkbcommon/APKBUILD
index d7e790cef1..fdd72b6499 100644
--- a/main/libxkbcommon/APKBUILD
+++ b/main/libxkbcommon/APKBUILD
@@ -27,7 +27,10 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
diff --git a/main/libxkbfile/APKBUILD b/main/libxkbfile/APKBUILD
index fd53a15f50..351c5ace4c 100644
--- a/main/libxkbfile/APKBUILD
+++ b/main/libxkbfile/APKBUILD
@@ -14,8 +14,12 @@ source="http://xorg.freedesktop.org/releases/individual/lib/$pkgname-$pkgver.tar
depends_dev="libx11-dev kbproto"
build () {
cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr \
- --sysconfdir=/etc
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ || return 1
make || return 1
}
diff --git a/main/libxkbui/APKBUILD b/main/libxkbui/APKBUILD
index b9cffba90c..a2d77a03eb 100644
--- a/main/libxkbui/APKBUILD
+++ b/main/libxkbui/APKBUILD
@@ -14,7 +14,11 @@ source="http://xorg.freedesktop.org/releases/individual/lib/$pkgname-$pkgver.tar
depends_dev="libx11-dev xproto libxt-dev"
build () {
cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr || return 1
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ || return 1
make || return 1
}
diff --git a/main/libxklavier/APKBUILD b/main/libxklavier/APKBUILD
index d5075dce19..771398a481 100644
--- a/main/libxklavier/APKBUILD
+++ b/main/libxklavier/APKBUILD
@@ -24,9 +24,13 @@ depends_dev="libxml2-dev glib-dev gettext-dev libxkbfile-dev"
build ()
{
cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--with-xkb-base=/usr/share/X11/xkb \
- --disable-static || return 1
+ --disable-static \
+ || return 1
make || return 1
}
diff --git a/main/libxml2/APKBUILD b/main/libxml2/APKBUILD
index 4121c44b2f..5500426a17 100644
--- a/main/libxml2/APKBUILD
+++ b/main/libxml2/APKBUILD
@@ -28,10 +28,14 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
- --infodir=/usr/share/info
+ --infodir=/usr/share/info \
+ || return 1
make
}
diff --git a/main/libxmu/APKBUILD b/main/libxmu/APKBUILD
index 3d18383238..c4f9442846 100644
--- a/main/libxmu/APKBUILD
+++ b/main/libxmu/APKBUILD
@@ -16,8 +16,12 @@ depends_dev="xproto libx11-dev libxt-dev libxext-dev util-linux-dev"
build ()
{
cd "$srcdir"/libXmu-$pkgver
- ./configure --prefix=/usr \
- --sysconfdir=/etc
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ || return 1
make || return 1
}
diff --git a/main/libxp/APKBUILD b/main/libxp/APKBUILD
index c7a6acf771..e917d6cae8 100644
--- a/main/libxp/APKBUILD
+++ b/main/libxp/APKBUILD
@@ -28,7 +28,10 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
diff --git a/main/libxpm/APKBUILD b/main/libxpm/APKBUILD
index ae409ebc4a..90c31e2c2b 100644
--- a/main/libxpm/APKBUILD
+++ b/main/libxpm/APKBUILD
@@ -15,7 +15,10 @@ source="http://xorg.freedesktop.org/releases/individual/lib/libXpm-$pkgver.tar.b
depends_dev="libx11-dev"
build() {
cd "$srcdir"/libXpm-$pkgver
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
|| return 1
make || return 1
diff --git a/main/libxrandr/APKBUILD b/main/libxrandr/APKBUILD
index 84d96a634e..4ae7c83c98 100644
--- a/main/libxrandr/APKBUILD
+++ b/main/libxrandr/APKBUILD
@@ -26,7 +26,10 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
|| return 1
make || return 1
diff --git a/main/libxrender/APKBUILD b/main/libxrender/APKBUILD
index 0a4e6a80d7..b3591f0d26 100644
--- a/main/libxrender/APKBUILD
+++ b/main/libxrender/APKBUILD
@@ -17,7 +17,11 @@ _builddir="$srcdir"/libXrender-$pkgver
build() {
cd "$_builddir"
- ./configure --prefix=/usr
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ || return 1
make || return 1
}
diff --git a/main/libxres/APKBUILD b/main/libxres/APKBUILD
index 2abb57fed0..c1cdafcf55 100644
--- a/main/libxres/APKBUILD
+++ b/main/libxres/APKBUILD
@@ -25,8 +25,12 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
- --sysconfdir=/etc
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ || return 1
make || return 1
}
diff --git a/main/libxslt/APKBUILD b/main/libxslt/APKBUILD
index cf9d1c3228..1b7fd68fff 100644
--- a/main/libxslt/APKBUILD
+++ b/main/libxslt/APKBUILD
@@ -23,7 +23,11 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr || return 1
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ || return 1
make
}
diff --git a/main/libxt/APKBUILD b/main/libxt/APKBUILD
index 613958d2a5..2f006b1db6 100644
--- a/main/libxt/APKBUILD
+++ b/main/libxt/APKBUILD
@@ -26,7 +26,10 @@ prepare() {
build () {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
|| return 1
make || return 1
diff --git a/main/libxtst/APKBUILD b/main/libxtst/APKBUILD
index 30da3627f4..ff61909ae1 100644
--- a/main/libxtst/APKBUILD
+++ b/main/libxtst/APKBUILD
@@ -25,8 +25,11 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
- --build=${CHOST} --host=${CHOST}
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ || return 1
make || return 1
}
diff --git a/main/libxv/APKBUILD b/main/libxv/APKBUILD
index 5e1a2dcf19..ff07b6e49f 100644
--- a/main/libxv/APKBUILD
+++ b/main/libxv/APKBUILD
@@ -25,7 +25,11 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ || return 1
make || return 1
}
diff --git a/main/libxvmc/APKBUILD b/main/libxvmc/APKBUILD
index 8f45ff7cc3..7aea30dcd9 100644
--- a/main/libxvmc/APKBUILD
+++ b/main/libxvmc/APKBUILD
@@ -16,7 +16,12 @@ _builddir="$srcdir"/libXvMC-$pkgver
build() {
cd "$_builddir"
- ./configure --prefix=/usr --sysconfdir=/etc
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ || return 1
make || return 1
}
diff --git a/main/libxxf86dga/APKBUILD b/main/libxxf86dga/APKBUILD
index 464301d61c..4ea190070e 100644
--- a/main/libxxf86dga/APKBUILD
+++ b/main/libxxf86dga/APKBUILD
@@ -24,7 +24,11 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ || return 1
make || return 1
}
diff --git a/main/libxxf86misc/APKBUILD b/main/libxxf86misc/APKBUILD
index 3750178051..1529d841ad 100644
--- a/main/libxxf86misc/APKBUILD
+++ b/main/libxxf86misc/APKBUILD
@@ -14,8 +14,12 @@ depends_dev="xf86miscproto libx11-dev libxext-dev"
build() {
cd "$srcdir"/libXxf86misc-$pkgver
- ./configure --prefix=/usr \
- --mandir=/usr/share/man
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --mandir=/usr/share/man \
+ || return 1
make || return 1
}
diff --git a/main/libxxf86vm/APKBUILD b/main/libxxf86vm/APKBUILD
index 474b6a97f9..d9323479d2 100644
--- a/main/libxxf86vm/APKBUILD
+++ b/main/libxxf86vm/APKBUILD
@@ -25,7 +25,11 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr || return 1
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ || return 1
make || return 1
}
diff --git a/main/lighttpd/APKBUILD b/main/lighttpd/APKBUILD
index 0ed6c45ec1..06b2446a17 100644
--- a/main/lighttpd/APKBUILD
+++ b/main/lighttpd/APKBUILD
@@ -55,7 +55,10 @@ __EOF__
build() {
local i
cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--disable-dependency-tracking \
--enable-lfs \
--libdir=/usr/lib/lighttpd \
@@ -71,7 +74,8 @@ build() {
--with-ldap \
--with-openssl \
--with-libev \
- --with-lua || return 1
+ --with-lua \
+ || return 1
make
}
diff --git a/main/links/APKBUILD b/main/links/APKBUILD
index 79b04d1233..9a0e77c007 100644
--- a/main/links/APKBUILD
+++ b/main/links/APKBUILD
@@ -13,12 +13,16 @@ source="http://$pkgname.twibright.com/download/$pkgname-$pkgver.tar.bz2"
build () {
cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--mandir=/usr/share/man \
--enable-javascript \
--disable-graphics \
--without-x \
- --disable-nls || return 1
+ --disable-nls \
+ || return 1
make || return 1
}
diff --git a/main/linux-pam/APKBUILD b/main/linux-pam/APKBUILD
index b116403250..c244e671bb 100644
--- a/main/linux-pam/APKBUILD
+++ b/main/linux-pam/APKBUILD
@@ -37,7 +37,10 @@ prepare() {
build() {
cd "$_builddir"
autoreconf -vif || return 1
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--libdir=/lib \
--sysconfdir=/etc \
--mandir=/usr/share/man \
diff --git a/main/llvm/APKBUILD b/main/llvm/APKBUILD
index 65a8bc0cf0..2fbcd1d404 100644
--- a/main/llvm/APKBUILD
+++ b/main/llvm/APKBUILD
@@ -58,11 +58,13 @@ build() {
|| return 1
$_srcdir/configure \
+ --build=$CBUILD \
+ --host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
- --enable-ffi \
+ --enable-ffi \
--enable-shared \
|| return 1
diff --git a/main/lockdev/APKBUILD b/main/lockdev/APKBUILD
index 7dc2d06126..d5aa96dd35 100644
--- a/main/lockdev/APKBUILD
+++ b/main/lockdev/APKBUILD
@@ -32,7 +32,10 @@ build() {
# bootstap fails with missing m4 dir
mkdir m4
./bootstrap || return 1
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
diff --git a/main/loudmouth/APKBUILD b/main/loudmouth/APKBUILD
index aaaa9c2d33..973c32efaf 100644
--- a/main/loudmouth/APKBUILD
+++ b/main/loudmouth/APKBUILD
@@ -33,6 +33,8 @@ prepare() {
build() {
cd "$_builddir"
./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
--disable-static \
--with-asyncns=yes \
--with-ssl=openssl \
diff --git a/main/lsscsi/APKBUILD b/main/lsscsi/APKBUILD
index 98604c036d..66ed5b49a6 100644
--- a/main/lsscsi/APKBUILD
+++ b/main/lsscsi/APKBUILD
@@ -21,10 +21,14 @@ _builddir="$srcdir"/$pkgname-$pkgver
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
- --infodir=/usr/share/info
+ --infodir=/usr/share/info \
+ || return 1
make || return 1
}
diff --git a/main/lsyncd/APKBUILD b/main/lsyncd/APKBUILD
index e7a27327ea..ec6b099e19 100644
--- a/main/lsyncd/APKBUILD
+++ b/main/lsyncd/APKBUILD
@@ -28,7 +28,10 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
diff --git a/main/ltrace/APKBUILD b/main/ltrace/APKBUILD
index 1b1274a438..91785f275d 100644
--- a/main/ltrace/APKBUILD
+++ b/main/ltrace/APKBUILD
@@ -24,7 +24,10 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--disable-werror \
|| return 1
diff --git a/main/lua-bitlib/APKBUILD b/main/lua-bitlib/APKBUILD
index 4610091dec..0c8fd57235 100644
--- a/main/lua-bitlib/APKBUILD
+++ b/main/lua-bitlib/APKBUILD
@@ -17,7 +17,11 @@ _builddir="$srcdir"/$_name-$pkgver
build() {
cd "$_builddir"
- ./configure --prefix=/usr
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ || return 1
make || return 1
}
diff --git a/main/lua-curl/APKBUILD b/main/lua-curl/APKBUILD
index 501728da55..33d2564f25 100644
--- a/main/lua-curl/APKBUILD
+++ b/main/lua-curl/APKBUILD
@@ -15,7 +15,11 @@ source="http://luaforge.net/frs/download.php/2634/lua-curl-0.2.tar.gz"
_builddir="$srcdir"/lua-curl-$pkgver
build() {
cd "$_builddir"
- ./configure --prefix=/usr
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ || return 1
make
}
diff --git a/main/lua-posix/APKBUILD b/main/lua-posix/APKBUILD
index 1dd8bcdb74..5385d5a5b4 100644
--- a/main/lua-posix/APKBUILD
+++ b/main/lua-posix/APKBUILD
@@ -8,7 +8,7 @@ url="https://github.com/luaposix/luaposix"
arch="all"
license="MIT"
depends="lua lua-bitlib"
-makedepends="lua-dev perl ncurses-dev"
+makedepends="lua lua-dev perl ncurses-dev"
source="luaposix-$pkgver.tar.gz::https://github.com/luaposix/luaposix/archive/release-v$pkgver.tar.gz
0001-Removed-Lua-5.2-functions-lua_len-and-lua_tointegerx.patch"
@@ -29,7 +29,10 @@ prepare() {
}
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--libdir=$_lualib \
--datadir=$_luashare \
|| return 1
diff --git a/main/lua-stdlib/APKBUILD b/main/lua-stdlib/APKBUILD
index b7bf1b684a..7198b89640 100644
--- a/main/lua-stdlib/APKBUILD
+++ b/main/lua-stdlib/APKBUILD
@@ -16,7 +16,10 @@ _builddir="$srcdir"/stdlib-$pkgver
_luashare=/usr/share/lua/5.1
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--datadir="$_luashare" \
|| return 1
make || return 1
diff --git a/main/lua5.2/APKBUILD b/main/lua5.2/APKBUILD
index 4f4af2e5ee..66edf7b22e 100644
--- a/main/lua5.2/APKBUILD
+++ b/main/lua5.2/APKBUILD
@@ -44,7 +44,11 @@ EOF
build() {
cd "$_builddir"
- ./configure --prefix=/usr
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ || return 1
cd src
make V=$pkgver \
CFLAGS=" -DLUA_USE_LINUX -DLUA_COMPAT_ALL" \
diff --git a/main/lvm2/APKBUILD b/main/lvm2/APKBUILD
index 38f6bf255b..0ae07a5ab3 100644
--- a/main/lvm2/APKBUILD
+++ b/main/lvm2/APKBUILD
@@ -17,7 +17,10 @@ subpackages="$pkgname-dev $pkgname-doc device-mapper:dm $pkgname-libs"
build () {
cd "$srcdir"/LVM2.$pkgver
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--libdir=/lib \
--sbindir=/sbin \
diff --git a/main/lxc/APKBUILD b/main/lxc/APKBUILD
index 4a65633b7a..cfb8866c80 100644
--- a/main/lxc/APKBUILD
+++ b/main/lxc/APKBUILD
@@ -33,7 +33,10 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--disable-apparmor \
diff --git a/main/lxdm/APKBUILD b/main/lxdm/APKBUILD
index da7382be4e..92228c79a9 100644
--- a/main/lxdm/APKBUILD
+++ b/main/lxdm/APKBUILD
@@ -35,7 +35,10 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--libexecdir=/usr/lib/lxdm \
--without-pam \
diff --git a/main/lxpolkit/APKBUILD b/main/lxpolkit/APKBUILD
index afb9b97d5b..92b3621454 100644
--- a/main/lxpolkit/APKBUILD
+++ b/main/lxpolkit/APKBUILD
@@ -26,7 +26,10 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
diff --git a/main/lxsession/APKBUILD b/main/lxsession/APKBUILD
index 1947d4a828..108512e5f2 100644
--- a/main/lxsession/APKBUILD
+++ b/main/lxsession/APKBUILD
@@ -26,7 +26,10 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
diff --git a/main/lxterminal/APKBUILD b/main/lxterminal/APKBUILD
index e034031795..6b3d41543c 100644
--- a/main/lxterminal/APKBUILD
+++ b/main/lxterminal/APKBUILD
@@ -26,7 +26,10 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
diff --git a/main/lynx/APKBUILD b/main/lynx/APKBUILD
index 8b841714eb..234a503e3f 100644
--- a/main/lynx/APKBUILD
+++ b/main/lynx/APKBUILD
@@ -29,7 +29,12 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr --sysconfdir=/etc || return 1
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ || return 1
make || return 1
}
diff --git a/main/lzo/APKBUILD b/main/lzo/APKBUILD
index 958e0ac12c..c522e773a5 100644
--- a/main/lzo/APKBUILD
+++ b/main/lzo/APKBUILD
@@ -16,11 +16,15 @@ source="http://www.oberhumer.com/opensource/lzo/download/$pkgname-$pkgver.tar.gz
build() {
cd "$srcdir/$pkgname-$pkgver"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
- --enable-shared
+ --enable-shared \
+ || return 1
make || return 1
}
diff --git a/main/m4/APKBUILD b/main/m4/APKBUILD
index 9dff611a47..3647bb5fe6 100644
--- a/main/m4/APKBUILD
+++ b/main/m4/APKBUILD
@@ -22,7 +22,11 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ || return 1
make
}
diff --git a/main/make/APKBUILD b/main/make/APKBUILD
index 124144ab85..06a4debc7b 100644
--- a/main/make/APKBUILD
+++ b/main/make/APKBUILD
@@ -32,13 +32,14 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
- --build=${CBUILD} \
- --host=${CHOST} \
- --target=${CTARGET} \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
- --disable-nls
+ --disable-nls \
+ || return 1
make || return 1
[ "$CBUILD" = "$CHOST" ] && (make check || return 1)
return 0
diff --git a/main/makedepend/APKBUILD b/main/makedepend/APKBUILD
index 414ca56a98..69240b980b 100644
--- a/main/makedepend/APKBUILD
+++ b/main/makedepend/APKBUILD
@@ -27,8 +27,12 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
- --sysconfdir=/etc || return 1
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ || return 1
make || return 1
}
diff --git a/main/makekit/APKBUILD b/main/makekit/APKBUILD
index 18ed2b2e38..aaddd9b379 100644
--- a/main/makekit/APKBUILD
+++ b/main/makekit/APKBUILD
@@ -28,7 +28,10 @@ prepare() {
build() {
mkdir -p "$_builddir"
cd "$_builddir"
- ../configure --prefix=/usr \
+ ../configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
diff --git a/main/man/APKBUILD b/main/man/APKBUILD
index f1e8aa306a..e590b5da1c 100644
--- a/main/man/APKBUILD
+++ b/main/man/APKBUILD
@@ -24,6 +24,7 @@ prepare() {
build () {
cd "$_builddir"
+ # note: not autotools
./configure -confdir=/etc +sgid +fhs +lang none
sed -i "s/\\/usr\\/bin\\/awk/\\/usr\\/bin\\/gawk/" ./conf_script
make || return 1
diff --git a/main/mc/APKBUILD b/main/mc/APKBUILD
index a4ac89c9e6..857bef20d0 100644
--- a/main/mc/APKBUILD
+++ b/main/mc/APKBUILD
@@ -14,7 +14,10 @@ source="http://www.midnight-commander.org/downloads/mc-$pkgver.tar.bz2"
_builddir="$srcdir"/$pkgname-$pkgver
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--libexecdir=/usr/lib \
--mandir=/usr/share/man \
--sysconfdir=/etc \
diff --git a/main/mcabber/APKBUILD b/main/mcabber/APKBUILD
index 926590715f..a5eeef8b8b 100644
--- a/main/mcabber/APKBUILD
+++ b/main/mcabber/APKBUILD
@@ -27,6 +27,8 @@ _builddir="$srcdir"/$pkgname-$pkgver
build() {
cd "$_builddir"
./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
--disable-static \
--enable-hgcset \
--enable-enchant \
diff --git a/main/memcached/APKBUILD b/main/memcached/APKBUILD
index 24f7a0453f..33639b9edc 100644
--- a/main/memcached/APKBUILD
+++ b/main/memcached/APKBUILD
@@ -30,7 +30,10 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr\
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
|| return 1
make || return 1
}
diff --git a/main/mesa-demos/APKBUILD b/main/mesa-demos/APKBUILD
index ef871587c4..3d59f0bdc7 100644
--- a/main/mesa-demos/APKBUILD
+++ b/main/mesa-demos/APKBUILD
@@ -29,7 +29,11 @@ prepare() {
build() {
cd "$_builddir"
export LDFLAGS="$LDFLAGS -Wl,-z,lazy"
- ./configure --prefix=/usr
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ || return 1
make V=1 || return 1
}
diff --git a/main/mesa/APKBUILD b/main/mesa/APKBUILD
index cf16d4f4c7..c9d40bbb26 100644
--- a/main/mesa/APKBUILD
+++ b/main/mesa/APKBUILD
@@ -57,7 +57,10 @@ prepare() {
build() {
cd "$_builddir"
export LDFLAGS="$LDFLAGS -Wl,-z,lazy"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--with-dri-driverdir=$_dri_driverdir \
--disable-asm \
diff --git a/main/metacity/APKBUILD b/main/metacity/APKBUILD
index 49702d0e43..986134b8c8 100644
--- a/main/metacity/APKBUILD
+++ b/main/metacity/APKBUILD
@@ -36,10 +36,14 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--enable-compositor \
- --disable-scrollkeeper || return 1
+ --disable-scrollkeeper \
+ || return 1
make || return 1
}
diff --git a/main/midori/APKBUILD b/main/midori/APKBUILD
index e7bbe4b4b1..c5e2b4365b 100644
--- a/main/midori/APKBUILD
+++ b/main/midori/APKBUILD
@@ -33,13 +33,16 @@ source="http://www.midori-browser.org/downloads/midori_${pkgver}_all_.tar.bz2"
_builddir="$srcdir"/midori_${pkgver}_all_
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--jobs=${MAKEFLAGS/-j/} \
--disable-zeitgeist \
--enable-addons \
--enable-unique \
--enable-nls \
- --enable-gtk3\
+ --enable-gtk3 \
|| return 1
make
}
diff --git a/main/minicom/APKBUILD b/main/minicom/APKBUILD
index 0573b468da..d9a6742f5a 100644
--- a/main/minicom/APKBUILD
+++ b/main/minicom/APKBUILD
@@ -17,6 +17,8 @@ _builddir="$srcdir"/$pkgname-$pkgver
build() {
cd "$_builddir"
./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
diff --git a/main/mkfontdir/APKBUILD b/main/mkfontdir/APKBUILD
index 24b70697d3..bdee1b75b5 100644
--- a/main/mkfontdir/APKBUILD
+++ b/main/mkfontdir/APKBUILD
@@ -15,7 +15,11 @@ source="http://xorg.freedesktop.org/releases/individual/app/$pkgname-$pkgver.tar
build() {
cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ || return 1
make || return 1
}
diff --git a/main/mkfontscale/APKBUILD b/main/mkfontscale/APKBUILD
index 6069575a49..553fb772a2 100644
--- a/main/mkfontscale/APKBUILD
+++ b/main/mkfontscale/APKBUILD
@@ -15,7 +15,11 @@ source="http://xorg.freedesktop.org/releases/individual/app/$pkgname-$pkgver.tar
build() {
cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ || return 1
make || return 1
}
diff --git a/main/mlmmj/APKBUILD b/main/mlmmj/APKBUILD
index d98dc187c3..ac0d4ab071 100644
--- a/main/mlmmj/APKBUILD
+++ b/main/mlmmj/APKBUILD
@@ -17,7 +17,11 @@ source="http://mlmmj.org/releases/mlmmj-$pkgver.tar.gz"
build() {
cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ || return 1
make || return 1
}
diff --git a/main/mousepad/APKBUILD b/main/mousepad/APKBUILD
index 48b38a9bf0..ecbbfd4275 100644
--- a/main/mousepad/APKBUILD
+++ b/main/mousepad/APKBUILD
@@ -15,11 +15,15 @@ source="http://archive.xfce.org/src/apps/mousepad/${pkgver%.*}/mousepad-$pkgver.
build ()
{
cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--libexecdir=/usr/lib/xfce4 \
--localstatedir=/var \
- --disable-static
+ --disable-static \
+ || return 1
make || return 1
}
diff --git a/main/mp3splt-gtk/APKBUILD b/main/mp3splt-gtk/APKBUILD
index ceeff71418..0c14090633 100644
--- a/main/mp3splt-gtk/APKBUILD
+++ b/main/mp3splt-gtk/APKBUILD
@@ -28,7 +28,10 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--disable-gnome \
|| return 1
sed -i -e 's/-DGTK_DISABLE_DEPRECATED//' Makefile src/Makefile
diff --git a/main/mp3splt/APKBUILD b/main/mp3splt/APKBUILD
index 35a1e8c913..d16ef30a11 100644
--- a/main/mp3splt/APKBUILD
+++ b/main/mp3splt/APKBUILD
@@ -26,7 +26,10 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--with-mp3splt-includes=/usr/include/libmp3splt \
--enable-oggsplt_symlink \
|| return 1
diff --git a/main/mpc/APKBUILD b/main/mpc/APKBUILD
index 47c61aa164..9dd066208b 100644
--- a/main/mpc/APKBUILD
+++ b/main/mpc/APKBUILD
@@ -13,7 +13,11 @@ source="http://www.musicpd.org/download/mpc/${pkgver%.*}/mpc-${pkgver}.tar.bz2"
build() {
cd "$srcdir"/mpc-$pkgver
- ./configure --prefix=/usr || return 1
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ || return 1
make || return 1
}
diff --git a/main/mpc1/APKBUILD b/main/mpc1/APKBUILD
index a6cb2fdb64..32c6f1c3ef 100644
--- a/main/mpc1/APKBUILD
+++ b/main/mpc1/APKBUILD
@@ -22,10 +22,11 @@ build() {
cd "$_builddir"
# workaround for a bug in configure script
EGREP=egrep \
- ./configure --prefix=/usr \
- --build=${CBUILD} \
- --host=${CHOST} \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
--with-sysroot="${CBUILDROOT}" \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
diff --git a/main/mpd/APKBUILD b/main/mpd/APKBUILD
index 443b186413..bf60c1ea69 100644
--- a/main/mpd/APKBUILD
+++ b/main/mpd/APKBUILD
@@ -22,7 +22,10 @@ source="http://www.musicpd.org/download/mpd/${pkgver%.*}/mpd-$pkgver.tar.xz
build() {
cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
diff --git a/main/mpdscribble/APKBUILD b/main/mpdscribble/APKBUILD
index e2c4d90693..16f82ed02f 100644
--- a/main/mpdscribble/APKBUILD
+++ b/main/mpdscribble/APKBUILD
@@ -28,7 +28,10 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
diff --git a/main/mpfr3/APKBUILD b/main/mpfr3/APKBUILD
index 789096ff79..d920070431 100644
--- a/main/mpfr3/APKBUILD
+++ b/main/mpfr3/APKBUILD
@@ -14,11 +14,13 @@ subpackages="$pkgname-doc mpfr-dev"
_builddir="$srcdir"/mpfr-$pkgver
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
- --build=${CBUILD} \
- --host=${CHOST} \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
--with-sysroot=${CBUILDROOT} \
- --enable-shared || return 1;
+ --prefix=/usr \
+ --enable-shared \
+ || return 1;
make || return 1;
}
diff --git a/main/mpg123/APKBUILD b/main/mpg123/APKBUILD
index 4777899986..3a1258754f 100644
--- a/main/mpg123/APKBUILD
+++ b/main/mpg123/APKBUILD
@@ -14,13 +14,17 @@ options="libtool"
build() {
cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--disable-dependency-tracking \
--with-ipv6 \
--with-pic \
--with-optimization=0 \
--with-cpu=i386_fpu \
- --with-audio="alsa oss" || return 1
+ --with-audio="alsa oss" \
+ || return 1
make || return 1
}
diff --git a/main/mplayer/APKBUILD b/main/mplayer/APKBUILD
index 668b38e5f8..45aea5661c 100644
--- a/main/mplayer/APKBUILD
+++ b/main/mplayer/APKBUILD
@@ -31,7 +31,10 @@ build() {
cd "$_builddir"
export GCC_SPECS=hardenednopie.specs
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--disable-gui \
--disable-gif \
--disable-arts \
@@ -48,7 +51,7 @@ build() {
--disable-fribidi \
--disable-libdv \
--disable-musepack \
- --language=all\
+ --language=all \
--disable-esd \
--disable-mga \
--disable-lirc \
diff --git a/main/mrtg/APKBUILD b/main/mrtg/APKBUILD
index a43fbb27f6..180fa51d40 100644
--- a/main/mrtg/APKBUILD
+++ b/main/mrtg/APKBUILD
@@ -17,7 +17,10 @@ _builddir="$srcdir"/$pkgname-$pkgver
build() {
cd "$_builddir"
- ./configure --bindir=/usr/bin \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --bindir=/usr/bin \
--libdir=/usr/lib \
--datadir=/usr/share/doc \
--mandir=/usr/share/doc/man \
diff --git a/main/mrxvt/APKBUILD b/main/mrxvt/APKBUILD
index 11b436d5d9..7e3f45a58b 100644
--- a/main/mrxvt/APKBUILD
+++ b/main/mrxvt/APKBUILD
@@ -24,6 +24,8 @@ prepare() {
build() {
cd "$_builddir"
./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--enable-xft \
@@ -39,7 +41,8 @@ build() {
--enable-greek \
--enable-cjk \
--enable-backspace-key \
- --with-save-lines=2048 || return 1
+ --with-save-lines=2048 \
+ || return 1
make || return 1
}
diff --git a/main/msmtp/APKBUILD b/main/msmtp/APKBUILD
index 4ee01cbc3c..76ebbb0b02 100644
--- a/main/msmtp/APKBUILD
+++ b/main/msmtp/APKBUILD
@@ -26,7 +26,10 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
diff --git a/main/mtdev/APKBUILD b/main/mtdev/APKBUILD
index 61c5f5beb3..be94cd7b28 100644
--- a/main/mtdev/APKBUILD
+++ b/main/mtdev/APKBUILD
@@ -27,7 +27,10 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
diff --git a/main/mtools/APKBUILD b/main/mtools/APKBUILD
index d7507fea05..c04f3c7218 100644
--- a/main/mtools/APKBUILD
+++ b/main/mtools/APKBUILD
@@ -13,11 +13,15 @@ subpackages="$pkgname-doc"
build () {
cd $srcdir/$pkgname-$pkgver
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--sysconfdir=/etc \
- --without-x
+ --without-x \
+ || return 1
make || return 1
}
diff --git a/main/mtx/APKBUILD b/main/mtx/APKBUILD
index dec0abd064..5fb9a720f3 100644
--- a/main/mtx/APKBUILD
+++ b/main/mtx/APKBUILD
@@ -15,8 +15,12 @@ source="http://downloads.sourceforge.net/mtx/$pkgname-$pkgver.tar.gz"
build() {
cd "$srcdir/$pkgname-$pkgver"
- ./configure --prefix=/usr \
- --datadir=/usr/share
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --datadir=/usr/share \
+ || return 1
make || return 1
make prefix="$pkgdir" install
}
diff --git a/main/mutt/APKBUILD b/main/mutt/APKBUILD
index 4bc57166d5..c5da8f5f0b 100644
--- a/main/mutt/APKBUILD
+++ b/main/mutt/APKBUILD
@@ -24,7 +24,10 @@ prepare() {
build() {
cd "$_builddir"
ISPELL=/usr/bin/hunspell \
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
diff --git a/main/nagios-plugins/APKBUILD b/main/nagios-plugins/APKBUILD
index d466146b7b..6f4a7cd7f6 100644
--- a/main/nagios-plugins/APKBUILD
+++ b/main/nagios-plugins/APKBUILD
@@ -23,7 +23,10 @@ prepare() {
build() {
cd "$srcdir/$pkgname-$pkgver"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--bindir=/usr/sbin \
@@ -33,7 +36,8 @@ build() {
--with-ps-format="%d %s %s %s" \
--with-ps-varlist="&procpid,&procuid,&procpcpu,procprog" \
--with-ps-cols=4 \
- --with-ping-command="/bin/ping -c %d %s"
+ --with-ping-command="/bin/ping -c %d %s" \
+ || return 1
make all || return 1
}
diff --git a/main/nagios/APKBUILD b/main/nagios/APKBUILD
index b53f56d12d..e8b643a193 100644
--- a/main/nagios/APKBUILD
+++ b/main/nagios/APKBUILD
@@ -22,7 +22,10 @@ _builddir="$srcdir/$pkgname"
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc/nagios \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
@@ -36,7 +39,8 @@ build() {
--with-nagios-user=nagios \
--with-nagios-group=nagios \
--enable-embedded-perl \
- --with-perlcache
+ --with-perlcache \
+ || return 1
make all || return 1
}
diff --git a/main/nano/APKBUILD b/main/nano/APKBUILD
index 1149d5ad6b..560d0950b6 100644
--- a/main/nano/APKBUILD
+++ b/main/nano/APKBUILD
@@ -16,12 +16,16 @@ source="http://www.nano-editor.org/dist/v${pkgver%.*}/$pkgname-$pkgver.tar.gz"
build() {
cd "$srcdir/$pkgname-$pkgver"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--disable-nls \
- --disable-speller
+ --disable-speller \
+ || return 1
make || return 1
}
diff --git a/main/nasm/APKBUILD b/main/nasm/APKBUILD
index 2ff5c852fd..fc9f58349a 100644
--- a/main/nasm/APKBUILD
+++ b/main/nasm/APKBUILD
@@ -25,7 +25,11 @@ build () {
cd "$_builddir"
export CFLAGS=
export CXXFLAGS=
- ./configure --prefix=/usr
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ || return 1
make nasmlib.o || return 1
make || return 1
}
diff --git a/main/nautilus/APKBUILD b/main/nautilus/APKBUILD
index dea6db841d..0db3a42565 100644
--- a/main/nautilus/APKBUILD
+++ b/main/nautilus/APKBUILD
@@ -58,7 +58,10 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
|| return 1
make || return 1
diff --git a/main/ncdu/APKBUILD b/main/ncdu/APKBUILD
index 8f611adce1..e52110c402 100644
--- a/main/ncdu/APKBUILD
+++ b/main/ncdu/APKBUILD
@@ -18,6 +18,8 @@ _builddir="$srcdir"/$pkgname-$pkgver
build() {
cd "$_builddir"
./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
diff --git a/main/ncftp/APKBUILD b/main/ncftp/APKBUILD
index 582ff63310..850d38c8b1 100644
--- a/main/ncftp/APKBUILD
+++ b/main/ncftp/APKBUILD
@@ -21,9 +21,13 @@ prepare() {
build () {
cd "$_builddir" || return 1
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
- --mandir=/usr/share/man || return 1
+ --mandir=/usr/share/man \
+ || return 1
cd "$_builddir"/libncftp
make shared || return 1
diff --git a/main/ncurses/APKBUILD b/main/ncurses/APKBUILD
index 772ec1ad80..341212dc30 100644
--- a/main/ncurses/APKBUILD
+++ b/main/ncurses/APKBUILD
@@ -12,9 +12,10 @@ subpackages="$pkgname-dev $pkgname-doc $pkgname-base $pkgname-terminfo
$pkgname-widec-libs:widec $pkgname-libs"
build() {
- local _confopts="--mandir=/usr/share/man
+ local _confopts="
--build=$CBUILD
--host=$CHOST
+ --mandir=/usr/share/man
--without-ada
--disable-termcap
--disable-rpath-hack
@@ -26,12 +27,16 @@ build() {
mkdir ncurses-build ncursesw-build
cd ncurses-build
- ../configure $_confopts || return 1
+ ../configure $_confopts \
+ || return 1
make libs || return 1
make -C progs || return 1
cd ../ncursesw-build
- ../configure $_confopts --enable-widec --without-progs || return 1
+ ../configure $_confopts \
+ --enable-widec \
+ --without-progs \
+ || return 1
make libs || return 1
cd ..
}
diff --git a/main/neon/APKBUILD b/main/neon/APKBUILD
index 7c661c0f05..5c4e3450ef 100644
--- a/main/neon/APKBUILD
+++ b/main/neon/APKBUILD
@@ -14,7 +14,10 @@ source="http://www.webdav.org/$pkgname/$pkgname-$pkgver.tar.gz"
build () {
cd "$srcdir/$pkgname-$pkgver"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--with-ssl \
--with-expat \
--without-gssapi \
@@ -22,7 +25,7 @@ build () {
--disable-socks \
--enable-shared \
--disable-static \
-
+ || return 1
make || return 1
}
diff --git a/main/net-snmp/APKBUILD b/main/net-snmp/APKBUILD
index dce92cda11..75e8bd4617 100644
--- a/main/net-snmp/APKBUILD
+++ b/main/net-snmp/APKBUILD
@@ -50,7 +50,10 @@ build() {
#build fails on: libnetsnmpmibs.so: undefined reference to `pthread_create'
LDFLAGS="$LDFLAGS -lpthread"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
@@ -66,7 +69,8 @@ build() {
--enable-shared \
--enable-as-needed \
--with-perl-modules="INSTALLDIRS=vendor" \
- --disable-embedded-perl
+ --disable-embedded-perl \
+ || return 1
# embedded-perl seems to create TEXTREL's
# work around parallell build issue
diff --git a/main/netcf/APKBUILD b/main/netcf/APKBUILD
index 746b16ee5d..771b4836df 100644
--- a/main/netcf/APKBUILD
+++ b/main/netcf/APKBUILD
@@ -21,7 +21,10 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
diff --git a/main/nettle/APKBUILD b/main/nettle/APKBUILD
index 2998922845..236636e0ab 100644
--- a/main/nettle/APKBUILD
+++ b/main/nettle/APKBUILD
@@ -29,6 +29,8 @@ prepare() {
build() {
cd "$_builddir"
./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
diff --git a/main/newt/APKBUILD b/main/newt/APKBUILD
index 6ecb58e583..1ec0838f34 100644
--- a/main/newt/APKBUILD
+++ b/main/newt/APKBUILD
@@ -26,10 +26,14 @@ prepare() {
build() {
cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--without-gpm \
--without-tcl \
- --disable-nls
+ --disable-nls \
+ || return 1
make RPM_OPT_FLAGS="$CFLAGS" || return 1
}
diff --git a/main/nfdump/APKBUILD b/main/nfdump/APKBUILD
index e7665eb8a5..aa4958c00d 100644
--- a/main/nfdump/APKBUILD
+++ b/main/nfdump/APKBUILD
@@ -29,7 +29,10 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--enable-nfprofile \
|| return 1
make || return 1
diff --git a/main/nfs-utils/APKBUILD b/main/nfs-utils/APKBUILD
index 2d304c41cc..32f8fa1051 100644
--- a/main/nfs-utils/APKBUILD
+++ b/main/nfs-utils/APKBUILD
@@ -51,7 +51,10 @@ prepare() {
build() {
cd "$srcdir/$pkgname-$pkgver"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
@@ -61,7 +64,8 @@ build() {
--enable-uuid \
--enable-gss \
--enable-libmount-mount \
- --with-statedir=/var/lib/nfs
+ --with-statedir=/var/lib/nfs \
+ || return 1
make || return 1
}
diff --git a/main/nginx/APKBUILD b/main/nginx/APKBUILD
index 9848263bec..dfd32500df 100644
--- a/main/nginx/APKBUILD
+++ b/main/nginx/APKBUILD
@@ -26,7 +26,10 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--conf-path=/etc/$pkgname/$pkgname.conf \
--pid-path=/var/run/$pkgname.pid \
--lock-path=/var/run/$pkgname.lock \
@@ -35,12 +38,15 @@ build() {
--http-client-body-temp-path=/tmp/$pkgname/client-body \
--http-proxy-temp-path=/tmp/$pkgname/proxy \
--http-fastcgi-temp-path=/tmp/$pkgname/fastcgi \
- --user=http --group=http \
- --with-ipv6 --with-pcre-jit \
+ --user=http \
+ --group=http \
+ --with-ipv6 \
+ --with-pcre-jit \
--with-http_ssl_module \
--with-http_gzip_static_module \
--with-http_spdy_module \
- --with-mail --with-mail_ssl_module \
+ --with-mail \
+ --with-mail_ssl_module \
|| return 1
make || return 1
}
diff --git a/main/ngircd/APKBUILD b/main/ngircd/APKBUILD
index 4e569814f3..c74d651a0a 100644
--- a/main/ngircd/APKBUILD
+++ b/main/ngircd/APKBUILD
@@ -26,7 +26,10 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc/ngircd \
--mandir=/usr/share/man \
--without-ident \
diff --git a/main/ngrep/APKBUILD b/main/ngrep/APKBUILD
index 141d8566c7..31666553be 100644
--- a/main/ngrep/APKBUILD
+++ b/main/ngrep/APKBUILD
@@ -16,9 +16,13 @@ source="http://downloads.sourceforge.net/sourceforge/ngrep/$pkgname-$pkgver.tar.
_builddir="$srcdir"/$pkgname-$pkgver
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
- --with-pcap-includes=/usr/include/pcap
+ --with-pcap-includes=/usr/include/pcap \
+ || return 1
make || return 1
}
package() {
diff --git a/main/nload/APKBUILD b/main/nload/APKBUILD
index 7d62326281..ac7f0a82b8 100644
--- a/main/nload/APKBUILD
+++ b/main/nload/APKBUILD
@@ -17,10 +17,14 @@ _builddir="$srcdir"/$pkgname-$pkgver
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
- --infodir=/usr/share/info
+ --infodir=/usr/share/info \
+ || return 1
make || return 1
}
diff --git a/main/nmap/APKBUILD b/main/nmap/APKBUILD
index 3856b4c58f..cd9c5dae6e 100644
--- a/main/nmap/APKBUILD
+++ b/main/nmap/APKBUILD
@@ -17,13 +17,17 @@ source="http://nmap.org/dist/$pkgname-$pkgver.tgz"
_builddir="$srcdir"/$pkgname-$pkgver
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--without-zenmap \
--with-liblua=/usr/include \
- --with-openssl=/usr/lib
+ --with-openssl=/usr/lib \
+ || return 1
make || return 1
}
diff --git a/main/nrpe/APKBUILD b/main/nrpe/APKBUILD
index 4d59a80fb9..98ee89f90c 100644
--- a/main/nrpe/APKBUILD
+++ b/main/nrpe/APKBUILD
@@ -19,12 +19,16 @@ source="http://downloads.sourceforge.net/nagios/$pkgname-$pkgver.tar.gz
build() {
cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--libexecdir=/usr/lib/nagios/plugins \
- --enable-command-args
+ --enable-command-args \
+ || return 1
make || return 1
}
diff --git a/main/nsd/APKBUILD b/main/nsd/APKBUILD
index 80b104c4bf..6a94490dc5 100644
--- a/main/nsd/APKBUILD
+++ b/main/nsd/APKBUILD
@@ -36,6 +36,8 @@ build() {
cd "$_builddir"
./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
--sbindir=/usr/sbin \
--mandir=/usr/share/man \
--with-user=nsd \
diff --git a/main/nspr/APKBUILD b/main/nspr/APKBUILD
index b72e31c288..34087da00b 100644
--- a/main/nspr/APKBUILD
+++ b/main/nspr/APKBUILD
@@ -39,7 +39,10 @@ build() {
conf="--enable-64bit"
fi
cd "$_builddir"/build
- ../mozilla/nsprpub/configure --prefix=/usr \
+ ../mozilla/nsprpub/configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--disable-debug \
--enable-optimize \
$conf \
diff --git a/main/ntfs-3g/APKBUILD b/main/ntfs-3g/APKBUILD
index 0122aa1b8c..8f5024a0dd 100644
--- a/main/ntfs-3g/APKBUILD
+++ b/main/ntfs-3g/APKBUILD
@@ -15,10 +15,14 @@ source="http://tuxera.com/opensource/ntfs-3g_ntfsprogs-$pkgver.tgz"
_builddir="$srcdir"/ntfs-3g_ntfsprogs-$pkgver
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
- --infodir=/usr/share/info
+ --infodir=/usr/share/info \
+ || return 1
make || return 1
}
diff --git a/main/obex-data-server/APKBUILD b/main/obex-data-server/APKBUILD
index f9de2be6e9..8eac8a9178 100644
--- a/main/obex-data-server/APKBUILD
+++ b/main/obex-data-server/APKBUILD
@@ -24,9 +24,13 @@ prepare() {
build() {
cd $srcdir/$pkgname-$pkgver
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
- --enable-bip=gdk-pixbuf
+ --enable-bip=gdk-pixbuf \
+ || return 1
make
}
diff --git a/main/obexd/APKBUILD b/main/obexd/APKBUILD
index 4b92b38f52..53af098f7d 100644
--- a/main/obexd/APKBUILD
+++ b/main/obexd/APKBUILD
@@ -25,7 +25,10 @@ prepare() {
build ()
{
cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--libexecdir=/usr/lib/obexd \
|| return 1
make || return 1
diff --git a/main/ocfs2-tools/APKBUILD b/main/ocfs2-tools/APKBUILD
index ee4b71d893..a08724a96d 100644
--- a/main/ocfs2-tools/APKBUILD
+++ b/main/ocfs2-tools/APKBUILD
@@ -38,14 +38,18 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--enable-ocfs2console=yes \
--enable-dynamic-fsck=yes \
--enable-dynamic-ctl=yes \
- --disable-glibtest || return 1
+ --disable-glibtest \
+ || return 1
make -j1 || return 1
}
diff --git a/main/oidentd/APKBUILD b/main/oidentd/APKBUILD
index f7d9ca7522..b16a23344c 100644
--- a/main/oidentd/APKBUILD
+++ b/main/oidentd/APKBUILD
@@ -18,10 +18,14 @@ oidentd.confd"
build() {
cd "$srcdir/$pkgname-$pkgver"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
- --infodir=/usr/share/info
+ --infodir=/usr/share/info \
+ || return 1
make || return 1
make DESTDIR="$pkgdir" install
install -D -m755 "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname
diff --git a/main/open-lldp/APKBUILD b/main/open-lldp/APKBUILD
index ef1e73f039..e87fa00be1 100644
--- a/main/open-lldp/APKBUILD
+++ b/main/open-lldp/APKBUILD
@@ -30,10 +30,14 @@ build() {
cd "$_builddir"
./bootstrap.sh || return 1
# aclocal -W all && automake -W all && autoconf -W all
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
- --infodir=/usr/share/info || return 1
+ --infodir=/usr/share/info \
+ || return 1
make || return 1
}
diff --git a/main/open-vm-tools-grsec/APKBUILD b/main/open-vm-tools-grsec/APKBUILD
index f8da756fbe..2150747b24 100644
--- a/main/open-vm-tools-grsec/APKBUILD
+++ b/main/open-vm-tools-grsec/APKBUILD
@@ -60,7 +60,10 @@ prepare() {
build() {
export GCC_SPECS=hardenednopie.specs
cd "$_builddir"
- ./configure --without-pam \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --without-pam \
--without-x \
--without-dnet \
--without-icu \
diff --git a/main/open-vm-tools/APKBUILD b/main/open-vm-tools/APKBUILD
index b1afc7534c..63500a1fb5 100644
--- a/main/open-vm-tools/APKBUILD
+++ b/main/open-vm-tools/APKBUILD
@@ -70,7 +70,10 @@ build() {
export CUSTOM_PROCPS_NAME="procps"
export CFLAGS="$CLFAGS -Wno-unused-but-set-variable"
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--disable-unity \
--with-dnet \
diff --git a/main/openbox/APKBUILD b/main/openbox/APKBUILD
index 1d65c2a543..fd1114a36a 100644
--- a/main/openbox/APKBUILD
+++ b/main/openbox/APKBUILD
@@ -28,7 +28,10 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--disable-static \
|| return 1
diff --git a/main/openjdk6/APKBUILD b/main/openjdk6/APKBUILD
index 934714211a..694fdb359b 100644
--- a/main/openjdk6/APKBUILD
+++ b/main/openjdk6/APKBUILD
@@ -121,7 +121,10 @@ build() {
cd "$_builddir"
sh autogen.sh
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
@@ -138,7 +141,7 @@ build() {
--with-ant-home=$srcdir/apache-ant-$ANT_VER \
--with-rhino=$srcdir/rhino$RHINO_VER/js.jar \
--with-pkgversion="Alpine ${pkgver}-r${pkgrel}" \
- || return 1
+ || return 1
make || return 1
}
diff --git a/main/openldap/APKBUILD b/main/openldap/APKBUILD
index 519cbc2016..5649307108 100644
--- a/main/openldap/APKBUILD
+++ b/main/openldap/APKBUILD
@@ -39,7 +39,10 @@ prepare() {
build () {
cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--libexecdir=/usr/lib \
--sysconfdir=/etc \
--mandir=/usr/share/man \
diff --git a/main/openntpd/APKBUILD b/main/openntpd/APKBUILD
index af55367719..a16c323a4b 100644
--- a/main/openntpd/APKBUILD
+++ b/main/openntpd/APKBUILD
@@ -27,7 +27,10 @@ prepare() {
build() {
cd "$srcdir/$pkgname-$_myver"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--mandir=/usr/share/man \
--sysconfdir=/etc \
|| return 1
diff --git a/main/openobex/APKBUILD b/main/openobex/APKBUILD
index 30438bb88a..d784c4ccb5 100644
--- a/main/openobex/APKBUILD
+++ b/main/openobex/APKBUILD
@@ -15,7 +15,10 @@ source="http://downloads.sourceforge.net/project/openobex/openobex/$pkgver/openo
_builddir="$srcdir"/openobex-$pkgver-Source
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \