aboutsummaryrefslogtreecommitdiffstats
path: root/x11/xf86-video-apm
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-05-16 20:06:19 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-05-16 20:06:19 +0000
commit182485bdd624bbab88cfc4cd14cb8e9637afbb93 (patch)
treeb543841e4634498bae1a498d5a592fbd74024dd2 /x11/xf86-video-apm
parent55783237703965c88e8899fc2aefac3185e1e52c (diff)
downloadaports-182485bdd624bbab88cfc4cd14cb8e9637afbb93.tar.bz2
aports-182485bdd624bbab88cfc4cd14cb8e9637afbb93.tar.xz
x11/*: rebuild and force bind lazy
Diffstat (limited to 'x11/xf86-video-apm')
-rw-r--r--x11/xf86-video-apm/APKBUILD5
1 files changed, 4 insertions, 1 deletions
diff --git a/x11/xf86-video-apm/APKBUILD b/x11/xf86-video-apm/APKBUILD
index dad9c115ca..770aa031bc 100644
--- a/x11/xf86-video-apm/APKBUILD
+++ b/x11/xf86-video-apm/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xf86-video-apm
pkgver=1.2.1
-pkgrel=0
+pkgrel=1
pkgdesc="Alliance ProMotion video driver"
url="http://xorg.freedesktop.org/"
license="custom"
@@ -15,6 +15,9 @@ 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