aboutsummaryrefslogtreecommitdiffstats
path: root/x11/xf86-video-r128
diff options
context:
space:
mode:
Diffstat (limited to 'x11/xf86-video-r128')
-rw-r--r--x11/xf86-video-r128/APKBUILD11
1 files changed, 7 insertions, 4 deletions
diff --git a/x11/xf86-video-r128/APKBUILD b/x11/xf86-video-r128/APKBUILD
index a8645d12ef..ffceb6ff9e 100644
--- a/x11/xf86-video-r128/APKBUILD
+++ b/x11/xf86-video-r128/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xf86-video-r128
pkgver=6.8.1
-pkgrel=1
+pkgrel=2
pkgdesc="ATI Rage128 video driver"
url="http://xorg.freedesktop.org/"
license="custom"
@@ -14,14 +14,17 @@ makedepends="pkgconfig xorg-server-dev libxi-dev fontsproto randrproto
source="http://xorg.freedesktop.org/releases/individual/driver/$pkgname-$pkgver.tar.bz2"
-build ()
-{
+build() {
cd "$srcdir"/$pkgname-$pkgver
- export GCC_SPECS=/usr/share/gcc/hardenednoznow.specs
+ export LDFLAGS="$LDFLAGS -Wl,-z,lazy"
./configure --prefix=/usr \
--enable-dri \
|| return 1
make || return 1
+}
+
+package() {
+ cd "$srcdir"/$pkgname-$pkgver
make DESTDIR="$pkgdir" install || return 1
install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}