summaryrefslogtreecommitdiffstats
path: root/x11/xf86-video-vesa
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-05-15 07:56:11 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-05-15 07:58:51 +0000
commit458fcc719cecb6da7429688997ec928700937262 (patch)
treeba285bfbe2f033d4a5560a1d87ed510f423d021d /x11/xf86-video-vesa
parentac77009c9bc08549aa1df9065e6556aaadf3a079 (diff)
downloadaports-458fcc719cecb6da7429688997ec928700937262.tar.bz2
aports-458fcc719cecb6da7429688997ec928700937262.tar.xz
x11/xf86-video-vesa: force lazy binding during link
we create a temp GCC_SPEC that disabled -z now linker flag.
Diffstat (limited to 'x11/xf86-video-vesa')
-rw-r--r--x11/xf86-video-vesa/APKBUILD5
1 files changed, 4 insertions, 1 deletions
diff --git a/x11/xf86-video-vesa/APKBUILD b/x11/xf86-video-vesa/APKBUILD
index fdb3e930d..e0e9d3dfe 100644
--- a/x11/xf86-video-vesa/APKBUILD
+++ b/x11/xf86-video-vesa/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xf86-video-vesa
pkgver=2.2.0
-pkgrel=0
+pkgrel=1
pkgdesc="X.org vesa 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