Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Jul 2019 15:47:20 -0600
From:      Adam Weinberger <adamw@adamw.org>
To:        Sid <sid@bsdmail.com>
Cc:        FreeBSD Ports <freebsd-ports@freebsd.org>
Subject:   Re: www/weblint error message
Message-ID:  <CAP7rwchq__u8%2B5U_Ok5PWKfz=5FSBfdDMSJaEi7MDGtoS-SvNA@mail.gmail.com>
In-Reply-To: <CAP7rwcgZEKUOSCdDLT_HO9CMp03RFw-nb7_T3zYLZ8A7gyj_VQ@mail.gmail.com>
References:  <trinity-c4baf29f-8e03-4670-b8ea-0aeb9ff77ee4-1563650556392@3c-app-mailcom-lxa06> <CAP7rwci%2BOf3BXWn-Jwz1ojBjeOE6-4zHbSHH4szGcKFmybfvOQ@mail.gmail.com> <trinity-a177debf-8ca4-414b-92ed-7010c29d9370-1563657563756@3c-app-mailcom-lxa08> <CAP7rwcgZEKUOSCdDLT_HO9CMp03RFw-nb7_T3zYLZ8A7gyj_VQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jul 20, 2019 at 3:35 PM Adam Weinberger <adamw@adamw.org> wrote:
>
> On Sat, Jul 20, 2019 at 3:19 PM Sid <sid@bsdmail.com> wrote:
> >
> > Thanks,
> >
> > Here's the line:
> >               &whine($., 'expected-attribute', $id) unless defined %args;
> >
> > After removing "defined" or "unless defined %args", this is the error message when running weblint:
> >               Can't locate newgetopt.pl in @INC (@INC contains: /usr/local/lib/perl5/site_perl/mach/5.28 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.28/mach /usr/local/lib/perl5/5.28) at /usr/local/bin/weblint line 510.
> >
> > Adding "SITECUSTOMIZE" to the perl5.28 (make config) configuration option didn't make a difference. www/weblint's file(s) will have to be updated.
>
> The port is an absolute mess. Not the least of its problems is the
> fact that it's a perl script that doesn't depend on perl. newgetopt.pl
> hasn't been distributed with perl for more than 7 years. It also uses
> find.pl which also hasn't been included in many years. Upstream for it
> has disappeared, and it should really just be removed.

I removed it. It's too busted to even fix. I'd suggest using
p5-HTML-Lint instead. Thanks for reporting this, Sid.

# Adam


-- 
Adam Weinberger
adamw@adamw.org
https://www.adamw.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAP7rwchq__u8%2B5U_Ok5PWKfz=5FSBfdDMSJaEi7MDGtoS-SvNA>