summaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
Diffstat (limited to 'main')
-rw-r--r--main/apr-util/APKBUILD11
-rw-r--r--main/atkmm/APKBUILD5
-rw-r--r--main/bdftopcf/APKBUILD6
-rw-r--r--main/cairomm/APKBUILD5
-rw-r--r--main/daq/APKBUILD1
-rw-r--r--main/dovecot/APKBUILD1
-rw-r--r--main/epdfview/APKBUILD1
-rw-r--r--main/evince/APKBUILD1
-rw-r--r--main/fprobe/APKBUILD1
-rw-r--r--main/glibmm/APKBUILD10
-rw-r--r--main/gnome-themes/APKBUILD1
-rw-r--r--main/goffice0.8/APKBUILD1
-rw-r--r--main/gtkmm/APKBUILD10
-rw-r--r--main/ipset/APKBUILD1
-rw-r--r--main/libass/APKBUILD1
-rw-r--r--main/libee/APKBUILD1
-rw-r--r--main/libgnome/APKBUILD1
-rw-r--r--main/libguess/APKBUILD1
-rw-r--r--main/libnetfilter_cthelper/APKBUILD1
-rw-r--r--main/libnetfilter_cttimeout/APKBUILD1
-rw-r--r--main/libnfsidmap/APKBUILD1
-rw-r--r--main/libnih/APKBUILD1
-rw-r--r--main/librpcsecgss/APKBUILD1
-rw-r--r--main/libsndfile/APKBUILD11
-rw-r--r--main/libtorrent/APKBUILD11
-rw-r--r--main/libvdpau/APKBUILD1
-rw-r--r--main/libwnck/APKBUILD6
-rw-r--r--main/libxfcegui4/APKBUILD13
-rw-r--r--main/loudmouth/APKBUILD1
-rw-r--r--main/mkfontscale/APKBUILD11
-rw-r--r--main/mp3splt/APKBUILD1
-rw-r--r--main/nagios-plugins/APKBUILD3
-rw-r--r--main/nagios/APKBUILD5
-rw-r--r--main/ngrep/APKBUILD7
-rw-r--r--main/nmap/APKBUILD5
-rw-r--r--main/openbox/APKBUILD1
-rw-r--r--main/pangomm/APKBUILD5
-rw-r--r--main/pth/APKBUILD12
-rw-r--r--main/py-gtk/APKBUILD15
39 files changed, 146 insertions, 26 deletions
diff --git a/main/apr-util/APKBUILD b/main/apr-util/APKBUILD
index f08d81db3..7768dbe68 100644
--- a/main/apr-util/APKBUILD
+++ b/main/apr-util/APKBUILD
@@ -15,8 +15,15 @@ depends_dev="expat-dev apr-dev openldap-dev sqlite-dev postgresql-dev
db-dev"
source="http://www.apache.org/dist/apr/$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 \
@@ -35,7 +42,7 @@ build() {
}
package() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
rm "$pkgdir"/usr/lib/apr-util*/*.la \
"$pkgdir"/usr/lib/*.exp \
diff --git a/main/atkmm/APKBUILD b/main/atkmm/APKBUILD
index d2d64639c..7b19a37be 100644
--- a/main/atkmm/APKBUILD
+++ b/main/atkmm/APKBUILD
@@ -13,6 +13,11 @@ source="http://ftp.gnome.org/pub/GNOME/sources/atkmm/${pkgver%.*}/atkmm-$pkgver.
replaces="gtkmm"
_builddir="$srcdir"/$pkgname-$pkgver
+prepare() {
+ cd "$_builddir"
+ update_config_sub || return 1
+}
+
build() {
cd "$_builddir"
./configure \
diff --git a/main/bdftopcf/APKBUILD b/main/bdftopcf/APKBUILD
index 136f201ae..bd8db1e34 100644
--- a/main/bdftopcf/APKBUILD
+++ b/main/bdftopcf/APKBUILD
@@ -13,6 +13,12 @@ subpackages="$pkgname-doc"
source="http://xorg.freedesktop.org//releases/individual/app/bdftopcf-$pkgver.tar.bz2"
_builddir="$srcdir"/$pkgname-$pkgver
+
+prepare() {
+ cd "$_builddir"
+ update_config_sub || return 1
+}
+
build() {
cd "$_builddir"
./configure \
diff --git a/main/cairomm/APKBUILD b/main/cairomm/APKBUILD
index 5ff5bca0e..4b28dcc08 100644
--- a/main/cairomm/APKBUILD
+++ b/main/cairomm/APKBUILD
@@ -13,6 +13,11 @@ subpackages="$pkgname-dev $pkgname-doc"
source="http://www.cairographics.org/releases/cairomm-$pkgver.tar.gz"
_builddir="$srcdir"/$pkgname-$pkgver
+prepare() {
+ cd "$_builddir"
+ update_config_sub || return 1
+}
+
build() {
cd "$_builddir"
./configure \
diff --git a/main/daq/APKBUILD b/main/daq/APKBUILD
index 85fff62b2..f58958d57 100644
--- a/main/daq/APKBUILD
+++ b/main/daq/APKBUILD
@@ -17,6 +17,7 @@ _builddir="$srcdir"/daq-$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/dovecot/APKBUILD b/main/dovecot/APKBUILD
index 3b4bdfdd7..fd20df44c 100644
--- a/main/dovecot/APKBUILD
+++ b/main/dovecot/APKBUILD
@@ -28,6 +28,7 @@ source="http://www.dovecot.org/releases/${pkgver%.*}/$pkgname-$pkgver.tar.gz
prepare() {
cd "$srcdir"/$pkgname-$pkgver
+ update_config_sub || return 1
for i in $patches; do
msg $i
patch -p1 -i "$srcdir"/$i || return 1
diff --git a/main/epdfview/APKBUILD b/main/epdfview/APKBUILD
index 772197895..c5addbb19 100644
--- a/main/epdfview/APKBUILD
+++ b/main/epdfview/APKBUILD
@@ -19,6 +19,7 @@ source="http://www.emma-soft.com/projects/$pkgname/chrome/site/releases/$pkgname
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
+ update_config_sub || return 1
for i in $source; do
case $i in
*.patch)
diff --git a/main/evince/APKBUILD b/main/evince/APKBUILD
index 2f231f67e..a6eb66d54 100644
--- a/main/evince/APKBUILD
+++ b/main/evince/APKBUILD
@@ -34,6 +34,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/fprobe/APKBUILD b/main/fprobe/APKBUILD
index 824c4e1cb..ca6d465d2 100644
--- a/main/fprobe/APKBUILD
+++ b/main/fprobe/APKBUILD
@@ -21,6 +21,7 @@ _builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd $_builddir
+ update_config_sub || return 1
for i in ../*.patch
do
msg "Applying $i"
diff --git a/main/glibmm/APKBUILD b/main/glibmm/APKBUILD
index e09c93717..8e77df87c 100644
--- a/main/glibmm/APKBUILD
+++ b/main/glibmm/APKBUILD
@@ -12,8 +12,14 @@ subpackages="$pkgname-dev $pkgname-doc"
depends_dev="libsigc++-dev"
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 \
@@ -23,7 +29,7 @@ build() {
}
package() {
- cd "$srcdir"/$pkgname-$pkgver
+ cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
rm "$pkgdir"/usr/lib/*.la
}
diff --git a/main/gnome-themes/APKBUILD b/main/gnome-themes/APKBUILD
index da9ce4589..a740bab9d 100644
--- a/main/gnome-themes/APKBUILD
+++ b/main/gnome-themes/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/goffice0.8/APKBUILD b/main/goffice0.8/APKBUILD
index cde30efe6..f1500ca57 100644
--- a/main/goffice0.8/APKBUILD
+++ b/main/goffice0.8/APKBUILD
@@ -20,6 +20,7 @@ source="http://ftp.gnome.org/pub/gnome/sources/$_realname/$_maj.$_min/$_realname
prepare() {
cd "$srcdir"/$_realname-$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/gtkmm/APKBUILD b/main/gtkmm/APKBUILD
index c2422dc46..2a8435a69 100644
--- a/main/gtkmm/APKBUILD
+++ b/main/gtkmm/APKBUILD
@@ -12,8 +12,14 @@ depends_dev="atkmm-dev gtk+-dev glibmm-dev pangomm-dev"
subpackages="$pkgname-dev"
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"/gtkmm-$pkgver
+ cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -23,7 +29,7 @@ build() {
}
package() {
- cd "$srcdir"/gtkmm-$pkgver
+ cd "$_builddir"
make install DESTDIR="$pkgdir" || return 1
rm "$pkgdir"/usr/lib/*.la
}
diff --git a/main/ipset/APKBUILD b/main/ipset/APKBUILD
index 7411c7732..4d38060a4 100644
--- a/main/ipset/APKBUILD
+++ b/main/ipset/APKBUILD
@@ -17,6 +17,7 @@ _builddir=$srcdir/ipset-$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/libass/APKBUILD b/main/libass/APKBUILD
index dfe103d36..50a04b370 100644
--- a/main/libass/APKBUILD
+++ b/main/libass/APKBUILD
@@ -16,6 +16,7 @@ _builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
+ update_config_sub || return 1
# apply patches here
}
diff --git a/main/libee/APKBUILD b/main/libee/APKBUILD
index 90eeac8ad..c91f22341 100644
--- a/main/libee/APKBUILD
+++ b/main/libee/APKBUILD
@@ -14,6 +14,7 @@ source="http://www.libee.org/download/files/download/$pkgname-$pkgver.tar.gz"
_builddir="$srcdir/$pkgname-$pkgver"
prepare() {
cd "$_builddir"
+ update_config_sub || return 1
./configure \
--build=$CBUILD \
--host=$CHOST \
diff --git a/main/libgnome/APKBUILD b/main/libgnome/APKBUILD
index ada696e2e..16b26fcf2 100644
--- a/main/libgnome/APKBUILD
+++ b/main/libgnome/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/libguess/APKBUILD b/main/libguess/APKBUILD
index 997e53c07..6f323aead 100644
--- a/main/libguess/APKBUILD
+++ b/main/libguess/APKBUILD
@@ -18,6 +18,7 @@ _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/libnetfilter_cthelper/APKBUILD b/main/libnetfilter_cthelper/APKBUILD
index 50c4533df..d05fee678 100644
--- a/main/libnetfilter_cthelper/APKBUILD
+++ b/main/libnetfilter_cthelper/APKBUILD
@@ -16,6 +16,7 @@ _builddir="$srcdir"/libnetfilter_cthelper-$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/libnetfilter_cttimeout/APKBUILD b/main/libnetfilter_cttimeout/APKBUILD
index f90e923e9..2fa956720 100644
--- a/main/libnetfilter_cttimeout/APKBUILD
+++ b/main/libnetfilter_cttimeout/APKBUILD
@@ -18,6 +18,7 @@ _builddir="$srcdir"/libnetfilter_cttimeout-$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/libnfsidmap/APKBUILD b/main/libnfsidmap/APKBUILD
index 1ed782826..c23c2e4cd 100644
--- a/main/libnfsidmap/APKBUILD
+++ b/main/libnfsidmap/APKBUILD
@@ -17,6 +17,7 @@ _builddir="$srcdir"/libnfsidmap-$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/libnih/APKBUILD b/main/libnih/APKBUILD
index 7875ed96a..855b85581 100644
--- a/main/libnih/APKBUILD
+++ b/main/libnih/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/librpcsecgss/APKBUILD b/main/librpcsecgss/APKBUILD
index 57b21a8ea..4d0d1c253 100644
--- a/main/librpcsecgss/APKBUILD
+++ b/main/librpcsecgss/APKBUILD
@@ -17,6 +17,7 @@ _builddir="$srcdir"/librpcsecgss-$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/libsndfile/APKBUILD b/main/libsndfile/APKBUILD
index 673d5d016..dff2d13b5 100644
--- a/main/libsndfile/APKBUILD
+++ b/main/libsndfile/APKBUILD
@@ -12,8 +12,15 @@ depends_dev="flac-dev libvorbis-dev libogg-dev"
makedepends="alsa-lib-dev $depends_dev"
source="http://www.mega-nerd.com/$pkgname/files/$pkgname-$pkgver.tar.gz"
+_builddir="$srcdir/$pkgname-$pkgver"
+
+prepare() {
+ cd "$_builddir"
+ update_config_sub || return 1
+}
+
build () {
- cd "$srcdir"/$pkgname-$pkgver
+ cd "$_builddir"
ac_cv_sys_largefile_CFLAGS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" \
./configure \
--build=$CBUILD \
@@ -26,7 +33,7 @@ build () {
}
package() {
- cd "$srcdir"/$pkgname-$pkgver
+ cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
rm "$pkgdir"/usr/lib/*.la || return 1
}
diff --git a/main/libtorrent/APKBUILD b/main/libtorrent/APKBUILD
index d7d0dad96..b938de68e 100644
--- a/main/libtorrent/APKBUILD
+++ b/main/libtorrent/APKBUILD
@@ -12,8 +12,15 @@ subpackages="$pkgname-dev"
options='libtool'
source="http://libtorrent.rakshasa.no/downloads/${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 \
@@ -25,7 +32,7 @@ build() {
}
package() {
- cd "$srcdir"/$pkgname-$pkgver
+ cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
}
diff --git a/main/libvdpau/APKBUILD b/main/libvdpau/APKBUILD
index 02141a77b..b39f218e1 100644
--- a/main/libvdpau/APKBUILD
+++ b/main/libvdpau/APKBUILD
@@ -17,6 +17,7 @@ _builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
+ update_config_sub || return 1
# apply patches here
}
diff --git a/main/libwnck/APKBUILD b/main/libwnck/APKBUILD
index 9b0699a3b..ccefcadba 100644
--- a/main/libwnck/APKBUILD
+++ b/main/libwnck/APKBUILD
@@ -16,6 +16,12 @@ depends_dev="glib-dev gtk+-dev libx11-dev pango-dev cairo-dev
startup-notification-dev libxres-dev"
_builddir="$srcdir"/$pkgname-$pkgver
+
+prepare() {
+ cd "$_builddir"
+ update_config_sub || return 1
+}
+
build() {
cd "$_builddir"
./configure \
diff --git a/main/libxfcegui4/APKBUILD b/main/libxfcegui4/APKBUILD
index 166d19d31..5a10a1d59 100644
--- a/main/libxfcegui4/APKBUILD
+++ b/main/libxfcegui4/APKBUILD
@@ -8,13 +8,20 @@ arch="all"
license="GPL2"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
depends=
+depends_dev="gtk+-dev libxfce4util-dev xfconf-dev startup-notification-dev"
makedepends="gtk+-dev xfconf-dev libxfce4util-dev startup-notification-dev
libglade-dev"
source="http://archive.xfce.org/src/xfce/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2"
-depends_dev="gtk+-dev libxfce4util-dev xfconf-dev startup-notification-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 \
@@ -28,7 +35,7 @@ build() {
}
package() {
- cd "$srcdir"/$pkgname-$pkgver
+ cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
find "$pkgdir" -name '*.la' -delete
}
diff --git a/main/loudmouth/APKBUILD b/main/loudmouth/APKBUILD
index 973c32efa..e4e38b8c0 100644
--- a/main/loudmouth/APKBUILD
+++ b/main/loudmouth/APKBUILD
@@ -23,6 +23,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/mkfontscale/APKBUILD b/main/mkfontscale/APKBUILD
index 553fb772a..12da18863 100644
--- a/main/mkfontscale/APKBUILD
+++ b/main/mkfontscale/APKBUILD
@@ -13,8 +13,15 @@ install=
triggers="$pkgname.trigger=/usr/share/fonts/*"
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 \
@@ -24,7 +31,7 @@ build() {
}
package() {
- cd "$srcdir"/$pkgname-$pkgver
+ cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
}
md5sums="96ca346f185c0ab48e42bf5bb0375da5 mkfontscale-1.0.7.tar.bz2"
diff --git a/main/mp3splt/APKBUILD b/main/mp3splt/APKBUILD
index 37499fdc3..c038849e8 100644
--- a/main/mp3splt/APKBUILD
+++ b/main/mp3splt/APKBUILD
@@ -17,6 +17,7 @@ _builddir="$srcdir"/mp3splt-$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/nagios-plugins/APKBUILD b/main/nagios-plugins/APKBUILD
index 6f4a7cd7f..24fa3ecbf 100644
--- a/main/nagios-plugins/APKBUILD
+++ b/main/nagios-plugins/APKBUILD
@@ -14,7 +14,8 @@ pkggroups="nagios"
subpackages="$pkgname-contrib"
prepare() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd "$srcdir/$pkgname-$pkgver"
+ update_config_sub || return 1
# fix eglibc-2.16 build issue
sed -i -e '/gets is a/d' \
gl/stdio.in.h || return 1
diff --git a/main/nagios/APKBUILD b/main/nagios/APKBUILD
index 8f8e0dcbf..756878f32 100644
--- a/main/nagios/APKBUILD
+++ b/main/nagios/APKBUILD
@@ -20,6 +20,11 @@ pkggroups="nagios"
_builddir="$srcdir/$pkgname"
+prepare() {
+ cd "$_builddir"
+ update_config_sub || return 1
+}
+
build() {
cd "$_builddir"
./configure \
diff --git a/main/ngrep/APKBUILD b/main/ngrep/APKBUILD
index 31666553b..487c58704 100644
--- a/main/ngrep/APKBUILD
+++ b/main/ngrep/APKBUILD
@@ -13,7 +13,14 @@ makedepends="$depends_dev"
install=""
subpackages=""
source="http://downloads.sourceforge.net/sourceforge/ngrep/$pkgname-$pkgver.tar.bz2"
+
_builddir="$srcdir"/$pkgname-$pkgver
+
+prepare() {
+ cd "$_builddir"
+ update_config_sub || return 1
+}
+
build() {
cd "$_builddir"
./configure \
diff --git a/main/nmap/APKBUILD b/main/nmap/APKBUILD
index f1b54fcc3..9bea3e414 100644
--- a/main/nmap/APKBUILD
+++ b/main/nmap/APKBUILD
@@ -15,6 +15,11 @@ source="http://nmap.org/dist/$pkgname-$pkgver.tgz"
_builddir="$srcdir"/$pkgname-$pkgver
+prepare() {
+ cd "$_builddir"
+ update_config_sub || return 1
+}
+
build() {
cd "$_builddir"
./configure \
diff --git a/main/openbox/APKBUILD b/main/openbox/APKBUILD
index 533adc47c..b786c7eb9 100644
--- a/main/openbox/APKBUILD
+++ b/main/openbox/APKBUILD
@@ -19,6 +19,7 @@ _builddir="$srcdir"/openbox-$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/pangomm/APKBUILD b/main/pangomm/APKBUILD
index 6aa9441c1..b33df55a9 100644
--- a/main/pangomm/APKBUILD
+++ b/main/pangomm/APKBUILD
@@ -13,6 +13,11 @@ subpackages="$pkgname-dev $pkgname-doc"
source="http://ftp.gnome.org/pub/GNOME/sources/pangomm/${pkgver%.*}/pangomm-$pkgver.tar.xz"
_builddir="$srcdir"/$pkgname-$pkgver
+prepare() {
+ cd "$_builddir"
+ update_config_sub || return 1
+}
+
build() {
cd "$srcdir/$pkgname-$pkgver"
./configure \
diff --git a/main/pth/APKBUILD b/main/pth/APKBUILD
index 5ce830252..58e661141 100644
--- a/main/pth/APKBUILD
+++ b/main/pth/APKBUILD
@@ -14,14 +14,20 @@ source="ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz
pth-2.0.6-sigstack.patch
"
-build () {
- cd "$srcdir"/$pkgname-$pkgver
+_builddir="$srcdir/$pkgname-$pkgver"
+
+prepare() {
+ cd "$_builddir"
+ update_config_sub || return 1
for i in ../*.patch; do
msg "Applying $i..."
patch -p1 < $i || return 1
done
+}
+build() {
+ cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -35,7 +41,7 @@ build () {
}
package() {
- cd "$srcdir"/$pkgname-$pkgver
+ cd "$_builddir"
make -j1 DESTDIR="$pkgdir" install
rm "$pkgdir"/usr/lib/*.la
}
diff --git a/main/py-gtk/APKBUILD b/main/py-gtk/APKBUILD
index 7e9cf6c85..52bbfef03 100644
--- a/main/py-gtk/APKBUILD
+++ b/main/py-gtk/APKBUILD
@@ -18,13 +18,14 @@ subpackages="$pkgname-dev $pkgname-doc $pkgname-demo"
_builddir="$srcdir"/pygtk-$pkgver
prepare() {
- local i
- cd "$_builddir"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
+ 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;;
+ esac
+ done
# disable pyc
echo '#!/bin/sh' > py-compile
libtoolize --force && aclocal -I m4 && autoconf \