summaryrefslogtreecommitdiff
path: root/p5-locale-gettext/Pkgfile
diff options
context:
space:
mode:
authorDanny Rawlins <monster.romster@gmail.com>2014-12-13 23:32:33 +1100
committerDanny Rawlins <monster.romster@gmail.com>2014-12-13 23:33:07 +1100
commit2e330ed11ea844af3a68bb223e3705fe8f1816e9 (patch)
tree27048c671a4ef8aa5c31273ae098144235691c2d /p5-locale-gettext/Pkgfile
parentb228cf1a83f4ac2e399653e812570b31dbfdee39 (diff)
downloadcontrib-2e330ed11ea844af3a68bb223e3705fe8f1816e9.tar.gz
contrib-2e330ed11ea844af3a68bb223e3705fe8f1816e9.tar.xz
p5-locale-gettext: posix patch and update footprint
Diffstat (limited to 'p5-locale-gettext/Pkgfile')
-rw-r--r--p5-locale-gettext/Pkgfile10
1 files changed, 6 insertions, 4 deletions
diff --git a/p5-locale-gettext/Pkgfile b/p5-locale-gettext/Pkgfile
index c66458798..b230969b8 100644
--- a/p5-locale-gettext/Pkgfile
+++ b/p5-locale-gettext/Pkgfile
@@ -1,5 +1,5 @@
# Description: Locale::gettext - Interface to C library functions for internatialization.
-# URL: http://search.cpan.org/~pvandry/gettext-1.05/
+# URL: http://search.cpan.org/dist/gettext/
# Maintainer: Danny Rawlins, crux at romster dot me
# Packager: bashy, ronny kornexl at online de
# Depends on:
@@ -7,12 +7,15 @@
name=p5-locale-gettext
version=1.05
-release=2
-source=(http://www.perl.com/CPAN/authors/id/PVANDRY/gettext-$version.tar.gz)
+release=3
+source=(http://search.cpan.org/CPAN/authors/id/P/PV/PVANDRY/gettext-$version.tar.gz
+ compatibility-with-POSIX-module.patch)
build() {
cd gettext-$version
+ patch -p1 -i $SRC/compatibility-with-POSIX-module.patch
+
perl Makefile.PL
make OPTIMIZE="$CFLAGS"
make DESTDIR=$PKG install
@@ -27,4 +30,3 @@ build() {
# Remove empty directories
find $PKG -depth -empty -exec rm -rf {} \;
}
-

Generated by cgit