From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Feb 24 03:40:01 2014 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 624A9B8C for ; Mon, 24 Feb 2014 03:40:01 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 4E32C18D9 for ; Mon, 24 Feb 2014 03:40:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id s1O3e16W064860 for ; Mon, 24 Feb 2014 03:40:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s1O3e1ls064859; Mon, 24 Feb 2014 03:40:01 GMT (envelope-from gnats) Date: Mon, 24 Feb 2014 03:40:01 GMT Message-Id: <201402240340.s1O3e1ls064859@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org Cc: From: "Craig R. Whipp" Subject: Re: ports/186670: [patch] astro/foxtrotgps: wrong paths in pkg-plist causes install to fail X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: "Craig R. Whipp" List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Feb 2014 03:40:01 -0000 The following reply was made to PR ports/186670; it has been noted by GNATS. From: "Craig R. Whipp" To: "Florian Degner" Cc: bug-followup@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" wrote: > On Thu, 13 Feb 2014 16:44:05 +0100, Craig Whipp > 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