aboutsummaryrefslogtreecommitdiffstats
path: root/main/libxxf86misc
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2013-10-02 18:37:03 +0000
committerTimo Teräs <timo.teras@iki.fi>2013-10-02 18:37:03 +0000
commit84bae70a2cba7ff39657d52361876b83f0e0af36 (patch)
treeda5d9c0312bcb7e1542660bf385e41ef7fc9e92c /main/libxxf86misc
parent5e53e9d767d907b8df81fb8019dd9fdf278704db (diff)
downloadaports-84bae70a2cba7ff39657d52361876b83f0e0af36.tar.bz2
aports-84bae70a2cba7ff39657d52361876b83f0e0af36.tar.xz
main/[various]: update config.sub
Diffstat (limited to 'main/libxxf86misc')
-rw-r--r--main/libxxf86misc/APKBUILD11
1 files changed, 9 insertions, 2 deletions
diff --git a/main/libxxf86misc/APKBUILD b/main/libxxf86misc/APKBUILD
index 1529d841ad..adea8e91b3 100644
--- a/main/libxxf86misc/APKBUILD
+++ b/main/libxxf86misc/APKBUILD
@@ -12,8 +12,15 @@ makedepends="pkgconfig libxext-dev libx11-dev xf86miscproto"
source="http://xorg.freedesktop.org/releases/individual/lib/libXxf86misc-$pkgver.tar.bz2"
depends_dev="xf86miscproto libx11-dev libxext-dev"
+_builddir="$srcdir/libXxf86misc-$pkgver"
+
+prepare() {
+ cd "$_builddir"
+ update_config_sub || return 1
+}
+
build() {
- cd "$srcdir"/libXxf86misc-$pkgver
+ cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -24,7 +31,7 @@ build() {
}
package() {
- cd "$srcdir"/libXxf86misc-$pkgver
+ cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
rm "$pkgdir"/usr/lib/*.la
}