summaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
Diffstat (limited to 'main')
-rw-r--r--main/apcupsd/APKBUILD2
-rw-r--r--main/arpwatch/APKBUILD2
-rw-r--r--main/atk/APKBUILD11
-rw-r--r--main/beecrypt/APKBUILD2
-rw-r--r--main/cairo/APKBUILD6
-rw-r--r--main/clamav/APKBUILD5
-rw-r--r--main/compositeproto/APKBUILD9
-rw-r--r--main/consolekit/APKBUILD1
-rw-r--r--main/damageproto/APKBUILD9
-rw-r--r--main/db/APKBUILD8
-rw-r--r--main/dbus-glib/APKBUILD9
-rw-r--r--main/eggdbus/APKBUILD2
-rw-r--r--main/fixesproto/APKBUILD9
-rw-r--r--main/gconf/APKBUILD1
-rw-r--r--main/gettext/APKBUILD9
-rw-r--r--main/glib/APKBUILD1
-rw-r--r--main/gnome-doc-utils/APKBUILD2
-rw-r--r--main/gnome-mime-data/APKBUILD1
-rw-r--r--main/groff/APKBUILD4
-rw-r--r--main/gstreamer/APKBUILD2
-rw-r--r--main/gtk-doc/APKBUILD9
-rw-r--r--main/harfbuzz/APKBUILD1
-rw-r--r--main/hypermail/APKBUILD2
-rw-r--r--main/iftop/APKBUILD2
-rw-r--r--main/inputproto/APKBUILD9
-rw-r--r--main/iptables/APKBUILD1
-rw-r--r--main/jasper/APKBUILD2
-rw-r--r--main/kbproto/APKBUILD9
-rw-r--r--main/lcms/APKBUILD2
-rw-r--r--main/libconfig/APKBUILD2
-rw-r--r--main/libcue/APKBUILD2
-rw-r--r--main/libev/APKBUILD1
-rw-r--r--main/libice/APKBUILD13
-rw-r--r--main/libidl/APKBUILD1
-rw-r--r--main/libjpeg-turbo/APKBUILD1
-rw-r--r--main/libmcrypt/APKBUILD2
-rw-r--r--main/libnl3/APKBUILD1
-rw-r--r--main/libogg/APKBUILD9
-rw-r--r--main/liboil/APKBUILD12
-rw-r--r--main/libpaper/APKBUILD9
-rw-r--r--main/libpri/APKBUILD6
-rw-r--r--main/libpthread-stubs/APKBUILD9
-rw-r--r--main/libtasn1/APKBUILD6
-rw-r--r--main/libvorbis/APKBUILD12
-rw-r--r--main/libxcomposite/APKBUILD8
-rw-r--r--main/libxdamage/APKBUILD11
-rw-r--r--main/libxdmcp/APKBUILD9
-rw-r--r--main/libxft/APKBUILD9
-rw-r--r--main/libxkbui/APKBUILD2
-rw-r--r--main/libxslt/APKBUILD1
-rw-r--r--main/lzo/APKBUILD10
-rw-r--r--main/mtools/APKBUILD10
-rw-r--r--main/nettle/APKBUILD1
-rw-r--r--main/openntpd/APKBUILD2
-rw-r--r--main/openvpn-auth-ldap/APKBUILD2
-rw-r--r--main/orbit2/APKBUILD1
-rw-r--r--main/pixman/APKBUILD9
-rw-r--r--main/polkit/APKBUILD1
-rw-r--r--main/poppler/APKBUILD9
-rw-r--r--main/psqlodbc/APKBUILD2
-rw-r--r--main/randrproto/APKBUILD11
-rw-r--r--main/rarian/APKBUILD12
-rw-r--r--main/rdesktop/APKBUILD2
-rw-r--r--main/renderproto/APKBUILD15
-rw-r--r--main/slang/APKBUILD1
-rw-r--r--main/spandsp/APKBUILD5
-rw-r--r--main/speex/APKBUILD1
-rw-r--r--main/squid/APKBUILD2
-rw-r--r--main/strace/APKBUILD6
-rw-r--r--main/strace/strace-musl.patch2
-rw-r--r--main/sysfsutils/APKBUILD2
-rw-r--r--main/tiff/APKBUILD2
-rw-r--r--main/umix/APKBUILD2
-rw-r--r--main/unixodbc/APKBUILD5
-rw-r--r--main/userspace-rcu/APKBUILD1
-rw-r--r--main/wget/APKBUILD9
-rw-r--r--main/xbitmaps/APKBUILD9
-rw-r--r--main/xcb-util/APKBUILD9
-rw-r--r--main/xextproto/APKBUILD9
-rw-r--r--main/xproto/APKBUILD5
-rw-r--r--main/xset/APKBUILD9
-rw-r--r--main/xsetroot/APKBUILD9
-rw-r--r--main/xtrans/APKBUILD9
-rw-r--r--main/yaml/APKBUILD1
-rw-r--r--main/yasm/APKBUILD2
85 files changed, 371 insertions, 74 deletions
diff --git a/main/apcupsd/APKBUILD b/main/apcupsd/APKBUILD
index 7eb511ca7..ee4e18589 100644
--- a/main/apcupsd/APKBUILD
+++ b/main/apcupsd/APKBUILD
@@ -17,7 +17,7 @@ source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz
_builddir="$srcdir/$pkgname-$pkgver"
prepare() {
cd "$_builddir"
- update_config_sub
+ update_config_sub || return 1
}
build() {
diff --git a/main/arpwatch/APKBUILD b/main/arpwatch/APKBUILD
index f036a1b96..212ec82f1 100644
--- a/main/arpwatch/APKBUILD
+++ b/main/arpwatch/APKBUILD
@@ -48,7 +48,7 @@ prepare() {
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
- update_config_sub
+ update_config_sub || return 1
}
build() {
diff --git a/main/atk/APKBUILD b/main/atk/APKBUILD
index 909d97951..dcb44184d 100644
--- a/main/atk/APKBUILD
+++ b/main/atk/APKBUILD
@@ -8,12 +8,19 @@ arch="all"
license="LGPL"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
depends=
+depends_dev="glib-dev"
makedepends="glib-dev gobject-introspection-dev"
source="http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz"
-depends_dev="glib-dev"
+_builddir="$srcdir/$pkgname-$pkgver"
+
+prepare() {
+ cd "$_builddir"
+ update_config_sub || return 1
+}
+
build() {
- cd "$srcdir"/$pkgname-$pkgver
+ cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
diff --git a/main/beecrypt/APKBUILD b/main/beecrypt/APKBUILD
index 8881612ce..3cab1ebc4 100644
--- a/main/beecrypt/APKBUILD
+++ b/main/beecrypt/APKBUILD
@@ -21,7 +21,7 @@ prepare() {
msg "Applying $i..."
patch -p1 < $i || return 1
done
- update_config_sub
+ update_config_sub || return 1
}
build() {
diff --git a/main/cairo/APKBUILD b/main/cairo/APKBUILD
index e80bfa43d..9f424f897 100644
--- a/main/cairo/APKBUILD
+++ b/main/cairo/APKBUILD
@@ -14,6 +14,12 @@ subpackages="$pkgname-dev $pkgname-doc $pkgname-gobject $pkgname-tools"
source="http://cairographics.org/releases/$pkgname-$pkgver.tar.xz"
_builddir="$srcdir"/$pkgname-$pkgver
+
+prepare() {
+ cd "$_builddir"
+ update_config_sub || return 1
+}
+
build() {
cd "$_builddir"
./configure \
diff --git a/main/clamav/APKBUILD b/main/clamav/APKBUILD
index 529a9b73a..5b59a2a71 100644
--- a/main/clamav/APKBUILD
+++ b/main/clamav/APKBUILD
@@ -26,6 +26,11 @@ source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz
_builddir="$srcdir/$pkgname-$pkgver"
+prepare() {
+ cd "$_builddir"
+ update_config_sub || return 1
+}
+
build() {
cd "$_builddir"
./configure \
diff --git a/main/compositeproto/APKBUILD b/main/compositeproto/APKBUILD
index 5231d31ee..4dcd16e54 100644
--- a/main/compositeproto/APKBUILD
+++ b/main/compositeproto/APKBUILD
@@ -10,8 +10,15 @@ depends="fixesproto"
makedepends=""
source="http://xorg.freedesktop.org/releases/individual/proto/$pkgname-$pkgver.tar.bz2"
+_builddir="$srcdir/$pkgname-$pkgver"
+
+prepare() {
+ cd "$_builddir"
+ update_config_sub || return 1
+}
+
build() {
- cd "$srcdir"/$pkgname-$pkgver
+ cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
diff --git a/main/consolekit/APKBUILD b/main/consolekit/APKBUILD
index 91b4cfaf8..7ba38e87a 100644
--- a/main/consolekit/APKBUILD
+++ b/main/consolekit/APKBUILD
@@ -20,6 +20,7 @@ _builddir="$srcdir"/ConsoleKit-$pkgver
prepare() {
cd "$_builddir"
+ update_config_sub || return 1
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
diff --git a/main/damageproto/APKBUILD b/main/damageproto/APKBUILD
index 0a40fbdad..d11084424 100644
--- a/main/damageproto/APKBUILD
+++ b/main/damageproto/APKBUILD
@@ -10,8 +10,15 @@ depends=""
makedepends=""
source="http://xorg.freedesktop.org/releases/individual/proto/$pkgname-$pkgver.tar.bz2"
+_builddir="$srcdir/$pkgname-$pkgver"
+
+prepare() {
+ cd "$_builddir"
+ update_config_sub || return 1
+}
+
build() {
- cd "$srcdir"/$pkgname-$pkgver
+ cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
diff --git a/main/db/APKBUILD b/main/db/APKBUILD
index d1c333e85..725aff033 100644
--- a/main/db/APKBUILD
+++ b/main/db/APKBUILD
@@ -15,8 +15,14 @@ subpackages="$pkgname-dev $pkgname-doc $pkgname-utils $pkgname-c++:cxx"
source="http://download.oracle.com/berkeley-db/db-$pkgver.tar.gz
"
+_builddir="$srcdir/db-$_ver"
+prepare() {
+ cd "$_builddir"
+ update_config_sub || return 1
+}
+
build () {
- cd "$srcdir"/db-$_ver
+ cd "$_builddir"
for i in ../patch.*; do
[ -r "$i" ] || continue
msg "Applying $i..."
diff --git a/main/dbus-glib/APKBUILD b/main/dbus-glib/APKBUILD
index cdfdd71a1..05fcc943c 100644
--- a/main/dbus-glib/APKBUILD
+++ b/main/dbus-glib/APKBUILD
@@ -12,8 +12,15 @@ makedepends="pkgconfig dbus-dev glib-dev libiconv-dev gettext-dev expat-dev"
source="http://dbus.freedesktop.org/releases/$pkgname/$pkgname-$pkgver.tar.gz"
depends_dev="glib-dev dbus-dev"
+_builddir="$srcdir/$pkgname-$pkgver"
+
+prepare() {
+ cd "$_builddir"
+ update_config_sub || return 1
+}
+
build() {
- cd "$srcdir"/$pkgname-$pkgver
+ cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
diff --git a/main/eggdbus/APKBUILD b/main/eggdbus/APKBUILD
index 25cb51326..6ffb866b0 100644
--- a/main/eggdbus/APKBUILD
+++ b/main/eggdbus/APKBUILD
@@ -17,7 +17,7 @@ _builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
- # apply patches here
+ update_config_sub || return 1
}
build() {
diff --git a/main/fixesproto/APKBUILD b/main/fixesproto/APKBUILD
index 65ccb3849..322d2bd86 100644
--- a/main/fixesproto/APKBUILD
+++ b/main/fixesproto/APKBUILD
@@ -10,8 +10,15 @@ depends="xextproto"
makedepends=""
source="http://xorg.freedesktop.org/releases/individual/proto/$pkgname-$pkgver.tar.bz2"
+_builddir="$srcdir/$pkgname-$pkgver"
+
+prepare() {
+ cd "$_builddir"
+ update_config_sub || return 1
+}
+
build() {
- cd "$srcdir"/$pkgname-$pkgver
+ cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
diff --git a/main/gconf/APKBUILD b/main/gconf/APKBUILD
index 77b8fe0b7..a1780a978 100644
--- a/main/gconf/APKBUILD
+++ b/main/gconf/APKBUILD
@@ -21,6 +21,7 @@ _builddir="${srcdir}/GConf-${pkgver}"
prepare() {
local i
cd "$_builddir"
+ update_config_sub || return 1
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
diff --git a/main/gettext/APKBUILD b/main/gettext/APKBUILD
index d1ae2925e..e0fb5df5f 100644
--- a/main/gettext/APKBUILD
+++ b/main/gettext/APKBUILD
@@ -32,9 +32,6 @@ prepare() {
build() {
cd "$_builddir"
- # http://bugs.gentoo.org/show_bug.cgi?id=81628
- export CPPFLAGS="$CPPFLAGS -I/usr/include/libxml2"
-
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -56,10 +53,16 @@ package() {
libintl() {
replaces="gettext"
mkdir -p "$subpkgdir"/usr/lib
+
+ rm -rf "$pkgdir"/usr/lib/charset.alias
+ rmdir -p "$pkgdir"/usr/lib 2>/dev/null
+
if [ "$ALPINE_LIBC" != "eglibc" ]; then
mv "$pkgdir"/usr/lib/libintl.so.* \
"$subpkgdir"/usr/lib || return 1
fi
+
+ return 0
}
md5sums="3fc808f7d25487fc72b5759df7419e02 gettext-0.18.3.1.tar.gz"
diff --git a/main/glib/APKBUILD b/main/glib/APKBUILD
index 2f8b9aa79..4ba608030 100644
--- a/main/glib/APKBUILD
+++ b/main/glib/APKBUILD
@@ -37,6 +37,7 @@ build() {
--prefix=/usr \
--mandir=/usr/share/man \
--disable-gtk-doc \
+ --disable-compile-warnings \
|| return 1
make || return 1
}
diff --git a/main/gnome-doc-utils/APKBUILD b/main/gnome-doc-utils/APKBUILD
index c18984186..5be9eb44c 100644
--- a/main/gnome-doc-utils/APKBUILD
+++ b/main/gnome-doc-utils/APKBUILD
@@ -13,8 +13,10 @@ subpackages="$pkgname-lang"
source="http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz"
_builddir="$srcdir"/$pkgname-$pkgver
+
prepare() {
cd "$_builddir"
+ update_config_sub || return 1
}
build() {
diff --git a/main/gnome-mime-data/APKBUILD b/main/gnome-mime-data/APKBUILD
index 5988e4c00..c8a2ed462 100644
--- a/main/gnome-mime-data/APKBUILD
+++ b/main/gnome-mime-data/APKBUILD
@@ -18,6 +18,7 @@ _builddir="${srcdir}/${pkgname}-${pkgver}"
prepare() {
local i
cd "$_builddir"
+ update_config_sub || return 1
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
diff --git a/main/groff/APKBUILD b/main/groff/APKBUILD
index 3b7d7a6d0..230676f03 100644
--- a/main/groff/APKBUILD
+++ b/main/groff/APKBUILD
@@ -25,7 +25,11 @@ build () {
package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
+ rm -rf "$pkgdir"/usr/lib/charset.alias
+ rmdir -p "$pkgdir"/usr/lib 2>/dev/null
+ return 0
}
+
md5sums="9f4cd592a5efc7e36481d8d8d8af6d16 groff-1.22.2.tar.gz"
sha256sums="380864dac4772e0c0d7b1282d25d0c5fd7f63baf45c87c4657afed22a13d2076 groff-1.22.2.tar.gz"
sha512sums="ea34db53f075b6816827b07ac3d6a19ed50529c939044337eb3124575ac3b41363e1d81bbd5bf552a7a10f6b1dd233d6e7acaf646e18cfe94464c59dc20ffe80 groff-1.22.2.tar.gz"
diff --git a/main/gstreamer/APKBUILD b/main/gstreamer/APKBUILD
index 63ccac79c..e87a85314 100644
--- a/main/gstreamer/APKBUILD
+++ b/main/gstreamer/APKBUILD
@@ -18,6 +18,8 @@ depends_dev="glib-dev libxml2-dev"
_builddir="$srcdir"/gstreamer-$pkgver
prepare() {
cd "$_builddir"
+ update_config_sub || return 1
+
# fix building with gnu make 3.82
find -name Makefile.in | xargs sed -i -e "s/^ /\t/" || return 1
diff --git a/main/gtk-doc/APKBUILD b/main/gtk-doc/APKBUILD
index 1c70f5b7e..34ede062c 100644
--- a/main/gtk-doc/APKBUILD
+++ b/main/gtk-doc/APKBUILD
@@ -10,8 +10,15 @@ depends="docbook-xsl gnome-doc-utils perl pkgconfig python"
makedepends="rarian-dev py-libxml2 gettext itstool"
source="http://ftp.gnome.org/pub/gnome/sources/$pkgname/$pkgver/$pkgname-$pkgver.tar.xz"
+_builddir="$srcdir/$pkgname-$pkgver"
+
+prepare() {
+ cd "$_builddir"
+ update_config_sub || return 1
+}
+
build() {
- cd "$srcdir"/$pkgname-$pkgver
+ cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
diff --git a/main/harfbuzz/APKBUILD b/main/harfbuzz/APKBUILD
index 358ca8735..6c1e3fef4 100644
--- a/main/harfbuzz/APKBUILD
+++ b/main/harfbuzz/APKBUILD
@@ -17,6 +17,7 @@ _builddir="$srcdir"/harfbuzz-$pkgver
prepare() {
local i
cd "$_builddir"
+ update_config_sub || return 1
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
diff --git a/main/hypermail/APKBUILD b/main/hypermail/APKBUILD
index 07a16cde2..60af1637e 100644
--- a/main/hypermail/APKBUILD
+++ b/main/hypermail/APKBUILD
@@ -17,7 +17,7 @@ source="http://www.hypermail-project.org/$pkgname-$pkgver.tar.gz
_builddir="$srcdir"/hypermail
prepare() {
cd "$_builddir"
- update_config_sub
+ update_config_sub || return 1
}
build() {
diff --git a/main/iftop/APKBUILD b/main/iftop/APKBUILD
index 4d5aca430..32af2929f 100644
--- a/main/iftop/APKBUILD
+++ b/main/iftop/APKBUILD
@@ -14,7 +14,7 @@ source="http://www.ex-parrot.com/~pdw/$pkgname/download/$pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/iftop-$pkgver
prepare() {
cd "$_builddir"
- update_config_sub
+ update_config_sub || return 1
}
build() {
diff --git a/main/inputproto/APKBUILD b/main/inputproto/APKBUILD
index 356919f38..52e6dad75 100644
--- a/main/inputproto/APKBUILD
+++ b/main/inputproto/APKBUILD
@@ -8,8 +8,15 @@ arch="noarch"
license="custom"
source="http://xorg.freedesktop.org/releases/individual/proto/$pkgname-$pkgver.tar.bz2"
+_builddir="$srcdir/$pkgname-$pkgver"
+
+prepare() {
+ cd "$_builddir"
+ update_config_sub || return 1
+}
+
build() {
- cd "$srcdir"/$pkgname-$pkgver
+ cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
diff --git a/main/iptables/APKBUILD b/main/iptables/APKBUILD
index 600f6cade..ba531c079 100644
--- a/main/iptables/APKBUILD
+++ b/main/iptables/APKBUILD
@@ -18,6 +18,7 @@ subpackages="ip6tables $pkgname-doc $pkgname-dev"
prepare() {
cd "$srcdir/$pkgname-$pkgver"
+ update_config_sub || return 1
local i
for i in $source; do
case $i in
diff --git a/main/jasper/APKBUILD b/main/jasper/APKBUILD
index 3eb1164bf..c2b878d8d 100644
--- a/main/jasper/APKBUILD
+++ b/main/jasper/APKBUILD
@@ -25,7 +25,7 @@ prepare() {
*.patch) msg $i; patch -Np1 -i "$srcdir"/$i || return 1;;
esac
done
- update_config_sub
+ update_config_sub || return 1
chmod +x configure
}
diff --git a/main/kbproto/APKBUILD b/main/kbproto/APKBUILD
index c12289b12..2062703df 100644
--- a/main/kbproto/APKBUILD
+++ b/main/kbproto/APKBUILD
@@ -10,8 +10,15 @@ depends=""
makedepends=""
source="http://xorg.freedesktop.org/releases/individual/proto/$pkgname-$pkgver.tar.bz2"
+_builddir="$srcdir/$pkgname-$pkgver"
+
+prepare() {
+ cd "$_builddir"
+ update_config_sub || return 1
+}
+
build() {
- cd "$srcdir"/$pkgname-$pkgver
+ cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
diff --git a/main/lcms/APKBUILD b/main/lcms/APKBUILD
index 222b81859..72e5a9180 100644
--- a/main/lcms/APKBUILD
+++ b/main/lcms/APKBUILD
@@ -14,7 +14,9 @@ source="http://downloads.sourceforge.net/project/lcms/lcms/$pkgver/lcms-$pkgver.
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
+ local i
cd "$_builddir"
+ update_config_sub || return 1
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
diff --git a/main/libconfig/APKBUILD b/main/libconfig/APKBUILD
index a2457ccd2..507f23a43 100644
--- a/main/libconfig/APKBUILD
+++ b/main/libconfig/APKBUILD
@@ -14,7 +14,7 @@ subpackages="$pkgname-doc $pkgname-dev"
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
- update_config_sub
+ update_config_sub || return 1
}
build() {
diff --git a/main/libcue/APKBUILD b/main/libcue/APKBUILD
index 3574eca03..fe22242e4 100644
--- a/main/libcue/APKBUILD
+++ b/main/libcue/APKBUILD
@@ -16,7 +16,7 @@ source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2"
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
- update_config_sub
+ update_config_sub || return 1
}
build() {
diff --git a/main/libev/APKBUILD b/main/libev/APKBUILD
index 7b7855b06..cf1449244 100644
--- a/main/libev/APKBUILD
+++ b/main/libev/APKBUILD
@@ -26,6 +26,7 @@ prepare() {
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
+ update_config_sub || return 1
libtoolize --force && aclocal && autoconf && autoheader \
&& automake --add-missing
}
diff --git a/main/libice/APKBUILD b/main/libice/APKBUILD
index 50023319d..1ae34ce07 100644
--- a/main/libice/APKBUILD
+++ b/main/libice/APKBUILD
@@ -7,13 +7,20 @@ url="http://xorg.freedesktop.org/"
arch="all"
license="custom"
depends=
+depends_dev="xproto"
makedepends="pkgconfig xproto xtrans"
subpackages="$pkgname-dev"
source="http://xorg.freedesktop.org/releases/individual/lib/libICE-$pkgver.tar.bz2"
-depends_dev="xproto"
-build () {
- cd "$srcdir"/libICE-$pkgver
+_builddir="$srcdir/libICE-$pkgver"
+
+prepare() {
+ cd "$_builddir"
+ update_config_sub || return 1
+}
+
+build() {
+ cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
diff --git a/main/libidl/APKBUILD b/main/libidl/APKBUILD
index 714c105e1..c3e4cd3df 100644
--- a/main/libidl/APKBUILD
+++ b/main/libidl/APKBUILD
@@ -18,6 +18,7 @@ _builddir="$srcdir"/libIDL-$pkgver
prepare() {
cd "$_builddir"
+ update_config_sub || return 1
}
build() {
diff --git a/main/libjpeg-turbo/APKBUILD b/main/libjpeg-turbo/APKBUILD
index 6b339ca41..bcca311bd 100644
--- a/main/libjpeg-turbo/APKBUILD
+++ b/main/libjpeg-turbo/APKBUILD
@@ -19,6 +19,7 @@ _builddir="$srcdir"/libjpeg-turbo-$pkgver
prepare() {
local i
cd "$_builddir"
+ update_config_sub || return 1
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
diff --git a/main/libmcrypt/APKBUILD b/main/libmcrypt/APKBUILD
index ad533a83d..43cce093d 100644
--- a/main/libmcrypt/APKBUILD
+++ b/main/libmcrypt/APKBUILD
@@ -14,7 +14,7 @@ source="http://downloads.sourceforge.net/mcrypt/${pkgname}-${pkgver}.tar.bz2"
prepare() {
cd "$srcdir/$pkgname-$pkgver"
- update_config_sub
+ update_config_sub || return 1
}
build() {
diff --git a/main/libnl3/APKBUILD b/main/libnl3/APKBUILD
index f9489a6b8..38310c743 100644
--- a/main/libnl3/APKBUILD
+++ b/main/libnl3/APKBUILD
@@ -16,6 +16,7 @@ _builddir="$srcdir"/libnl-$pkgver
prepare () {
cd "$_builddir"
+ update_config_sub || return 1
for i in $source; do
case $i in
*.patch) msg $i; patch -s -p1 -i "$srcdir"/$i || return 1;;
diff --git a/main/libogg/APKBUILD b/main/libogg/APKBUILD
index 6182643aa..ffdbf4dbb 100644
--- a/main/libogg/APKBUILD
+++ b/main/libogg/APKBUILD
@@ -12,8 +12,15 @@ subpackages="$pkgname-doc $pkgname-dev"
source="http://downloads.xiph.org/releases/ogg/$pkgname-$pkgver.tar.gz
"
+_builddir="$srcdir/$pkgname-$pkgver"
+
+prepare() {
+ cd "$_builddir"
+ update_config_sub || return 1
+}
+
build() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd "$_builddir"
./configure \
--build=$CBUILD \
diff --git a/main/liboil/APKBUILD b/main/liboil/APKBUILD
index 1ea58325a..ffbda71a3 100644
--- a/main/liboil/APKBUILD
+++ b/main/liboil/APKBUILD
@@ -10,10 +10,16 @@ subpackages="$pkgname-dev $pkgname-doc"
depends=
source="http://$pkgname.freedesktop.org/download/$pkgname-$pkgver.tar.gz"
-build ()
-{
+_builddir="$srcdir/$pkgname-$pkgver"
+
+prepare() {
+ cd "$_builddir"
+ update_config_sub || return 1
+}
+
+build() {
unset CFLAGS
- cd "$srcdir"/$pkgname-$pkgver
+ cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
diff --git a/main/libpaper/APKBUILD b/main/libpaper/APKBUILD
index 51364d250..f3aaea08c 100644
--- a/main/libpaper/APKBUILD
+++ b/main/libpaper/APKBUILD
@@ -12,8 +12,13 @@ makedepends=""
source="http://ftp.debian.org/debian/pool/main/libp/libpaper/libpaper_${pkgver}.tar.gz"
_builddir="$srcdir"/$pkgname-$pkgver
-build ()
-{
+
+prepare() {
+ cd "$_builddir"
+ update_config_sub || return 1
+}
+
+build() {
cd "$_builddir"
./configure \
--build=$CBUILD \
diff --git a/main/libpri/APKBUILD b/main/libpri/APKBUILD
index 33c8ae926..e7ef3d903 100644
--- a/main/libpri/APKBUILD
+++ b/main/libpri/APKBUILD
@@ -16,6 +16,12 @@ source="http://downloads.digium.com/pub/telephony/libpri/releases/$pkgname-$_pkg
_builddir="$srcdir/$pkgname-$_pkgver"
+prepare() {
+ cd "$_builddir"
+ sed -i -e 's,^#include <sys/signal.h>$,#include <signal.h>,g' \
+ pritest.c testprilib.c
+}
+
build() {
cd "$_builddir"
for i in $source; do
diff --git a/main/libpthread-stubs/APKBUILD b/main/libpthread-stubs/APKBUILD
index 30a2d9159..1c6c10021 100644
--- a/main/libpthread-stubs/APKBUILD
+++ b/main/libpthread-stubs/APKBUILD
@@ -9,8 +9,15 @@ license="X11"
depends=
source="http://xcb.freedesktop.org/dist/$pkgname-$pkgver.tar.bz2"
+_builddir="$srcdir/$pkgname-$pkgver"
+
+prepare() {
+ cd "$_builddir"
+ update_config_sub || return 1
+}
+
build() {
- cd "$srcdir"/$pkgname-$pkgver
+ cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
diff --git a/main/libtasn1/APKBUILD b/main/libtasn1/APKBUILD
index 72bdfa695..2fc08e73d 100644
--- a/main/libtasn1/APKBUILD
+++ b/main/libtasn1/APKBUILD
@@ -13,6 +13,12 @@ install=
source="ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/$pkgname-$pkgver
+
+prepare() {
+ cd "$_builddir"
+ update_config_sub || return 1
+}
+
build() {
cd "$_builddir"
./configure \
diff --git a/main/libvorbis/APKBUILD b/main/libvorbis/APKBUILD
index 8224b0a28..65fc02151 100644
--- a/main/libvorbis/APKBUILD
+++ b/main/libvorbis/APKBUILD
@@ -13,9 +13,15 @@ makedepends="$depends_dev"
#source="http://people.xiph.org/~giles/2008/$pkgname-$pkgver.tar.gz"
source="http://downloads.xiph.org/releases/vorbis/libvorbis-$pkgver.tar.gz"
-build ()
-{
- cd "$srcdir"/$pkgname-$pkgver
+_builddir="$srcdir/$pkgname-$pkgver"
+
+prepare() {
+ cd "$_builddir"
+ update_config_sub || return 1
+}
+
+build() {
+ cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
diff --git a/main/libxcomposite/APKBUILD b/main/libxcomposite/APKBUILD
index 1b891c4b4..eda8a5bd4 100644
--- a/main/libxcomposite/APKBUILD
+++ b/main/libxcomposite/APKBUILD
@@ -8,11 +8,17 @@ arch="all"
license="custom"
subpackages="$pkgname-dev $pkgname-doc"
depends=
+depends_dev="xproto compositeproto libxfixes-dev libx11-dev libxext-dev"
makedepends="pkgconfig libxfixes-dev libxext-dev compositeproto"
source="http://xorg.freedesktop.org//releases/individual/lib/libXcomposite-$pkgver.tar.bz2"
-depends_dev="xproto compositeproto libxfixes-dev libx11-dev libxext-dev"
_builddir="$srcdir"/libXcomposite-$pkgver
+
+prepare() {
+ cd "$_builddir"
+ update_config_sub || return 1
+}
+
build() {
cd "$_builddir"
./configure \
diff --git a/main/libxdamage/APKBUILD b/main/libxdamage/APKBUILD
index 0ddd9126a..39d328bbc 100644
--- a/main/libxdamage/APKBUILD
+++ b/main/libxdamage/APKBUILD
@@ -7,13 +7,20 @@ url="http://xorg.freedesktop.org/"
arch="all"
license="custom"
depends=
+depends_dev="xproto damageproto libxfixes-dev libx11-dev fixesproto"
makedepends="pkgconfig libxfixes-dev damageproto xextproto"
subpackages="$pkgname-dev"
source="http://xorg.freedesktop.org/releases/individual/lib/libXdamage-$pkgver.tar.bz2"
-depends_dev="xproto damageproto libxfixes-dev libx11-dev fixesproto"
+_builddir="$srcdir/libXdamage-$pkgver"
+
+prepare() {
+ cd "$_builddir"
+ update_config_sub || return 1
+}
+
build() {
- cd "$srcdir"/libXdamage-$pkgver
+ cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
diff --git a/main/libxdmcp/APKBUILD b/main/libxdmcp/APKBUILD
index b63883dd0..e269ab340 100644
--- a/main/libxdmcp/APKBUILD
+++ b/main/libxdmcp/APKBUILD
@@ -11,8 +11,15 @@ makedepends="xproto pkgconfig"
subpackages="$pkgname-dev"
source="http://xorg.freedesktop.org/releases/individual/lib/libXdmcp-$pkgver.tar.bz2"
+_builddir="$srcdir/libXdmcp-$pkgver"
+
+prepare() {
+ cd "$_builddir"
+ update_config_sub || return 1
+}
+
build() {
- cd "$srcdir"/libXdmcp-$pkgver
+ cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
diff --git a/main/libxft/APKBUILD b/main/libxft/APKBUILD
index 83776140e..7c837033b 100644
--- a/main/libxft/APKBUILD
+++ b/main/libxft/APKBUILD
@@ -12,8 +12,15 @@ depends_dev="xproto libxrender-dev fontconfig-dev freetype-dev zlib-dev"
makedepends="$depends_dev"
source="http://xorg.freedesktop.org/releases/individual/lib/libXft-$pkgver.tar.bz2"
+_builddir="$srcdir/libXft-$pkgver"
+
+prepare() {
+ cd "$_builddir"
+ update_config_sub || return 1
+}
+
build () {
- cd "$srcdir"/libXft-$pkgver
+ cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
diff --git a/main/libxkbui/APKBUILD b/main/libxkbui/APKBUILD
index 021f799c1..2e516f457 100644
--- a/main/libxkbui/APKBUILD
+++ b/main/libxkbui/APKBUILD
@@ -15,7 +15,7 @@ source="http://xorg.freedesktop.org/releases/individual/lib/$pkgname-$pkgver.tar
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
- update_config_sub
+ update_config_sub || return 1
}
build () {
diff --git a/main/libxslt/APKBUILD b/main/libxslt/APKBUILD
index 1b7fd68ff..49c037775 100644
--- a/main/libxslt/APKBUILD
+++ b/main/libxslt/APKBUILD
@@ -14,6 +14,7 @@ source="ftp://xmlsoft.org/$pkgname/$pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
+ update_config_sub || return 1
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
diff --git a/main/lzo/APKBUILD b/main/lzo/APKBUILD
index c522e773a..e58bb7b53 100644
--- a/main/lzo/APKBUILD
+++ b/main/lzo/APKBUILD
@@ -13,9 +13,15 @@ install=
subpackages="$pkgname-dev"
source="http://www.oberhumer.com/opensource/lzo/download/$pkgname-$pkgver.tar.gz"
-build() {
- cd "$srcdir/$pkgname-$pkgver"
+_builddir="$srcdir/$pkgname-$pkgver"
+prepare() {
+ cd "$_builddir"
+ update_config_sub || return 1
+}
+
+build() {
+ cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
diff --git a/main/mtools/APKBUILD b/main/mtools/APKBUILD
index c04f3c721..fa4dfc04f 100644
--- a/main/mtools/APKBUILD
+++ b/main/mtools/APKBUILD
@@ -11,8 +11,14 @@ makedepends="texinfo"
source="ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.bz2"
subpackages="$pkgname-doc"
-build () {
- cd $srcdir/$pkgname-$pkgver
+_builddir="$srcdir/$pkgname-$pkgver"
+prepare() {
+ cd "$_builddir"
+ update_config_sub || return 1
+}
+
+build() {
+ cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
diff --git a/main/nettle/APKBUILD b/main/nettle/APKBUILD
index 236636e0a..baf7e4989 100644
--- a/main/nettle/APKBUILD
+++ b/main/nettle/APKBUILD
@@ -19,6 +19,7 @@ _builddir="$srcdir"/$pkgname-$pkgver
prepare() {
local i
cd "$_builddir"
+ update_config_sub || return 1
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
diff --git a/main/openntpd/APKBUILD b/main/openntpd/APKBUILD
index 17058391c..0b88c5660 100644
--- a/main/openntpd/APKBUILD
+++ b/main/openntpd/APKBUILD
@@ -23,7 +23,7 @@ prepare() {
cd "$srcdir/$pkgname-$_myver"
patch -p1 < ../openntpd-3.9p1_reconnect_on_sendto_EINVAL.diff
sed -i '/NTPD_USER/s:_ntp:ntp:' ntpd.h || return 1
- update_config_sub
+ update_config_sub || return 1
}
build() {
diff --git a/main/openvpn-auth-ldap/APKBUILD b/main/openvpn-auth-ldap/APKBUILD
index 18cffc0cb..c0bfb4959 100644
--- a/main/openvpn-auth-ldap/APKBUILD
+++ b/main/openvpn-auth-ldap/APKBUILD
@@ -20,7 +20,7 @@ prepare() {
cd "$_builddir"
# apply patches here
sed -i -e '/<objc\/objc-api.h>/d' configure
- update_config_sub
+ update_config_sub || return 1
}
build() {
diff --git a/main/orbit2/APKBUILD b/main/orbit2/APKBUILD
index fdca00968..b992e724b 100644
--- a/main/orbit2/APKBUILD
+++ b/main/orbit2/APKBUILD
@@ -19,6 +19,7 @@ _builddir="${srcdir}/ORBit2-${pkgver}"
prepare() {
local i
cd "$_builddir"
+ update_config_sub || return 1
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
diff --git a/main/pixman/APKBUILD b/main/pixman/APKBUILD
index 0c0bc912c..736789bb9 100644
--- a/main/pixman/APKBUILD
+++ b/main/pixman/APKBUILD
@@ -11,8 +11,15 @@ depends=
makedepends="perl"
source="http://xorg.freedesktop.org/releases/individual/lib/$pkgname-$pkgver.tar.bz2"
+_builddir="$srcdir/$pkgname-$pkgver"
+
+prepare() {
+ cd "$_builddir"
+ update_config_sub || return 1
+}
+
build() {
- cd "$srcdir"/$pkgname-$pkgver
+ cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
diff --git a/main/polkit/APKBUILD b/main/polkit/APKBUILD
index a4b8ab020..8e99a7dfa 100644
--- a/main/polkit/APKBUILD
+++ b/main/polkit/APKBUILD
@@ -22,6 +22,7 @@ _builddir="$srcdir"/polkit-$pkgver
prepare() {
cd "$_builddir"
+ update_config_sub || return 1
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
diff --git a/main/poppler/APKBUILD b/main/poppler/APKBUILD
index ab8486535..7911aecf9 100644
--- a/main/poppler/APKBUILD
+++ b/main/poppler/APKBUILD
@@ -17,8 +17,15 @@ depends=
depends_dev="cairo-dev"
source="http://$pkgname.freedesktop.org/$pkgname-$pkgver.tar.gz"
+_builddir="$srcdir/$pkgname-$pkgver"
+
+prepare() {
+ cd "$_builddir"
+ update_config_sub || return 1
+}
+
build() {
- cd "$srcdir"/$pkgname-$pkgver
+ cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
diff --git a/main/psqlodbc/APKBUILD b/main/psqlodbc/APKBUILD
index baba109fe..c968f5e8a 100644
--- a/main/psqlodbc/APKBUILD
+++ b/main/psqlodbc/APKBUILD
@@ -15,7 +15,7 @@ _builddir="$srcdir/$pkgname-$pkgver"
prepare() {
cd "$_builddir"
- update_config_sub
+ update_config_sub || return 1
}
build() {
diff --git a/main/randrproto/APKBUILD b/main/randrproto/APKBUILD
index dd1965f0a..c8d73b1e6 100644
--- a/main/randrproto/APKBUILD
+++ b/main/randrproto/APKBUILD
@@ -10,8 +10,15 @@ depends=""
makedepends=""
source="http://xorg.freedesktop.org/releases/individual/proto/$pkgname-$pkgver.tar.bz2"
-build () {
- cd "$srcdir"/$pkgname-$pkgver
+_builddir="$srcdir/$pkgname-$pkgver"
+
+prepare() {
+ cd "$_builddir"
+ update_config_sub || return 1
+}
+
+build() {
+ cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
diff --git a/main/rarian/APKBUILD b/main/rarian/APKBUILD
index 635f32f03..4f594d846 100644
--- a/main/rarian/APKBUILD
+++ b/main/rarian/APKBUILD
@@ -12,10 +12,16 @@ makedepends="libxslt-dev"
source="http://ftp.gnome.org/pub/gnome/sources/$pkgname/0.8/$pkgname-$pkgver.tar.bz2
user-segfault.patch"
-build ()
-{
- cd "$srcdir"/$pkgname-$pkgver
+_builddir=""$srcdir/$pkgname-$pkgver""
+
+prepare() {
+ cd "$_builddir"
+ update_config_sub || return 1
patch -p0 -i "$srcdir"/user-segfault.patch || return 1
+}
+
+build() {
+ cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
diff --git a/main/rdesktop/APKBUILD b/main/rdesktop/APKBUILD
index f9a03b949..37ccdf59e 100644
--- a/main/rdesktop/APKBUILD
+++ b/main/rdesktop/APKBUILD
@@ -14,7 +14,7 @@ source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz"
prepare() {
cd "$srcdir"/$pkgname-$pkgver
- update_config_sub
+ update_config_sub || return 1
}
build() {
diff --git a/main/renderproto/APKBUILD b/main/renderproto/APKBUILD
index 8fee73983..cecdb3d49 100644
--- a/main/renderproto/APKBUILD
+++ b/main/renderproto/APKBUILD
@@ -11,14 +11,25 @@ makedepends=""
subpackages="$pkgname-doc"
source="http://xorg.freedesktop.org/releases/individual/proto/$pkgname-$pkgver.tar.bz2"
-build () {
- cd "$srcdir"/$pkgname-$pkgver
+_builddir="$srcdir/$pkgname-$pkgver"
+
+prepare() {
+ cd "$_builddir"
+ update_config_sub || return 1
+}
+
+build() {
+ cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
|| return 1
make || return 1
+}
+
+package() {
+ cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}
diff --git a/main/slang/APKBUILD b/main/slang/APKBUILD
index 7f13a9f0f..176487367 100644
--- a/main/slang/APKBUILD
+++ b/main/slang/APKBUILD
@@ -15,6 +15,7 @@ source="ftp://ftp.fu-berlin.de/pub/unix/misc/$pkgname/v${pkgver%.*}/$pkgname-$pk
prepare () {
cd "$srcdir"/$pkgname-$pkgver
+ update_config_sub || return 1
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
diff --git a/main/spandsp/APKBUILD b/main/spandsp/APKBUILD
index de0c7426e..0c23f42e3 100644
--- a/main/spandsp/APKBUILD
+++ b/main/spandsp/APKBUILD
@@ -17,6 +17,11 @@ source="http://www.soft-switch.org/downloads/spandsp/$pkgname-$_ver.tgz"
_builddir="$srcdir"/$pkgname-0.0.6
+prepare() {
+ cd "$_builddir"
+ update_config_sub || return 1
+}
+
build() {
cd "$_builddir"
./configure \
diff --git a/main/speex/APKBUILD b/main/speex/APKBUILD
index f9ac9b643..d98caf782 100644
--- a/main/speex/APKBUILD
+++ b/main/speex/APKBUILD
@@ -16,6 +16,7 @@ source="http://downloads.xiph.org/releases/speex/speex-$_ver.tar.gz"
_builddir="$srcdir"/$pkgname-$_ver
prepare() {
cd "$_builddir"
+ update_config_sub || return 1
}
build() {
diff --git a/main/squid/APKBUILD b/main/squid/APKBUILD
index e36359b13..52c189573 100644
--- a/main/squid/APKBUILD
+++ b/main/squid/APKBUILD
@@ -38,7 +38,7 @@ prepare() {
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
- update_config_sub
+ update_config_sub || return 1
}
build() {
diff --git a/main/strace/APKBUILD b/main/strace/APKBUILD
index 58bb8fc3b..9110f4598 100644
--- a/main/strace/APKBUILD
+++ b/main/strace/APKBUILD
@@ -43,8 +43,8 @@ package() {
make -j1 DESTDIR="$pkgdir" install
}
md5sums="c575ef43829586801f514fd91bfe7575 strace-4.8.tar.xz
-fc85884e1534d30fa9f1e40d7d4cea3a strace-musl.patch"
+1900bed9f95797239b3f5d9e0edab766 strace-musl.patch"
sha256sums="f492291f07a7c805c07a8395cce1ea054a6401ad414f4cc12185672215e1d7f8 strace-4.8.tar.xz
-40415d739a86b300f93deead48fe08e0cc79bc7af9f3575b151c5b84b6619848 strace-musl.patch"
+990b4631b6337495466a26a9842d7563d281b3074ed490128a23b08af3c9e338 strace-musl.patch"
sha512sums="c3316382f60cd4d02eec1eef46a0ef2d000afbccf2c176a6fec652e1b3391685f0e33f184497cb3ccf54d72d460471a4945d3a864fb5bce1f45f32fdf132cfe3 strace-4.8.tar.xz
-e8b1d7eb5be1779492a3633d8559d7c17bb1fb185068a0ec21c3d451ba048ca9813a93a46d1abadbc4231ef00feb72b6b72c56dd0621ede2d64a9789c5e74507 strace-musl.patch"
+60700c15b26fa7d3c091fa4fff7dee3827d3b224cc5c5bbc3a88748055c50d7fe17a3bf8b6f4ba417001b445ab91615b803e48313a4f53fa2a0774cc23348b97 strace-musl.patch"
diff --git a/main/strace/strace-musl.patch b/main/strace/strace-musl.patch
index 746d9cb6a..e5a211a17 100644
--- a/main/strace/strace-musl.patch
+++ b/main/strace/strace-musl.patch
@@ -160,7 +160,7 @@ diff -ru strace-4.8.orig/time.c strace-4.8/time.c
+#if defined(__GLIBC__)
tprintf("{%d}", sev._sigev_un._pad[0]);
+#else
-+ tprintf("{%d}", (int) sev._pad[0]);
++ tprintf("{%d}", (int) sev.__pad[0]);
+#endif
else if (sev.sigev_notify == SIGEV_THREAD)
tprintf("{%p, %p}", sev.sigev_notify_function,
diff --git a/main/sysfsutils/APKBUILD b/main/sysfsutils/APKBUILD
index d1c115a22..00d79ee08 100644
--- a/main/sysfsutils/APKBUILD
+++ b/main/sysfsutils/APKBUILD
@@ -14,7 +14,7 @@ source="http://downloads.sourceforge.net/sourceforge/linux-diag/$pkgname-$pkgver
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
- update_config_sub
+ update_config_sub || return 1
}
build() {
diff --git a/main/tiff/APKBUILD b/main/tiff/APKBUILD
index 178570634..7244a35a3 100644
--- a/main/tiff/APKBUILD
+++ b/main/tiff/APKBUILD
@@ -23,7 +23,7 @@ _builddir="$srcdir"/$pkgname-$pkgver
prepare() {
local _failed=
cd "$_builddir"
-
+ update_config_sub || return 1
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || _failed="$_failed $i";;
diff --git a/main/umix/APKBUILD b/main/umix/APKBUILD
index 7200cd0ef..fc5fbe547 100644
--- a/main/umix/APKBUILD
+++ b/main/umix/APKBUILD
@@ -16,7 +16,7 @@ source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/umix-$pkgver
prepare() {
cd "$_builddir"
- update_config_sub
+ update_config_sub || return 1
}
build() {
diff --git a/main/unixodbc/APKBUILD b/main/unixodbc/APKBUILD
index 0b0ceadda..c636103b3 100644
--- a/main/unixodbc/APKBUILD
+++ b/main/unixodbc/APKBUILD
@@ -14,6 +14,11 @@ source="http://www.unixodbc.org/unixODBC-${pkgver}.tar.gz"
_builddir="$srcdir/unixODBC-$pkgver"
+prepare() {
+ cd "$_builddir"
+ update_config_sub || return 1
+}
+
build() {
cd "$_builddir"
diff --git a/main/userspace-rcu/APKBUILD b/main/userspace-rcu/APKBUILD
index cfad28a05..18cc9d1bc 100644
--- a/main/userspace-rcu/APKBUILD
+++ b/main/userspace-rcu/APKBUILD
@@ -18,6 +18,7 @@ _builddir="$srcdir"/$pkgname-$pkgver
prepare() {
local i
cd "$_builddir"
+ update_config_sub || return 1
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
diff --git a/main/wget/APKBUILD b/main/wget/APKBUILD
index 204536e70..1c239821e 100644
--- a/main/wget/APKBUILD
+++ b/main/wget/APKBUILD
@@ -14,6 +14,11 @@ install="wget.post-deinstall"
source="ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/$pkgname-$pkgver
+prepare() {
+ cd "$_builddir"
+ update_config_sub || return 1
+}
+
build() {
cd "$_builddir"
./configure \
@@ -32,6 +37,10 @@ build() {
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
+
+ rm -rf "$pkgdir"/usr/lib/charset.alias
+ rmdir -p "$pkgdir"/usr/lib 2>/dev/null
+ return 0
}
md5sums="12edc291dba8127f2e9696e69f36299e wget-1.14.tar.gz"
diff --git a/main/xbitmaps/APKBUILD b/main/xbitmaps/APKBUILD
index c2e8f4160..15ab7eceb 100644
--- a/main/xbitmaps/APKBUILD
+++ b/main/xbitmaps/APKBUILD
@@ -10,8 +10,15 @@ depends="util-macros"
makedepends="pkgconfig"
source="http://xorg.freedesktop.org/releases/individual/data/$pkgname-$pkgver.tar.bz2"
+_builddir="$srcdir/$pkgname-$pkgver"
+
+prepare() {
+ cd "$_builddir"
+ update_config_sub || return 1
+}
+
build() {
- cd "$srcdir"/$pkgname-$pkgver
+ cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
diff --git a/main/xcb-util/APKBUILD b/main/xcb-util/APKBUILD
index 4b0b2a6d4..bf53da7a2 100644
--- a/main/xcb-util/APKBUILD
+++ b/main/xcb-util/APKBUILD
@@ -12,8 +12,15 @@ depends_dev="libxcb-dev"
makedepends="m4 $depends_dev gperf pkgconfig"
source="http://xcb.freedesktop.org/dist/$pkgname-$pkgver.tar.bz2"
+_builddir="$srcdir/$pkgname-$pkgver"
+
+prepare() {
+ cd "$_builddir"
+ update_config_sub || return 1
+}
+
build() {
- cd "$srcdir"/$pkgname-$pkgver
+ cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
diff --git a/main/xextproto/APKBUILD b/main/xextproto/APKBUILD
index 5e720959e..a2924c30b 100644
--- a/main/xextproto/APKBUILD
+++ b/main/xextproto/APKBUILD
@@ -10,8 +10,15 @@ depends=""
makedepends=""
source="http://xorg.freedesktop.org/releases/individual/proto/$pkgname-$pkgver.tar.bz2"
+_builddir="$srcdir/$pkgname-$pkgver"
+
+prepare() {
+ cd "$_builddir"
+ update_config_sub || return 1
+}
+
build() {
- cd "$srcdir"/$pkgname-$pkgver
+ cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
diff --git a/main/xproto/APKBUILD b/main/xproto/APKBUILD
index 13cdcb0fd..5138deb7b 100644
--- a/main/xproto/APKBUILD
+++ b/main/xproto/APKBUILD
@@ -14,6 +14,11 @@ source="http://xorg.freedesktop.org/releases/individual/proto/$pkgname-$pkgver.t
_builddir="$srcdir"/$pkgname-$pkgver
+prepare() {
+ cd "$_builddir"
+ update_config_sub || return 1
+}
+
build() {
cd "$_builddir"
./configure \
diff --git a/main/xset/APKBUILD b/main/xset/APKBUILD
index 5ca771c77..51833038f 100644
--- a/main/xset/APKBUILD
+++ b/main/xset/APKBUILD
@@ -11,8 +11,15 @@ depends=
makedepends="pkgconfig libxmu-dev libx11-dev libxext-dev"
source="http://xorg.freedesktop.org/releases/individual/app/$pkgname-$pkgver.tar.bz2"
+_builddir="$srcdir/$pkgname-$pkgver"
+
+prepare() {
+ cd "$_builddir"
+ update_config_sub || return 1
+}
+
build() {
- cd "$srcdir"/$pkgname-$pkgver
+ cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
diff --git a/main/xsetroot/APKBUILD b/main/xsetroot/APKBUILD
index 928981be4..6e8ed95ab 100644
--- a/main/xsetroot/APKBUILD
+++ b/main/xsetroot/APKBUILD
@@ -11,8 +11,15 @@ depends=
makedepends="pkgconfig libx11-dev libxmu-dev xbitmaps"
source="http://xorg.freedesktop.org/releases/individual/app/$pkgname-$pkgver.tar.bz2"
+_builddir="$srcdir/$pkgname-$pkgver"
+
+prepare() {
+ cd "$_builddir"
+ update_config_sub || return 1
+}
+
build() {
- cd "$srcdir"/$pkgname-$pkgver
+ cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
diff --git a/main/xtrans/APKBUILD b/main/xtrans/APKBUILD
index 82fa1fc96..5773dd46a 100644
--- a/main/xtrans/APKBUILD
+++ b/main/xtrans/APKBUILD
@@ -10,8 +10,15 @@ depends=""
makedepends=""
source="http://xorg.freedesktop.org/releases/individual/lib/$pkgname-$pkgver.tar.bz2"
+_builddir="$srcdir/$pkgname-$pkgver"
+
+prepare() {
+ cd "$_builddir"
+ update_config_sub || return 1
+}
+
build() {
- cd "$srcdir"/$pkgname-$pkgver
+ cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
diff --git a/main/yaml/APKBUILD b/main/yaml/APKBUILD
index 0be218f4b..0121d9cf6 100644
--- a/main/yaml/APKBUILD
+++ b/main/yaml/APKBUILD
@@ -17,6 +17,7 @@ _builddir="$srcdir"/yaml-$pkgver
prepare() {
local i
cd "$_builddir"
+ update_config_sub || return 1
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
diff --git a/main/yasm/APKBUILD b/main/yasm/APKBUILD
index 6ff4b7573..c4fbbe6bb 100644
--- a/main/yasm/APKBUILD
+++ b/main/yasm/APKBUILD
@@ -14,7 +14,7 @@ source="http://www.tortall.net/projects/$pkgname/releases/$pkgname-$pkgver.tar.g
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
- update_config_sub
+ update_config_sub || return 1
}
build() {