diff options
33 files changed, 89 insertions, 14 deletions
diff --git a/main/glu/APKBUILD b/main/glu/APKBUILD index 4f88ce8d9..f2113a528 100644 --- a/main/glu/APKBUILD +++ b/main/glu/APKBUILD @@ -18,6 +18,7 @@ _builddir="$srcdir"/glu-$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/gst-plugins-base/APKBUILD b/main/gst-plugins-base/APKBUILD index 5aec95753..66c188d33 100644 --- a/main/gst-plugins-base/APKBUILD +++ b/main/gst-plugins-base/APKBUILD @@ -20,6 +20,7 @@ _builddir="$srcdir"/$pkgname-$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/libgnome-keyring/APKBUILD b/main/libgnome-keyring/APKBUILD index 55d738c7c..c93d909d2 100644 --- a/main/libgnome-keyring/APKBUILD +++ b/main/libgnome-keyring/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/libva/APKBUILD b/main/libva/APKBUILD index 02b35cbc3..74c62280d 100644 --- a/main/libva/APKBUILD +++ b/main/libva/APKBUILD @@ -18,6 +18,7 @@ _builddir="$srcdir"/libva-$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/sdl/APKBUILD b/main/sdl/APKBUILD index ba9b6bb51..61a68822d 100644 --- a/main/sdl/APKBUILD +++ b/main/sdl/APKBUILD @@ -17,6 +17,7 @@ _builddir="$srcdir"/SDL-$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/xf86-input-keyboard/APKBUILD b/main/xf86-input-keyboard/APKBUILD index 4024896c9..718f0812d 100644 --- a/main/xf86-input-keyboard/APKBUILD +++ b/main/xf86-input-keyboard/APKBUILD @@ -11,8 +11,15 @@ depends= makedepends="pkgconfig libxkbfile-dev xorg-server-dev libxi-dev libxrandr-dev" source="http://xorg.freedesktop.org/releases/individual/driver/$pkgname-$pkgver.tar.bz2" +_builddir="$srcdir/$pkgname-$pkgver" + +prepare() { + cd "$_builddir" + update_config_sub || return 1 +} + build() { - cd "$srcdir"/$pkgname-$pkgver + cd "$_builddir" export LDFLAGS="$LDFLAGS -Wl,-z,lazy" ./configure \ --build=$CBUILD \ @@ -23,7 +30,7 @@ build() { } package() { - cd "$srcdir"/$pkgname-$pkgver + cd "$_builddir" make DESTDIR="$pkgdir" install || return 1 rm "$pkgdir"/usr/lib/xorg/modules/*/*.la || return 1 install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING diff --git a/main/xf86-input-mouse/APKBUILD b/main/xf86-input-mouse/APKBUILD index 31027bda4..50a6b1cbe 100644 --- a/main/xf86-input-mouse/APKBUILD +++ b/main/xf86-input-mouse/APKBUILD @@ -11,8 +11,15 @@ depends= makedepends="pkgconfig libxkbfile-dev xorg-server-dev libxi-dev libxrandr-dev" source="http://xorg.freedesktop.org/releases/individual/driver/$pkgname-$pkgver.tar.bz2" +_builddir="$srcdir/$pkgname-$pkgver" + +prepare() { + cd "$_builddir" + update_config_sub || return 1 +} + build() { - cd "$srcdir"/$pkgname-$pkgver + cd "$_builddir" export LDFLAGS="$LDFLAGS -Wl,-z,lazy" ./configure \ --build=$CBUILD \ @@ -23,7 +30,7 @@ build() { } package() { - cd "$srcdir"/$pkgname-$pkgver + cd "$_builddir" make DESTDIR="$pkgdir" install || return 1 rm "$pkgdir"/usr/lib/xorg/modules/input/*.la || return 1 install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING diff --git a/main/xf86-input-synaptics/APKBUILD b/main/xf86-input-synaptics/APKBUILD index 9ec72b027..97ed9d089 100644 --- a/main/xf86-input-synaptics/APKBUILD +++ b/main/xf86-input-synaptics/APKBUILD @@ -12,8 +12,15 @@ makedepends="pkgconfig libxkbfile-dev xorg-server-dev libxi-dev libxrandr-dev mtdev-dev libxtst-dev" source="http://xorg.freedesktop.org/releases/individual/driver/$pkgname-$pkgver.tar.bz2" +_builddir="$srcdir/$pkgname-$pkgver" + +prepare() { + cd "$_builddir" + update_config_sub || return 1 +} + build() { - cd "$srcdir"/$pkgname-$pkgver + cd "$_builddir" export LDFLAGS="$LDFLAGS -Wl,-z,lazy" ./configure \ --build=$CBUILD \ @@ -24,7 +31,7 @@ build() { } package() { - cd "$srcdir"/$pkgname-$pkgver + cd "$_builddir" make DESTDIR="$pkgdir" install || return 1 rm "$pkgdir"/usr/lib/xorg/modules/input/*.la || return 1 install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING diff --git a/main/xf86-input-vmmouse/APKBUILD b/main/xf86-input-vmmouse/APKBUILD index 7139b8d0c..8d45077b2 100644 --- a/main/xf86-input-vmmouse/APKBUILD +++ b/main/xf86-input-vmmouse/APKBUILD @@ -11,8 +11,15 @@ depends= makedepends="pkgconfig libxkbfile-dev xorg-server-dev libxi-dev libxrandr-dev" source="http://xorg.freedesktop.org/releases/individual/driver/$pkgname-$pkgver.tar.bz2" +_builddir="$srcdir/$pkgname-$pkgver" + +prepare() { + cd "$_builddir" + update_config_sub || return 1 +} + build() { - cd "$srcdir"/$pkgname-$pkgver + cd "$_builddir" export LDFLAGS="$LDFLAGS -Wl,-z,lazy" ./configure \ --build=$CBUILD \ @@ -23,7 +30,7 @@ build() { } package() { - cd "$srcdir"/$pkgname-$pkgver + cd "$_builddir" make DESTDIR="$pkgdir" install || return 1 rm "$pkgdir"/usr/lib/xorg/modules/*/*.la || return 1 install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING diff --git a/main/xf86-video-apm/APKBUILD b/main/xf86-video-apm/APKBUILD index 9621f1e4a..c2f1008d4 100644 --- a/main/xf86-video-apm/APKBUILD +++ b/main/xf86-video-apm/APKBUILD @@ -17,6 +17,7 @@ source="http://xorg.freedesktop.org/releases/individual/driver/$pkgname-$pkgver. 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/xf86-video-ark/APKBUILD b/main/xf86-video-ark/APKBUILD index 1ba1d8ee3..3157ecd99 100644 --- a/main/xf86-video-ark/APKBUILD +++ b/main/xf86-video-ark/APKBUILD @@ -17,6 +17,7 @@ source="http://xorg.freedesktop.org//releases/individual/driver/$pkgname-$pkgver _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/xf86-video-ast/APKBUILD b/main/xf86-video-ast/APKBUILD index 57d1a7ac7..44adcf545 100644 --- a/main/xf86-video-ast/APKBUILD +++ b/main/xf86-video-ast/APKBUILD @@ -17,6 +17,7 @@ source="http://xorg.freedesktop.org/releases/individual/driver/$pkgname-$pkgver. _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/xf86-video-chips/APKBUILD b/main/xf86-video-chips/APKBUILD index d06527a25..76dfe066d 100644 --- a/main/xf86-video-chips/APKBUILD +++ b/main/xf86-video-chips/APKBUILD @@ -17,6 +17,7 @@ source="http://xorg.freedesktop.org/releases/individual/driver/$pkgname-$pkgver. 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/xf86-video-cirrus/APKBUILD b/main/xf86-video-cirrus/APKBUILD index 160a38318..2b5d9670c 100644 --- a/main/xf86-video-cirrus/APKBUILD +++ b/main/xf86-video-cirrus/APKBUILD @@ -15,6 +15,7 @@ source="http://xorg.freedesktop.org/releases/individual/driver/$pkgname-$pkgver. prepare() { cd "$srcdir"/$pkgname-$pkgver + update_config_sub || return 1 for i in $source; do case $i in *.patch) patch -p1 -i "$srcdir"/$i || return 1 diff --git a/main/xf86-video-geode/APKBUILD b/main/xf86-video-geode/APKBUILD index 9bd45d995..f9314aea6 100644 --- a/main/xf86-video-geode/APKBUILD +++ b/main/xf86-video-geode/APKBUILD @@ -17,6 +17,7 @@ source="http://xorg.freedesktop.org/releases/individual/driver/$pkgname-$pkgver. 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/xf86-video-glint/APKBUILD b/main/xf86-video-glint/APKBUILD index 94d3f4e21..7c778d663 100644 --- a/main/xf86-video-glint/APKBUILD +++ b/main/xf86-video-glint/APKBUILD @@ -18,6 +18,7 @@ source="http://xorg.freedesktop.org/releases/individual/driver/$pkgname-$pkgver. _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/xf86-video-i128/APKBUILD b/main/xf86-video-i128/APKBUILD index f2f3ef5a1..4a3cda51c 100644 --- a/main/xf86-video-i128/APKBUILD +++ b/main/xf86-video-i128/APKBUILD @@ -17,6 +17,7 @@ source="http://xorg.freedesktop.org/releases/individual/driver/$pkgname-$pkgver. _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/xf86-video-i740/APKBUILD b/main/xf86-video-i740/APKBUILD index 80a71a782..006fdffeb 100644 --- a/main/xf86-video-i740/APKBUILD +++ b/main/xf86-video-i740/APKBUILD @@ -17,6 +17,7 @@ source="http://xorg.freedesktop.org/releases/individual/driver/$pkgname-$pkgver. _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/xf86-video-intel/APKBUILD b/main/xf86-video-intel/APKBUILD index 26c2866da..6a253b891 100644 --- a/main/xf86-video-intel/APKBUILD +++ b/main/xf86-video-intel/APKBUILD @@ -18,6 +18,7 @@ source="http://xorg.freedesktop.org/releases/individual/driver/$pkgname-$pkgver. _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/xf86-video-nv/APKBUILD b/main/xf86-video-nv/APKBUILD index ea6c985c3..aa8719e9d 100644 --- a/main/xf86-video-nv/APKBUILD +++ b/main/xf86-video-nv/APKBUILD @@ -17,6 +17,7 @@ source="http://xorg.freedesktop.org/releases/individual/driver/$pkgname-$pkgver. _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/xf86-video-openchrome/APKBUILD b/main/xf86-video-openchrome/APKBUILD index 741f69d31..665c2475f 100644 --- a/main/xf86-video-openchrome/APKBUILD +++ b/main/xf86-video-openchrome/APKBUILD @@ -19,6 +19,7 @@ source="http://www.openchrome.org/releases/xf86-video-openchrome-$pkgver.tar.bz2 _builddir="$srcdir"/$pkgname-$pkgver prepare() { cd "$_builddir" + update_config_sub || return 1 for i in $source; do case $i in *.patch) msg $i; patch -p0 -i "$srcdir"/$i || return 1;; diff --git a/main/xf86-video-r128/APKBUILD b/main/xf86-video-r128/APKBUILD index 24322e9e2..261ab7a37 100644 --- a/main/xf86-video-r128/APKBUILD +++ b/main/xf86-video-r128/APKBUILD @@ -15,8 +15,15 @@ makedepends="pkgconfig xorg-server-dev libxi-dev fontsproto randrproto source="http://xorg.freedesktop.org/releases/individual/driver/$pkgname-$pkgver.tar.bz2" +_builddir="$srcdir/$pkgname-$pkgver" + +prepare() { + cd "$_builddir" + update_config_sub || return 1 +} + build() { - cd "$srcdir"/$pkgname-$pkgver + cd "$_builddir" export LDFLAGS="$LDFLAGS -Wl,-z,lazy" ./configure \ --build=$CBUILD \ @@ -28,7 +35,7 @@ build() { } package() { - cd "$srcdir"/$pkgname-$pkgver + cd "$_builddir" make DESTDIR="$pkgdir" install || return 1 rm "$pkgdir"/usr/lib/xorg/modules/*/*.la || return 1 install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING diff --git a/main/xf86-video-rendition/APKBUILD b/main/xf86-video-rendition/APKBUILD index d89eda86c..905661e84 100644 --- a/main/xf86-video-rendition/APKBUILD +++ b/main/xf86-video-rendition/APKBUILD @@ -16,6 +16,7 @@ source="http://xorg.freedesktop.org/releases/individual/driver/$pkgname-$pkgver. 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/xf86-video-s3/APKBUILD b/main/xf86-video-s3/APKBUILD index b62e60787..caf598a85 100644 --- a/main/xf86-video-s3/APKBUILD +++ b/main/xf86-video-s3/APKBUILD @@ -17,6 +17,7 @@ source="http://xorg.freedesktop.org//releases/individual/driver/$pkgname-$pkgver _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/xf86-video-s3virge/APKBUILD b/main/xf86-video-s3virge/APKBUILD index 1dfd799aa..2364b964b 100644 --- a/main/xf86-video-s3virge/APKBUILD +++ b/main/xf86-video-s3virge/APKBUILD @@ -15,6 +15,7 @@ source="http://xorg.freedesktop.org/releases/individual/driver/$pkgname-$pkgver. 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/xf86-video-savage/APKBUILD b/main/xf86-video-savage/APKBUILD index e60bf1bcc..af18412fa 100644 --- a/main/xf86-video-savage/APKBUILD +++ b/main/xf86-video-savage/APKBUILD @@ -14,8 +14,15 @@ makedepends="pkgconfig xorg-server-dev libxi-dev fontsproto randrproto source="http://xorg.freedesktop.org/releases/individual/driver/$pkgname-$pkgver.tar.bz2" +_builddir="$srcdir/$pkgname-$pkgver" + +prepare() { + cd "$_builddir" + update_config_sub || return 1 +} + build() { - cd "$srcdir"/$pkgname-$pkgver + cd "$_builddir" export LDFLAGS="$LDFLAGS -Wl,-z,lazy" ./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/xorg/modules/*/*.la || return 1 install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING diff --git a/main/xf86-video-siliconmotion/APKBUILD b/main/xf86-video-siliconmotion/APKBUILD index 967cf5cf9..bb054d0da 100644 --- a/main/xf86-video-siliconmotion/APKBUILD +++ b/main/xf86-video-siliconmotion/APKBUILD @@ -18,6 +18,7 @@ source="http://xorg.freedesktop.org/releases/individual/driver/$pkgname-$pkgver. _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/xf86-video-sis/APKBUILD b/main/xf86-video-sis/APKBUILD index 386844c56..afd246099 100644 --- a/main/xf86-video-sis/APKBUILD +++ b/main/xf86-video-sis/APKBUILD @@ -18,6 +18,7 @@ source="http://xorg.freedesktop.org/releases/individual/driver/$pkgname-$pkgver. _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/xf86-video-tdfx/APKBUILD b/main/xf86-video-tdfx/APKBUILD index 4564e730c..5717727df 100644 --- a/main/xf86-video-tdfx/APKBUILD +++ b/main/xf86-video-tdfx/APKBUILD @@ -19,6 +19,7 @@ source="http://xorg.freedesktop.org/releases/individual/driver/$pkgname-$pkgver. _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/xf86-video-v4l/APKBUILD b/main/xf86-video-v4l/APKBUILD index b6d392fa9..03d79b2a9 100644 --- a/main/xf86-video-v4l/APKBUILD +++ b/main/xf86-video-v4l/APKBUILD @@ -13,8 +13,15 @@ makedepends="pkgconfig xorg-server-dev libxi-dev fontsproto randrproto source="http://xorg.freedesktop.org/releases/individual/driver/$pkgname-$pkgver.tar.bz2" +_builddir="$srcdir/$pkgname-$pkgver" + +prepare() { + cd "$_builddir" + update_config_sub || return 1 +} + build() { - cd "$srcdir"/$pkgname-$pkgver + cd "$_builddir" export LDFLAGS="$LDFLAGS -Wl,-z,lazy" ./configure \ --build=$CBUILD \ @@ -25,7 +32,7 @@ build() { } package() { - cd "$srcdir"/$pkgname-$pkgver + cd "$_builddir" make DESTDIR="$pkgdir" install || return 1 rm "$pkgdir"/usr/lib/xorg/modules/*/*.la || return 1 install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING diff --git a/main/xf86-video-vesa/APKBUILD b/main/xf86-video-vesa/APKBUILD index 63662e8bb..43aed3341 100644 --- a/main/xf86-video-vesa/APKBUILD +++ b/main/xf86-video-vesa/APKBUILD @@ -18,6 +18,7 @@ source="http://xorg.freedesktop.org/releases/individual/driver/$pkgname-$pkgver. _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/xf86-video-vmware/APKBUILD b/main/xf86-video-vmware/APKBUILD index fd37ea5e8..4254f0f4d 100644 --- a/main/xf86-video-vmware/APKBUILD +++ b/main/xf86-video-vmware/APKBUILD @@ -15,6 +15,7 @@ source="http://xorg.freedesktop.org/releases/individual/driver/$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/xf86-video-xgixp/APKBUILD b/main/xf86-video-xgixp/APKBUILD index c21c2cdd6..3fa68c9c9 100644 --- a/main/xf86-video-xgixp/APKBUILD +++ b/main/xf86-video-xgixp/APKBUILD @@ -15,6 +15,7 @@ source="http://xorg.freedesktop.org/releases/individual/driver/$pkgname-$pkgver. _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;; |