From owner-freebsd-ports@FreeBSD.ORG Mon Jun 5 10:27:47 2006 Return-Path: X-Original-To: ports@freebsd.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BA4C516A4E5; Mon, 5 Jun 2006 10:27:47 +0000 (UTC) (envelope-from Alexander@Leidinger.net) Received: from www.ebusiness-leidinger.de (jojo.ms-net.de [84.16.236.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id F0B9143D46; Mon, 5 Jun 2006 10:27:46 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from Andro-Beta.Leidinger.net (p54A5D8AC.dip.t-dialin.net [84.165.216.172]) (authenticated bits=0) by www.ebusiness-leidinger.de (8.13.4/8.13.4) with ESMTP id k55APnA8019073; Mon, 5 Jun 2006 12:25:50 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from Magellan.Leidinger.net (Magellan.Leidinger.net [192.168.1.1]) by Andro-Beta.Leidinger.net (8.13.4/8.13.3) with ESMTP id k55ARfDQ073462; Mon, 5 Jun 2006 12:27:41 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Date: Mon, 5 Jun 2006 12:27:56 +0200 From: Alexander Leidinger To: vd@freebsd.org Message-ID: <20060605122756.5eb80e7b@Magellan.Leidinger.net> In-Reply-To: <20060605092704.GA70270@qlovarnika.bg.datamax> References: <20060605092704.GA70270@qlovarnika.bg.datamax> X-Mailer: Sylpheed-Claws 2.2.0 (GTK+ 2.8.18; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new Cc: ports@freebsd.org, ade@freebsd.org Subject: Re: gettext's installation path and aclocal19's search path X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Jun 2006 10:27:48 -0000 Quoting Vasil Dimov (Mon, 5 Jun 2006 12:27:04 +0300): > Hi, > > I noticed that devel/gettext is installing its .m4 files in > /usr/local/share/aclocal/ > > % pkg_info -L /var/db/pkg/gettext-0.14.5_2/ |grep gettext.m4 > /usr/local/share/aclocal/gettext.m4 > > while aclocal19 (installed by devel/automake19) is searching for > .m4 files in /usr/local/share/aclocal19/ > > % aclocal19 --print-ac-dir > /usr/local/share/aclocal19 > > This is causing errors (undefined macro) with software using > AM_GNU_GETTEXT and AM_GNU_GETTEXT_VERSION in its configure.in file. > > So far I have found the following workaround: > (beware! it may hurt your eyes) > > pre-configure: > cd ${WRKSRC} && \ > ${SETENV} ${AUTOTOOLS_ENV} \ > ACLOCAL="${ACLOCAL} -I ${LOCALBASE}/share/aclocal" \ > ${AUTORECONF} -f -i -s > > The question is: > Is this something local to the package or something in gettext/automake > installation/configuration paths? This is a problem in the port. I filed a PR and assigned it to Ade at the weekend. The fix is to create /usr/local/share/aclocal19/dirlist with one directory per line. I just added /usr/local/share/aclocal/ and it works just fine. I was not able to update the autotools stuff in LAME-CVS to the most recent versions we have in the ports collection in the first place. After fixing the problem with aclocal it was no problem anymore to get a working configure script. Summary: Your workaround looks good to me, but should be removed as soon as the autotools ports are fixed. Bye, Alexander. -- Selling GoodYear Eagle F1 235/40ZR18, 2x 4mm + 2x 5mm, ~150 EUR you have to pick it up between Germany/Saarland and Luxembourg/Capellen http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137