From 85a1a01a3f10f537b0e86cef330887cb15aa9a77 Mon Sep 17 00:00:00 2001 From: Cedric Girard Date: Fri, 4 Jan 2013 11:20:05 +0100 Subject: [PATCH] updated libcec-git PKGBUILD with fPIC correction --- .SRCINFO | 4 ++-- PKGBUILD | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 30263c6..8df0ef0 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,6 +1,6 @@ pkgbase = libcec-git pkgdesc = Pulse-Eight's libcec for the Pulse-Eight USB-CEC adapter - pkgver = 20120515 + pkgver = 20130104 pkgrel = 1 url = https://github.com/Pulse-Eight/libcec arch = i686 @@ -8,7 +8,7 @@ pkgbase = libcec-git license = GPL makedepends = git depends = udev>=151 - depends = lockdev + depends = lockdev-fpic provides = libcec conflicts = libcec options = !libtool diff --git a/PKGBUILD b/PKGBUILD index 4813728..c261523 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,14 +1,14 @@ # Maintainer: Cedric Girard pkgname=libcec-git -pkgver=20120515 +pkgver=20130104 pkgrel=1 pkgdesc="Pulse-Eight's libcec for the Pulse-Eight USB-CEC adapter" arch=('i686' 'x86_64') url="https://github.com/Pulse-Eight/libcec" license=('GPL') makedepends=('git') -depends=('udev>=151' 'lockdev') +depends=('udev>=151' 'lockdev-fpic') provides=('libcec') conflicts=('libcec') options=('!libtool') @@ -34,6 +34,7 @@ build() { git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build" cd "$srcdir/$_gitname-build" + sed 's/^LIBS_LIBCEC="$LIBS".*/LIBS_LIBCEC="$LIBS -fPIC"/' -i configure.ac autoreconf -vif ./configure --prefix=/usr make