Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Mar 2005 13:56:02 -0500
From:      Randy Pratt <rpratt1950@earthlink.net>
To:        Florent Thoumie <flz@xbsd.org>
Cc:        oberman@es.net
Subject:   Re: ports/78215: wmWeather will not compile on V4
Message-ID:  <20050301135602.79189e23.rpratt1950@earthlink.net>
In-Reply-To: <42242214.3070900@xbsd.org>
References:  <200503010040.j210eKjV017463@freefall.freebsd.org> <42242214.3070900@xbsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 01 Mar 2005 09:04:36 +0100
Florent Thoumie <flz@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@es.net>
> > To: Florent Thoumie <flz@xbsd.org>
> > Cc: FreeBSD-gnats-submit@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@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
>



-- 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050301135602.79189e23.rpratt1950>