Fixing bug FS#464.

This commit is contained in:
Daniele 2012-10-10 02:30:38 +02:00
parent 616afaf775
commit cad2accbdd
2 changed files with 38 additions and 17 deletions

View File

@ -6,28 +6,37 @@
pkgname=progsreiserfs pkgname=progsreiserfs
pkgver=0.3.0.5 pkgver=0.3.0.5
pkgrel=6 pkgrel=7
pkgdesc="library for accessing and manipulating reiserfs partitions" pkgdesc="library for accessing and manipulating reiserfs partitions"
arch=(i686 x86_64) arch=('i686' 'x86_64')
url="http://www.namesys.com" url="http://www.namesys.com"
license=('GPL') license=('GPL')
depends=('e2fsprogs') depends=('e2fsprogs')
options=('!libtool') options=('!libtool')
source=(#ftp://ftp.namesys.com/pub/libreiserfs/${pkgname}-${pkgver}.tar.gz source=("ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}.tar.gz"
ftp://ftp.archlinux.org/other/progsreiserfs/${pkgname}-${pkgver}.tar.gz 'fix-underquoted-definition.patch')
) md5sums=('d822579bbd4a29a1be5e4490869d9bee'
md5sums=('d822579bbd4a29a1be5e4490869d9bee') '0ff24db039edbcc574f59075340b003a')
build() { build() {
cd ${srcdir}/${pkgname}-${pkgver} cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr --mandir=/usr/share/man
make patch -Np1 -i "${srcdir}/fix-underquoted-definition.patch"
./configure --prefix=/usr \
--mandir=/usr/share/man
make
} }
package() { package() {
cd ${srcdir}/${pkgname}-${pkgver} cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR=${pkgdir} install make install DESTDIR="${pkgdir}"
# only provide lib and includes files
# https://bugs.archlinux.org/task/22255 # only provide lib and includes files
rm -r ${pkgdir}/usr/sbin # https://bugs.archlinux.org/task/22255
rm -r ${pkgdir}/usr/share/man/ rm -r "${pkgdir}/usr/sbin"
} rm -r "${pkgdir}/usr/share/man"
}
# vim:set ts=2 sw=2 et:

View File

@ -0,0 +1,12 @@
diff -Naur a/progsreiserfs.m4 b/progsreiserfs.m4
--- a/progsreiserfs.m4 2012-10-10 02:27:00.620967261 +0200
+++ b/progsreiserfs.m4 2012-10-10 02:27:14.490894176 +0200
@@ -10,7 +10,7 @@
dnl Adds the required libraries to $REISERFS_LIBS and does an
dnl AC_SUBST(REISERFS_LIBS)
-AC_DEFUN(AC_CHECK_LIBREISERFS,
+AC_DEFUN([AC_CHECK_LIBREISERFS],
[
dnl save LIBS