summaryrefslogtreecommitdiffstats
path: root/x11/xf86-video-sunffb/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'x11/xf86-video-sunffb/APKBUILD')
-rw-r--r--x11/xf86-video-sunffb/APKBUILD4
1 files changed, 3 insertions, 1 deletions
diff --git a/x11/xf86-video-sunffb/APKBUILD b/x11/xf86-video-sunffb/APKBUILD
index b4a347e53..e4e07d9d2 100644
--- a/x11/xf86-video-sunffb/APKBUILD
+++ b/x11/xf86-video-sunffb/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xf86-video-sunffb
pkgver=1.2.0
-pkgrel=0
+pkgrel=1
pkgdesc="SUNFFB video driver"
url="http://xorg.freedesktop.org/"
license="custom"
@@ -15,6 +15,8 @@ source="http://xorg.freedesktop.org//releases/individual/driver/$pkgname-$pkgver
build ()
{
cd "$srcdir"/$pkgname-$pkgver
+ ${CC:-gcc} -dumpspecs | sed 's/%(link_now)//g' > "$srcdir"/gcc-specs
+ export GCC_SPECS="$srcdir"/gcc-specs
./configure --prefix=/usr || return 1
make || return 1
make DESTDIR="$pkgdir" install || return 1