mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-18 19:49:40 +00:00
- Add patch to fix installation without NLS
- Pester user about NLS and DOCS configuration options - Bump PORTREVISION Reported by: dougb
This commit is contained in:
parent
f75cef99cf
commit
1c3882eba2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=300665
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= texi2html
|
||||
PORTVERSION= 5.0
|
||||
PORTREVISION= 1
|
||||
PORTEPOCH= 1
|
||||
CATEGORIES= textproc
|
||||
MASTER_SITES= SAVANNAH
|
||||
@ -22,6 +23,8 @@ USE_BZIP2= yes
|
||||
USE_PERL5= yes
|
||||
USE_GMAKE= yes
|
||||
|
||||
OPTIONS_DEFINE= NLS DOCS
|
||||
|
||||
PROGRAM_PREFIX?=
|
||||
PLIST_SUB= PROGRAM_PREFIX=${PROGRAM_PREFIX} \
|
||||
TEXINFODIR=share/texinfo
|
||||
|
14
textproc/texi2html/files/patch-texi2html.pl
Normal file
14
textproc/texi2html/files/patch-texi2html.pl
Normal file
@ -0,0 +1,14 @@
|
||||
--- texi2html.pl 2012-07-09 10:54:41.000000000 +0200
|
||||
+++ /usr/local/bin/texi2html 2012-07-09 10:53:16.000000000 +0200
|
||||
@@ -1993,6 +1933,11 @@
|
||||
# Messages should be untranslated for tests.
|
||||
Locale::Messages::bindtextdomain ($messages_textdomain, "$datadir/locale");
|
||||
}
|
||||
+else
|
||||
+{
|
||||
+ unshift @INC, "$pkgdatadir/lib/libintl-perl/lib";
|
||||
+ require Locale::Messages;
|
||||
+}
|
||||
|
||||
sub __($)
|
||||
{
|
Loading…
Reference in New Issue
Block a user