[arch-commits] Commit in elfutils/trunk (PKGBUILD)
Eric BĂ©langer
eric at nymeria.archlinux.org
Wed Jul 3 01:23:00 UTC 2013
Date: Wednesday, July 3, 2013 @ 03:23:00
Author: eric
Revision: 189326
Fix build issue (close FS#36006)
Modified:
elfutils/trunk/PKGBUILD
----------+
PKGBUILD | 13 +++++++++----
1 file changed, 9 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-07-02 23:00:28 UTC (rev 189325)
+++ PKGBUILD 2013-07-03 01:23:00 UTC (rev 189326)
@@ -20,20 +20,25 @@
'fcd0ebd029b305bf030983daf151a2a1ab5294af'
'8a8be7c0686c6311c1ce969ba10494e704ead48c')
+prepare() {
+ cd ${pkgname}-${pkgver}
+ patch -Np1 -i ../elfutils-0.155-binutils-pr-ld-13621.patch
+ sed -i -e 's:-Werror::g' $(find -name Makefile.in)
+}
+
build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd ${pkgname}-${pkgver}
CFLAGS+=" -g" # required for test-suite success
- patch -Np1 -i ../elfutils-0.155-binutils-pr-ld-13621.patch
./configure --prefix=/usr --program-prefix="eu-"
make
}
check() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd ${pkgname}-${pkgver}
make check
}
package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd ${pkgname}-${pkgver}
make DESTDIR="${pkgdir}" install
}
More information about the arch-commits
mailing list