[arch-commits] Commit in help2man/trunk (3 files)
Giovanni Scafora
giovanni at archlinux.org
Mon Oct 5 15:35:48 UTC 2009
Date: Monday, October 5, 2009 @ 11:35:47
Author: giovanni
Revision: 54000
upgpkg: help2man 1.36.4-4
Fixed locale gettex import and respect LDFLAGS
Added:
help2man/trunk/help2man-1.36.4-locale-gettext-import.patch
help2man/trunk/help2man-1.36.4-respect-LDFLAGS.patch
Modified:
help2man/trunk/PKGBUILD
---------------------------------------------+
PKGBUILD | 15 ++++++++++-----
help2man-1.36.4-locale-gettext-import.patch | 11 +++++++++++
help2man-1.36.4-respect-LDFLAGS.patch | 11 +++++++++++
3 files changed, 32 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2009-10-05 14:55:06 UTC (rev 53999)
+++ PKGBUILD 2009-10-05 15:35:47 UTC (rev 54000)
@@ -4,23 +4,28 @@
pkgname=help2man
pkgver=1.36.4
-pkgrel=3
+pkgrel=4
pkgdesc="Conversion tool to create man files"
arch=('i686' 'x86_64')
url="http://www.gnu.org/software/help2man/"
license=('GPL2')
depends=('glibc' 'perl-locale-gettext')
makedepends=()
-source=(http://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz)
-md5sums=('d31a0a38c2ec71faa06723f6b8bd3076')
+source=(http://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz
+ help2man-1.36.4-locale-gettext-import.patch
+ help2man-1.36.4-respect-LDFLAGS.patch)
+md5sums=('d31a0a38c2ec71faa06723f6b8bd3076'
+ '5b2f61291ca294690d2d6a3f5d857641'
+ 'ae6566e565d75dbf33a1bdf0b3bda87a')
build() {
- cd ${srcdir}/$pkgname-$pkgver
+ cd ${srcdir}/${pkgname}-${pkgver}
+ patch -Np1 -i ${srcdir}/help2man-1.36.4-locale-gettext-import.patch || return 1
+ patch -Np1 -i ${srcdir}/help2man-1.36.4-respect-LDFLAGS.patch || return 1
./configure --prefix=/usr \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--libdir=/lib
make || return 1
make DESTDIR=${pkgdir} install
- gzip -9 ${pkgdir}/usr/share/info/help2man.info
}
Added: help2man-1.36.4-locale-gettext-import.patch
===================================================================
--- help2man-1.36.4-locale-gettext-import.patch (rev 0)
+++ help2man-1.36.4-locale-gettext-import.patch 2009-10-05 15:35:47 UTC (rev 54000)
@@ -0,0 +1,11 @@
+--- a/help2man.PL 2005-10-16 08:38:47.000000000 -0700
++++ b/help2man.PL 2009-10-05 17:11:41.000000000 -0700
+@@ -102,7 +102,7 @@
+ BEGIN {
+ eval {
+ require Locale::gettext;
+- Locale::gettext->import;
++ Locale::gettext->import (qw(gettext textdomain));
+ $have_gettext = 1;
+ };
+
Added: help2man-1.36.4-respect-LDFLAGS.patch
===================================================================
--- help2man-1.36.4-respect-LDFLAGS.patch (rev 0)
+++ help2man-1.36.4-respect-LDFLAGS.patch 2009-10-05 15:35:47 UTC (rev 54000)
@@ -0,0 +1,11 @@
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -102,7 +102,7 @@
+
+ preload: $(preload).so
+ $(preload).so: $(srcdir)/$(preload).c
+- $(CC) $(CFLAGS) -o $@ -fPIC -shared $? $(LIBS)
++ $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ -fPIC -shared $? $(LIBS)
+
+ man: $(target).1
+ $(target).1: $(srcdir)/$(target).PL $(srcdir)/$(target).h2m
More information about the arch-commits
mailing list