From owner-freebsd-ports@FreeBSD.ORG  Thu Jul 12 18:24:45 2007
Return-Path: <owner-freebsd-ports@FreeBSD.ORG>
X-Original-To: freebsd-ports@freebsd.org
Delivered-To: freebsd-ports@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 9775916A421
	for <freebsd-ports@freebsd.org>; Thu, 12 Jul 2007 18:24:45 +0000 (UTC)
	(envelope-from marcin@studio4plus.com)
Received: from pe78.opole.sdi.tpnet.pl (pe78.opole.sdi.tpnet.pl
	[217.96.240.78])
	by mx1.freebsd.org (Postfix) with ESMTP id 1A60213C459
	for <freebsd-ports@freebsd.org>; Thu, 12 Jul 2007 18:24:45 +0000 (UTC)
	(envelope-from marcin@studio4plus.com)
Received: from [89.79.52.87] (helo=[192.168.0.101])
	by pe78.opole.sdi.tpnet.pl with esmtpa (Exim 4.63 (FreeBSD))
	(envelope-from <marcin@studio4plus.com>)
	id 1I93LF-000OSr-NA; Thu, 12 Jul 2007 20:24:42 +0200
Message-ID: <469671E1.3090301@studio4plus.com>
Date: Thu, 12 Jul 2007 20:24:33 +0200
From: Marcin Simonides <marcin@studio4plus.com>
User-Agent: Thunderbird 2.0.0.0 (X11/20070528)
MIME-Version: 1.0
To: Jeremy Messenger <mezz7@cox.net>
References: <4696562F.4050505@studio4plus.com>
	<op.tvc3zmis9aq2h7@mezz.mezzweb.com>
	<469666F2.8070800@studio4plus.com>
	<op.tvc59lwl9aq2h7@mezz.mezzweb.com>
In-Reply-To: <op.tvc59lwl9aq2h7@mezz.mezzweb.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: Pedro Castro <pedro@pedrocastro.org>, freebsd-ports@freebsd.org
Subject: Re: GMSGFMT variable not defined
X-BeenThere: freebsd-ports@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Porting software to FreeBSD <freebsd-ports.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-ports>,
	<mailto:freebsd-ports-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-ports>
List-Post: <mailto:freebsd-ports@freebsd.org>
List-Help: <mailto:freebsd-ports-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-ports>,
	<mailto:freebsd-ports-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Thu, 12 Jul 2007 18:24:45 -0000

Jeremy Messenger wrote:
> On Thu, 12 Jul 2007 12:37:54 -0500, Marcin Simonides 
> <marcin@studio4plus.com> wrote:
> 
>> Jeremy Messenger wrote:
>>> On Thu, 12 Jul 2007 11:26:23 -0500, Marcin Simonides
>> [...]
>>>>
>>>> I've checked with the program's aclocal.m4, it contains a line:
>>>>
>>>> AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT)
>>>>
>>>> which looks right to me - GMSGFMT should be set to $MSGFMT if the 
>>>> program is not found. msgfmt is being recognised by configure *but* 
>>>> both MSFGMT and GMSGFMT are set to "nothing" in the program's 
>>>> po/Makefile.
>>>>
>>>> There is a check for msgfmt (successful) in the configure's output, 
>>>> but none for gmsgfmt (the configure.am.
>>>  Can you show us the configure output?
>>
>> Certainly:
>>
>> ===>  Configuring for gnome-subtitles-0.6
[...]
>> checking libintl.h usability... no
>> checking libintl.h presence... no
>> checking for libintl.h... no
> <snip>
> 
> Here, this is problem. Have you tried to add this below in your Makefile 
> yet?
> 
> =====================================
> CONFIGURE_ENV=    CPPFLAGS="-I${LOCALBASE}/include" \
>         LDFLAGS="-L${LOCALBASE}/lib"
> =====================================

Oh boy, and it does say that in the Porter's Handbook <blushes>, I just 
didn't recognise that this is the case.
Adding these lines has solved the problem, thanks.

> After you add, you should see the change from 'no' to 'yes' and extra 
> details of lines related with this.

It does as you say.
-- 
Marcin Simonides