Please test the attached patch that addresses the pod2man issue.

Tim

On Tuesday 24 May 2016 09:24:44 Ryan Schmidt wrote:
> On May 24, 2016, at 5:55 AM, Tim Ruehsen wrote:
> > Hi Karl,
> > 
> > thanks for pointing out those issue(s).
> > 
> >> Perl... Exactly which version does not matter.
> > 
> > It matters. AFAICS, Perl 5.8 introduced UTF-8 in 2002.
> > So perhaps your system is even older !?
> > (Just out of curiosity, what is it ?)
> 
> MacPorts users observed this problem with Mac OS X 10.6 "Snow Leopard",
> which was released in 2009.
> 
> https://trac.macports.org/ticket/50164
> 
> We addressed it by using a newer pod2man installed by MacPorts instead of
> the older one included with OS X.
> > That lets me ask why are you sticking around with old software *and* at
> > the
> > same time you try to build latest software (at least wget).
> 
> Some users dislike the user interface changes Apple made in OS X 10.7 and
> later and stick with 10.6 by choice. Others have older computers incapable
> of running newer versions of OS X, or they believe the performance of their
> computer will be adversely affected by upgrading to newer versions of OS X.
> Nevertheless, they may wish to install software like wget that's not
> included with the OS.
> 
> Requiring a newer pod2man is not terrible, and for users using a package
> manager is not an inconvenience if the package maintainer added the right
> dependencies. However, I don't disagree with Karl that including
> pre-generated manpages in the source tarball might be reasonable, just as
> it is reasonable to pre-generate the configure script and Makefiles. Also,
> I am in favor of configure-time checks for the capabilities you need. If
> you need pod2man to support --utf8, I would expect the configure script to
> check for that and bail with a helpful error message (e.g. recommending
> upgrading the perl installation), rather than failing at build time.
>From 302aa79abb17a2b621e2191723e5e2cf3ebc5dbb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Tim=20R=C3=BChsen?= <tim.rueh...@gmx.de>
Date: Fri, 27 May 2016 16:44:50 +0200
Subject: [PATCH] Fallback to pod2man without utf-8 on error

* doc/Makefile.am: Fallback to pod2man without utf-8 on error
---
 doc/Makefile.am | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/doc/Makefile.am b/doc/Makefile.am
index 5675d09..6fd4ad9 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -57,7 +57,10 @@ wget.pod: $(srcdir)/wget.texi version.texi
 	$(TEXI2POD) -D VERSION="$(VERSION)" $(srcdir)/wget.texi $@
 
 $(MAN): wget.pod
-	$(POD2MAN) --center="GNU Wget" --release="GNU Wget @VERSION@" --utf8 $? > $@
+	$(POD2MAN) --center="GNU Wget" --release="GNU Wget @VERSION@" --utf8 $? > $@; \
+	if [ $? != 0 ]; then \
+          $(POD2MAN) --center="GNU Wget" --release="GNU Wget @VERSION@" $? > $@; \
+	fi
 
 #wget.cat: $(MAN)
 #	nroff -man $? > $@
-- 
2.8.1

Reply via email to