summaryrefslogtreecommitdiff
path: root/extra/elfutils/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/elfutils/PKGBUILD')
-rw-r--r--extra/elfutils/PKGBUILD15
1 files changed, 10 insertions, 5 deletions
diff --git a/extra/elfutils/PKGBUILD b/extra/elfutils/PKGBUILD
index 8cbee1e68..091962b0e 100644
--- a/extra/elfutils/PKGBUILD
+++ b/extra/elfutils/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=elfutils
pkgver=0.154
pkgrel=1
pkgdesc="Collection of libraries and utilities for working with ELF object files and DWARF debugging information"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="https://fedorahosted.org/elfutils/"
license=('LGPL3' 'GPL' 'GPL3')
depends=('gcc-libs' 'zlib' 'bzip2' 'xz')
@@ -15,15 +15,20 @@ replaces=('libelf')
conflicts=('libelf')
options=('!makeflags')
source=(https://fedorahosted.org/releases/e/l/elfutils/${pkgver}/elfutils-${pkgver}.tar.bz2{,.sig} \
- elfutils-0.154-binutils-pr-ld-13621.patch)
-sha1sums=('3a92a6f636cc3d14d4b3b00ba5c1e88a2a8d510b'
- '956461d44b03823e0b448e78b1f4aa25ef269e1e'
- '09681b728edb86c77eed47286554bef048f3507f')
+ elfutils-0.154-binutils-pr-ld-13621.patch
+ http://cdn.debian.net/debian/pool/main/e/elfutils/elfutils_${pkgver}-1.debian.tar.gz)
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
+
+ for patch in $(cat ../debian/patches/series) ; do
+ patch -Np1 -i "../debian/patches/$patch"
+ done
+
CFLAGS+=" -g" # required for test-suite success
+
patch -p1 -i "${srcdir}/elfutils-0.154-binutils-pr-ld-13621.patch"
+
./configure --prefix=/usr --program-prefix="eu-"
make
}