aboutsummaryrefslogtreecommitdiffstats
path: root/x11/xf86-input-keyboard
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-12-17 20:39:51 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-12-17 20:39:51 +0000
commit0b2726014c620015f9e0c4b2d054f379090cc5dd (patch)
treec95278f98ac7dcb3c40aeb9b43b3d6ba25d1344e /x11/xf86-input-keyboard
parent28a99d1025117434a6264513d4dbdcc919b787b1 (diff)
downloadaports-0b2726014c620015f9e0c4b2d054f379090cc5dd.tar.bz2
aports-0b2726014c620015f9e0c4b2d054f379090cc5dd.tar.xz
x11/xf86-input-keyboard: rebuild with gcc-4.4.2
Diffstat (limited to 'x11/xf86-input-keyboard')
-rw-r--r--x11/xf86-input-keyboard/APKBUILD10
1 files changed, 6 insertions, 4 deletions
diff --git a/x11/xf86-input-keyboard/APKBUILD b/x11/xf86-input-keyboard/APKBUILD
index b9299b07ed..4c5fc14f79 100644
--- a/x11/xf86-input-keyboard/APKBUILD
+++ b/x11/xf86-input-keyboard/APKBUILD
@@ -10,13 +10,15 @@ depends=
makedepends="pkgconfig libxkbfile-dev xorg-server-dev libxi-dev libxrandr-dev"
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 || 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
}