Commit 28a99d10 authored by Natanael Copa's avatar Natanael Copa

x11/xf86-input-mouse: rebuild with gcc-4.4.2

And use LDFLAGS for lazy binding
parent a7a7d934
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xf86-input-mouse
pkgver=1.5.0
pkgrel=1
pkgrel=2
pkgdesc="X.org mouse input driver"
url="http://xorg.freedesktop.org/"
license="custom"
......@@ -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
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment