aboutsummaryrefslogtreecommitdiffstats
path: root/main
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 /main
parenta879839450737e3cbdb64415af42347c97ccfa28 (diff)
[all autotools packages]: normalize ./configure
Diffstat (limited to 'main')
-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 d5bb45a5826..72f35c7a472 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 69274feca4f..16b63aaddfd 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 5845ae2e2ca..e961420b04d 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 921cdca4143..d0a7142f9b6 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 bed3e6301c6..de8153af4a0 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 d5f94c37169..347b1494077 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 e379a371abd..fe373753747 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 7b967df1ac9..ab945f67f5d 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 e9e60510b63..ea0db530067 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 9e4dfd66aed..3ccc9f8e921 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 db5d211c85d..9b689ac9124 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 eb044367371..31a6d5a1ba8 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 313fe053dc7..f08d81db300 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 6c0546caf34..fe1bfb7e5a6 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 74765d5dec9..485930bb310 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 7ff9aeff502..466093ad9bd 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 6679be4dab2..94ce2ce64da 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 31657e05d6f..60f233058ef 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 be1621e2b34..7f79a21b390 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 bbb75cf77f7..7397ce1ace7 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 b994cdc79fb..69d3cadb229 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 217c70a6fe4..6ff338f1de2 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 1442926c1cb..0e5eb5ad2e0 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 e6b10ac4403..0cab852435c 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 510bb9be95e..005aa371af0 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 da8a981d208..d2d64639c04 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 a21e209ffa1..c17cdd4f870 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 6f7ba5c0eaa..7ada8567116 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 e2fbe3b8d51..8333048c5d1 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 3536fbae888..ff7366c1fce 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 6a2f304cfa4..aef2bae5e9e 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 e93797575a1..b29fadad069 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 0265210f70b..f21a0dd0c48 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 ce12dadc6d0..96f2e24e416 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 05b9a540981..bad49f3f6df 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 47c5c0218e1..f4db7bb02f7 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 1c2051c51f7..e7b94c7c409 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 2875aaf6784..e3ea93c136d 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 4b8956089d8..0b69988b60a 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 faa3e8f3764..433e0dd6bf4 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 525c55941c0..c0f7b3ff7dd 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 9625523f6d1..91fe8f95d99 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 64445e269b6..136f201aed0 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 89922c4102e..344cc0a4902 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 64937e21c14..da1424e9e7f 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 58add51e8ea..f4af2b90e8d 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 a2aa83b4823..acc1ad43459 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 6167d8c165c..1aeb4f08761 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 41ac30f2737..8cc9e96d6e6 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 ff4ce3930e4..8feeb01b08b 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 70257c37551..c2430d0b37c 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 dea82e7586e..316b562f593 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 fde69fbdf2d..e2209ae449d 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 de02f9797e4..df74070e26b 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 e4fcafbec1f..dd51782337a 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 69c2c605653..4e9e7b105fe 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 13e03878fa2..7933d58d166 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 2193b2d5f60..107445de026 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 3fd3bc2831a..89cf14b2f60 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 a5bac7a8799..2be0e0d464e 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 4260569b175..182ee80cfb6 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 fc065c1772e..10c37fc73a0 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 34adeb874d1..bf4ffd770b6 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 86e05c8f0dc..48a1955a9e2 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 661e7a2fab0..0f24fa91ec8 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 4845ee7ae55..6b519be8a35 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 e7b8c848316..f3c04742e25 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 0dd4520282f..1e3e27d76ef 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 29cb87b75b0..0b4dd29d295 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 8f2ed90418a..79e98755df2 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 cdf651fa992..b02f8b9e192 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 10d11ecd66f..cb029bd8495 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 965129ad55a..1bb0fe59ce5 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 41637dd7251..6ba16771dbe 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 22ad47ac312..cc9be30a840 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 93a78879893..d94d85bba52 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 e6340fb1f7c..8f1204c82eb 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 51a6cafced1..5231d31ee13 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 c815c7aba35..f25ae900c6a 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 9861c583b27..f719fd9a706 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 c573aef53c8..c94de67278c 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 632ee1adced..91b4cfaf8fe 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 3d33e22c81a..0cf146528f1 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 f41a27e22cc..5dbcc347e7f 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 803914dd2c9..cd3961e59b6 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 1a787df1b67..e8b05ce0584 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 1c4fe7bc1b5..983667ee8a3 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 49cd2225c94..efb396a9a23 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 11a6c3a35f4..bfc9df85a67 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 9f67ee05b78..5ec9072e4ea 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 2b56d520a35..d8cf8625b57 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 75021efe80f..11e4a1656ab 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 03c7b8f55c9..773cf46fd0d 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 1ef87b3f797..fdef95e0bae 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 0c44555ddb1..edc6bc2abdf 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 6a743ef3e91..0a40fbdadc2 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 6de06f052c2..de981dbcfaa 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 303c7359bb6..5ade2931fbb 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 1cea48cfaad..5edd7f17a76 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 2da5fde9e97..d1c333e8540 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 9942f6f872b..cdfdd71a1ed 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 253ce4cfa29..6562bf2b26d 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 d29c495b8b9..14d7b0717eb 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 218b1295103..b095bc53117 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 15056385fa1..0c0beb322a4 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 79864853a25..cc3c9e0c771 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 dd1ff56952f..d2017c12f0d 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 e986414de00..ff0bfee4c21 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 4e3200d576f..e27d5658551 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 2f72f36a8e0..218fed5e935 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 1bdbecf45e1..f308892ea48 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 0ba9a0966d7..46d9249e8d7 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 4375832ea5e..08f4a0fe54f 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 e4dbccd8166..441e39af2bc 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 556bbbf4b86..3c19ee557fd 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 feb0c5ddc95..b70e46ac7da 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 1894f9ee92a..003e0aa3d35 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 46cc03515dc..8ca74ae1647 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 53294c37879..7e9157bf7b1 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 54caa74d8c7..d3c3d824e33 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 a30231dbbd4..769e30a10ea 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 8ffbed9a98d..25cb513260b 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 fa6060c48e8..b6eada515c4 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 4d7711f3ed5..179e15c8bc5 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 470d813cd95..ddb3fbd85b8 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 b212a62c3b5..801985511dd 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 9681093f130..e3979d4d2a5 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 8e3e1095e22..166fe99d7c4 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 0ada5a43003..9788bead6c1 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 06b883e8956..3ad7a361fa4 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 c4ff565b631..772197895bd 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 f845f6a0ea9..cb1da61d557 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 81709fb239d..878f11cb985 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 d31a5291fa3..2f231f67ece 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 259758f7f09..43b413618c2 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 4904b8045e8..8086a562801 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 50179e6003a..daf4313f6cd 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 e9b8ead2194..13f2f44c7c9 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 d4332416f05..f23e315b9e1 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 4e0a864e359..625cba65d22 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 d33097469ee..de6769d156d 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 8d4959daf0c..78168f53e28 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 2bd26f6247e..d4d1ef208cc 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 6989cfd17e6..ca2be9549b6 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 e74e2def179..8e73e5c42f0 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 9b22db009d5..95c7aa13388 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 72a76f53544..2e2f13ac319 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 232830b013b..63b73cf2529 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 9b6327c0db0..dcd9d12add8 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 3fce77d33c9..7430f5949e1 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 045a917912e..bb77dbe5310 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 90a6c25d000..48f6fd348f9 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 2db32801e5b..65ccb384926 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 add0acc18b8..7ebcf4dc126 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 909f184b48d..669a70d8e54 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 dad4703025c..8efee0d4233 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 4b6b3980161..cfb64f5f014 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 2057abcff17..eac386a55a1 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 081e5ba5eca..1b9fca51aaa 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 3ca2381ab71..b35c71ebe95 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 f2429974fe8..5a86692f678 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 ed40e552ba0..7095c61027f 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 83fc28f0e92..55a9ee165d5 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 a68d08d6250..4c518f1b615 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 0133f31d259..8a7be53e36c 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 62a4f66b3af..314afca701e 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 ddae97e87b6..b365f8369f6 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 6fde0c80e74..70b170172c8 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 bf3a046ebb6..fa29ff85558 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 a5e718744ab..507feab3c75 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 8adf9ea7e3e..a0be678a4d3 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 2182946be00..6046a2038ed 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 1780bdde7b7..557a074eeca 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 4f54e8b73a1..27255d96bd3 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 31a610489e8..8380951b2ff 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 0a344b2454e..801a07d9d8d 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 8d99f6f066a..fdbd5258cb2 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 3d56bfba757..1849d1322c9 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 b278e736952..366e1adc1e7 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 b6da30844c0..874904cb38e 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 7367ae5deef..f7b6a8ac53c 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 a2d6a83aec9..45801df0bbc 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 7f69e82d863..f5a403bbeea 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 8b11cf4b8f0..05e76360ac0 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 6c0102a3614..8cd7789551f 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 b4e86369b00..3f19cc334c2 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 14f321e4c44..d9a9e521fbb 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 67705d3bff8..6a18163e87d 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 9f5c643cb05..b016055a87d 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 708ecbad7f2..df52f0ad6cb 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 dc13429422a..b2919aeb520 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 16d914132da..94be113358a 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 4fe93fadbee..2a4440d0b29 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 b1e0897399a..cbb2d42d447 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 ecc9a9fb424..2390d8f2b7f 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 1ea7040bf88..fde07dbcb21 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 1ac36be4581..b39056dfaaf 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 139aaf02c1b..4e88be2960e 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 79da613cfbe..824c4e1cbcf 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 28756130019..fa624a6636b 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 01ff2e25aad..049775d4edb 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 188c0c67c07..9f7d775ff5f 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 3b68a044761..a7ab3467a39 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 a1afcc46ce1..d980ccd541e 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 c1206f25b1a..dd545dad476 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 05ca5541f53..3b2ec1b8cb2 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 6ea09df1a88..772cf9abaf1 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 122c9e42495..c24b5950c97 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 717cc9cec56..b42cb3f745f 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 712be26613d..b13fe04779d 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 2b0cb10f4be..10e23f8a5ff 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 8615e8ed28a..7c250586c55 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 e8db5195231..dbf66302358 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 c20157e75cc..77b8fe0b72c 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 63d7a116463..6a5632eadd0 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 b9b4439be0e..b4c45b7cb33 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 dd515f5ec76..d6b820cd470 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 f00640764c5..72e82c6a472 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 fb03c64c4a6..415b5f911de 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 77a96eb30bd..5652bf31d5e 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 4118919b410..8a699339dee 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 5f4d40521bf..56987a3d38b 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 dfa61e095f5..afa3b555b27 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 d5f72ef0c90..2c18cae4f9e 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 4a5c0de14dc..4c9ff82f6a8 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 69806d87b4d..e01a1387586 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 f14b62abf05..cb1196d8a91 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 81a5fc73a75..32f5c72161b 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 0bed2a64f9c..7de77d1bd98 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 c4b6c9d15e1..ec6198ef662 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 bb25db79ad9..c436803b1c2 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 e70b90ba6c3..1d748621afa 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 ab9bc5750be..1a547ebca0e 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 129b5df6dc1..fbe1f164de6 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 3fe0ac686f0..e09c93717a5 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 a6f91e3e5cd..d6b9af13a1c 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 48b117ee598..4f88ce8d944 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 af59ad9e471..599de2af012 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 f57a04f6573..cf624951db5 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 9b4460809e0..befad8edbaf 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 cd4ffce498f..9d02ec55471 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 804d0089315..237a8dc53f6 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 182e9765aef..4666c4eb054 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 c7c1417cad7..7977e90d4b7 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 5dff957bb57..c76d4644085 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 95c1e1e0907..4d6ed675343 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 99d0625c383..c18984186d2 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 72a009efe35..a1f7e5f1a25 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 574df5ef131..74c604f1b5e 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 13076e97800..6827135105e 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 9cbd4698f7b..5988e4c00d6 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 6e3ce26bded..e2ea9679427 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 08e7463ee1c..16550a3adf6 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 d7e1acabb40..91da558467b 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 bb453be6fe4..8710854ac4e 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 9d827f6ac5d..58863deb36d 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 1374b210863..ad83de9e003 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 9ff4320913d..979e31ea962 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 b9a963e5ea4..da9ce458977 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 70d2e4ca12d..0854692d1a9 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 bb1a7ed2a08..bc98ebeaaa7 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 119cf470598..1a0dc46de39 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 445dd673164..0fef88634b5 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 e7e8bf6d94d..1dbe3465704 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 69e8a03aa89..7d7e462a1e4 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 961a1086b31..6d1806c7783 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 54829f2cdd5..cde30efe601 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 e6f9ca91b96..e98d15415dc 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 6cad51f78ed..37c4ce18ce2 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 3e5f3419a51..bd7d29d1da2 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 fdb6d26bf4d..7831471fe64 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 d7b2c639752..ad26d8cd197 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 d5cf0096aa5..531d158e914 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 0be3037679f..3303e7bd694 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 aca8b4803d5..3b7d7a6d0d1 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 e06a6ef58a4..9ab6ca9ab4f 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 aee3d17fec0..479e571d523 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 fb66fe98a84..23a65991716 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 685fe007d2a..8eb1fb38312 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 458fc741184..ce7bb29822b 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 2a758e9aa27..e7a103cd9c3 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 2b2d3e09c52..5aec95753ec 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 4b1de23e7b7..0891ea957d8 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 66cae732675..353c27a8317 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 a119a4810ca..53b9d86cdc4 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 04a39c4438f..f97ca6d810b 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 6430d0a0684..962dd01eed6 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 1d7d1f46f2b..ce158ab2f9e 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 59df186f63b..d7a51498694 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 acfe2689ff1..97fa9ac57cd 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 0c84becd13f..43013e21740 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 a0828f58871..1c70f5b7e7d 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 643ecd8665a..50baa5cbf11 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 e3c1e32807d..0304bda5238 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 9004db92925..9fa4fc0abfe 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 adee233d10a..b6d97477330 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 c4f57d332ea..c2422dc465a 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 09d46d392e6..5a9da5c9d70 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 3b5df6f94f7..9112599b6f4 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 e942c30ae88..e7078e43ef5 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 f3fb25372a4..7166bb65cb4 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 d771bd5c115..33a7f08e952 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 fec3177a31a..b1b062c06d6 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 1a6244bb6a5..358ca8735ff 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 ad7e36d2330..26c3ee6c1e3 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 54e6993b34b..7490e314fdf 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 767ee417890..d5a71f30970 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 c3d7144baa2..d752d0be8a7 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 ac4a843b5f9..c7c89133fc3 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 a8409b8b461..f629a1e46c6 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 bdb25ceb825..caa449df860 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 418027766fd..35c01c96e1f 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 5a6824d8566..02c8f3fcf39 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 42712528df0..77fad92b3b5 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 83282982c73..4046c5e4b15 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 74cfaebd961..0a45aa915aa 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 c55416924e7..b7ba1e1822c 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 a8ebea59179..240a3e8f43b 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 c0161cdc9c5..26a8b0fd866 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 c0a8b9a5b08..792cb2f7eb6 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 0649ef3964b..a5b79855ec5 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 15b0fe828cc..0af33ef14a8 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 260684cae7d..65c247549de 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 3944f125772..b4e9d975567 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 94775c1e5f3..356919f386e 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 8cbcad1b3aa..50ba6a5ab67 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 248abcb0b39..ede37bdf001 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 f0bf0056e68..ade1959dfdd 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 300c6627994..661e2e98b9b 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 2af4fcab0ec..7411c7732ca 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 02916d3c6a5..600f6cade86 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 7fb417a740f..58aac827263 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 a1dd40456b4..a18f48408a6 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 2e373824942..3527070319d 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 461aa5c9da0..45dbc9eec32 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 8a3de49fca8..9e4d9aae8ed 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 4aa28ad201e..1d9d0ef2cef 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 abee4ef9d3f..d57d1104061 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 4321f6d814e..6b8c48d6ee3 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 d3e8a9cb3d6..8811086f372 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 f246759549c..57a5d5847c6 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 86bbd721ee7..f14ad8668bb 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 6ee1013bd9b..51e07aa8803 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 fb986990f1f..ec55fff2520 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 892b2b8ec95..66c64b4d75f 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 c5a5c89ebaf..8bc206fdea3 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 12fc7d875ba..77dd40a3198 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 59b4bf87d9e..35aa5c1e4f0 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 6d5baee5b86..c12289b1274 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 8c4188f0232..94ea8106799 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 65e52722c48..877c1ccfbde 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 58a63654d5e..0e285324561 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 72ec8549937..061e981050c 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 45de772a21a..f9a9a264622 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 c2d09b112ba..583a251a6a2 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 75041a6339a..b3898172322 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 8953f964d82..b7e140363cb 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 de23dfddbae..c676c96dfb9 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 5ee866fb9be..22a71502ca8 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 5e47953411a..cfffd994b21 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 5305967e1b7..20ee616df50 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 0f767301114..436c460a029 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 3edf6bf9279..34f5f2543d5 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 e85724155ea..87d89fb8f83 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 edb57b1de17..366f3f08287 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 e73dcfc6b18..4a30fbe7f22 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 ed8423ac799..f392c3aa6dd 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 180e8cbfed4..8472993e9b9 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 e1150894c7a..65bf5991297 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 a8f0866b05a..1499eb93d4d 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 e42741117ee..bb7da613973 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 2bbeccc57d8..26705f7225e 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 8f6fd85ed82..6421b4ff9a4 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 482702da7ad..4a03352067f 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 d82446378db..16cb1323d05 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 72619db032d..0e31e754722 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 9068783f2e6..d8ff6106a89 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 d86ce9bf052..615f12e46d7 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 539d3ac39a5..a183994ccee 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 0972f238808..3cb1c3d0232 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 bac12d55aca..a6adb55fd4d 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 f80a4a25224..488a7a06d28 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 6bd8c61d6f8..b5b11be992e 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 88aa6cc7b0e..ce89f018620 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 4d46ae3be50..dd5b90ee4a7 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 deb48b6e3ad..75a173d7d71 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 eaa87f2a4b0..bbe543c846f 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 410baf91cba..39e2e622c9a 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 45de60b5301..90eeac8ad16 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 82ad01352c0..6ca2d542fd4 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 b5b2509a674..eb58b5d001c 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 fde5177cfe7..055df1d48aa 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 0bc2576a9b6..7b7855b0690 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 ea160c1e23e..f031f8cb379 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 b26b623ecac..7380981b986 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 9291c6b2063..7ea08ee543a 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 93cf33d1a35..6b4c625b761 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 879c91169d3..e142b8396a7 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 241ff5bdda3..84d5ff86d66 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 241dcd63e5f..d992c76940b 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 e0031e000c7..96cb4b8e837 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 f730b60c1fa..17a55d58a18 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 ecf98536f08..55d738c7ce5 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 515f0efb08b..ada696e2e7a 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 8407830958c..4c4045f6a7d 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 1606a922039..18fec5c2495 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 8cb026f8d03..f0ad59d8c1a 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 d5c099736ac..1673d973346 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 aeb880b6495..fc10ce7239c 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 f837561e7cc..44e58b3b333 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 ae50e898b28..997e53c079b 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 1fa9e5244fb..c2a37cb3049 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 7ad9ffd252c..f900cc9000b 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 9bf4fbb1fc9..50023319def 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 6f4214e72d6..e5ed3e26ef8 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 aaee71faecf..2526477bf43 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 c14ecd627c0..714c105e125 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 931ad283c69..fd93b3fcb26 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 7f3d5f787c6..6718faa7a82 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 31d3653d253..7ba3c398fb2 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 6133c00ed9f..6b339ca4161 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 09e1be546f9..f257c8e804e 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 16d5d1b78ba..a52bb159182 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 8791a5d7fa2..360430ef17e 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 2edbed51639..4920b747466 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 4111ff74202..943815c0590 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 374e5f08a2f..aab61c37a0a 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 bb184d1a17b..c217d56278f 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 988f4271962..0c46982ea36 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 068c6f46276..309be9782f5 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 b2c144df0e9..40f098d776d 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 780cf6b5ef6..8e6b992b491 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 3d2716ec102..41571e28461 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 2fb11293514..80b25e58031 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 f10f18e0976..23199666245 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 3b67503734b..f5d4a723f9d 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 e43af2e6024..87aae32d30d 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 fabb1c7d499..295eaef34c3 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 83bba7515a0..afa4e5d89eb 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 376e79e4657..c7b894798b3 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 aee2921c4ee..50c4533dfbf 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 7c63f0cdf92..f90e923e991 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 5c427c9a0e3..8345639dd35 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 7d4b119ebee..98a42515455 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 7a4983b6d0c..3931f27c176 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 f75fcc43dcb..52375bd9003 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 480dab8a810..1ed782826c4 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 3e6054ade29..9905aaea535 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 2d6c0c26d81..7875ed96a02 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 186d87e744a..b5378df39ab 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 49089fdcf3a..04c84c2b8ce 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 f4c4ac2db8e..f9489a6b875 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 e801dfe6f09..fcc742b3b20 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 d2d9e6fdb0c..6182643aa3d 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 a28283c1201..1ea58325ae5 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 1150e948c7b..72926f5400a 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 664fc0d88b0..03c44342ab8 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 7bddda58e52..51364d250b8 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 4853e9f2910..91c0ccf0c2c 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 45f74f46fb6..85e18510790 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 6e499884c3c..51cec202309 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 9f9347e0003..30a2d9159cd 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 221d60cc643..4d89b9239f2 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 1b45a8e975d..8c8e36648e9 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 be81aacf805..0c8289049d1 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 f6ee20aa11c..57b21a8eaf1 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 e43118c576e..b6922c336b5 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 25c1b0ee876..3e42bf70076 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 ecf28f7eaad..c8d3e9bfbea 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 c355f41408e..a036d55583c 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 b30998cb10a..e3423d53b67 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 e320b572c48..17e036e91e4 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 d39a110d011..3eacdcde44b 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 816a1eae464..e7e44d9a825 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 13488e4f0cb..16ce377b495 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 19a22714d26..673d5d01650 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 a679a1cfadc..0d522b90c19 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 41ae24e8fff..5bfa649f656 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 e45b92bc77c..ca69b55a734 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 43eaa6d3bd2..72bdfa69561 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 a11d6411823..a4632b2f44f 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 029d7d33de4..98f736a962d 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 758156d613f..d91cfe41dc5 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 2f23d1f53bf..d7d0dad9636 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 13dd5142bc1..121e4ca248c 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 e93a3cb1272..f0f304f90d3 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 2a1411e6f0e..f545c71e2c0 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 e55d7474d03..12d220a122f 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 4952b3c9750..39d03684940 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 4de038b5eea..72feccc2be6 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 3356450de12..5c8d43b1f0c 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 9acb53e1aaa..02b35cbc3a2 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 51c5c223478..70e1bc7d9bd 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 64dc5dfd85d..c0a371e0f90 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 30c9e9e6384..834fec326a9 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 966482aaa52..aa0d91c4039 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 37727e4241a..8224b0a28a1 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 98556a7e8dd..74a4ff470cb 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 de99445b439..27c0d2962a4 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 db9e905bee3..9b0699a3b72 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 7b8fc4d9951..b42b6d0d681 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 88ed3e1b052..7c0d6c6719b 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 1657306f5b7..23a845bb371 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 b7e58c819ce..1b891c4b49b 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 c1d14bcc6e1..c394aa1d706 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 52038101eaf..0ddd9126a90 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 63f515209fb..65934815a63 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 62aabfb1a67..b63883dd0e0 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 90c3921f33d..bd4e308a479 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 55d39a5313d..dedff9861f7 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 ca175426ccb..995b6d27693 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 6979041cfbb..166d19d318d 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 89decdb0e15..c0e67347c69 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 4b322417617..6313cfd50a2 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 ae7e4bc632c..83776140e0f 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 485d33e9830..294e4aa564d 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 2d5465f243f..39c95ef994c 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 d7e790cef12..fdd72b64990 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 fd53a15f50c..351c5ace4c4 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 b9cffba90c3..a2d77a03eb0 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 d5075dce192..771398a4818 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 4121c44b2f5..5500426a178 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 3d183832386..c4f9442846c 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 c7a6acf771b..e917d6cae8a 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 ae409ebc4a1..90c31e2c2bf 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 84d96a634e6..4ae7c83c98f 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 0a4e6a80d7c..b3591f0d26d 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 2abb57fed03..c1cdafcf551 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 cf9d1c32280..1b7fd68fffb 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 613958d2a5c..2f006b1db62 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 30da3627f41..ff61909ae13 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 5e1a2dcf198..ff07b6e49f9 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 8f45ff7cc3d..7aea30dcd99 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 464301d61c5..4ea190070ef 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 37501780516..1529d841ada 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 474b6a97f94..d9323479d2a 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 0ed6c45ec15..06b2446a17b 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 79b04d12339..9a0e77c0078 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 b1164032503..c244e671bb6 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 65a8bc0cf0e..2fbcd1d4044 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 7dc2d061263..d5aa96dd35d 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 aaaa9c2d332..973c32efafd 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 98604c036d8..66ed5b49a68 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 e7a27327ead..ec6b099e19d 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 1b1274a4385..91785f275d1 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 4610091decc..0c8fd572358 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 501728da552..33d2564f25a 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 1dd8bcdb74b..5385d5a5b4f 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 b7bf1b684ae..7198b896402 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 4f4af2e5eec..66edf7b22e8 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 38f6bf255bb..0ae07a5ab39 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 4a65633b7a2..cfb8866c804 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 da7382be4e2..92228c79a95 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 afb9b97d5bd..92b36214541 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 1947d4a828b..108512e5f27 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 e0340317956..6b3d41543c2 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 8b841714eb1..234a503e3f8 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 958e0ac12cb..c522e773a5d 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 9dff611a475..3647bb5fe64 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 124144ab855..06a4debc7b8 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 414ca56a986..69240b980bb 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 18ed2b2e387..aaddd9b379e 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 f1e8aa306ad..e590b5da1c4 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 a4ac89c9e6f..857bef20d02 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 926590715f0..a5eeef8b8b1 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 24f7a0453fd..33639b9edc3 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 ef871587c4a..3d59f0bdc73 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 cf16d4f4c7a..c9d40bbb260 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 49702d0e43e..986134b8c89 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 e7bbe4b4b16..c5e2b4365bb 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 0573b468da1..d9a6742f5a2 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 24b70697d3c..bdee1b75b58 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 6069575a49f..553fb772a2f 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 d98dc187c3c..ac0d4ab0714 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 48b38a9bf04..ecbbfd4275e 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 ceeff71418b..0c140906335 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 35a1e8c913d..d16ef30a115 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 47c61aa164c..9dd066208be 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 a6cb2fdb643..32c6f1c3ef5 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 443b186413f..bf60c1ea69e 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 e2c4d906931..16f82ed02fd 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 789096ff795..d9200704312 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 47778999864..3a1258754fd 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 668b38e5f81..45aea5661c1 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 a43fbb27f64..180fa51d40c 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 11b436d5d9e..7e3f45a58ba 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 4ee01cbc3c4..76ebbb0b023 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 61c5f5beb33..be94cd7b28c 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 d7507fea059..c04f3c7218b 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 dec0abd064b..5fb9a720f3e 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
ma