ports/186670: [patch] astro/foxtrotgps: wrong paths in pkg-plist causes install to fail
Craig R. Whipp
crwhipp at gmail.com
Mon Feb 24 03:40:01 UTC 2014
The following reply was made to PR ports/186670; it has been noted by GNATS.
From: "Craig R. Whipp" <crwhipp at gmail.com>
To: "Florian Degner" <f.degner at gmx.de>
Cc: bug-followup at freebsd.org
Subject: Re: ports/186670: [patch] astro/foxtrotgps: wrong paths in
pkg-plist causes install to fail
Date: Sun, 23 Feb 2014 20:32:29 -0700
On Thu, 20 Feb 2014 16:12:05 +0100
"Florian Degner" <f.degner at gmx.de> wrote:
> On Thu, 13 Feb 2014 16:44:05 +0100, Craig Whipp <crwhipp at gmail.com>
> wrote:
>
> > Florian,
> >
> > Can you provide me with more details on what your configuration was
> > when you were building this? I've been unable to duplicate the
> > error on a 10.0-RELEASE machine, and applying your patch results in
> > a failure similar to what you reported in the pr.
> >
> > What FreeBSD version, output of 'uname -a', any locales configured
> > (I see you have a .de top level domain in your email),
> > customizations to make.conf, etc.
> >
> > Thanks,
> > Craig
>
>
> Craig,
>
> there's indeed something non-standard in my /etc/make.conf. The
> problem is triggered by compiling astro/foxtrotgps with gcc46.
>
> When CC=gcc46 ./configure generates different Makefiles. Things break
> because it sets DATADIRNAME=share (it's DATADIRNAME=lib when $CC is
> "cc" or "clang"). DATADIRNAME is used to determine where the locale
> files go:
>
> % find work -name "Makefile" | xargs grep DATADIRNAME
> ...
> work/foxtrotgps-1.1.1/po/Makefile:itlocaledir =
> $(prefix)/$(DATADIRNAME)/locale
> ...
> %
>
> The interesting part is that "share" is actually the correct value.
> So the real problem is that we get DATADIRNAME=lib by default. This
> in turn can be fixed in a compiler-independent fashion by setting
> DATADIRNAME via CONFIGURE_ENV (see attached patch).
>
>
> Cheers,
> Flo
Florian,
This latest patch looks good, thank you.
Could a commiter please apply the patch commit this?
Thanks,
Craig
More information about the freebsd-ports-bugs
mailing list