ports/78215: wmWeather will not compile on V4
Randy Pratt
rpratt1950 at earthlink.net
Tue Mar 1 18:56:07 UTC 2005
On Tue, 01 Mar 2005 09:04:36 +0100
Florent Thoumie <flz at xbsd.org> wrote:
> Kevin Oberman wrote:
> > The following reply was made to PR ports/78215; it has been noted by GNATS.
> >
> > From: "Kevin Oberman" <oberman at es.net>
> > To: Florent Thoumie <flz at xbsd.org>
> > Cc: FreeBSD-gnats-submit at FreeBSD.org
> > Subject: Re: ports/78215: wmWeather will not compile on V4
> > Date: Mon, 28 Feb 2005 16:34:58 -0800
> >
> > > Date: Mon, 28 Feb 2005 23:47:25 +0100
> > > From: Florent Thoumie <flz at xbsd.org>
> > >
> > > This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
> > > --------------enigCF469F48C494F059E91F4CD4
> > > Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> > > Content-Transfer-Encoding: 7bit
> > >
> > > Kevin Oberman wrote:
> > >
> > > > I can no longer build wmWeather on a V4 system as it now calls
> > > > getopt_long which is not available in 4.11. It was added in V5.
> > >
> > > Could you try to put USE_GETOPT_LONG=yes in the port's
> > > Makefile ?
> >
> > Makes no difference, I'm afraid.
> >
> > Thanks for the suggestion, though.
>
> Weird.
I modified my misc/wmweather/Makefile to add -lgnugetopt:
CONFIGURE_ARGS+=CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib -lgnugetopt"
^^^^^^^^^^^
which allows it to link and build. It seems like USE_GETOPT_LONG=yes
should work but it doesn't for me either (4.12-STABLE).
HTH
Randy
> Just for the record, there's a missing (conditional) dependency
> on xmessage [1].
>
> [1] http://www.xbsd.org/tb/errors/4-i386-freebsd/wmweather-2.4.3.log
>
--
More information about the freebsd-ports-bugs
mailing list