Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Jun 2006 12:27:56 +0200
From:      Alexander Leidinger <Alexander@Leidinger.net>
To:        vd@freebsd.org
Cc:        ports@freebsd.org, ade@freebsd.org
Subject:   Re: gettext's installation path and aclocal19's search path
Message-ID:  <20060605122756.5eb80e7b@Magellan.Leidinger.net>
In-Reply-To: <20060605092704.GA70270@qlovarnika.bg.datamax>
References:  <20060605092704.GA70270@qlovarnika.bg.datamax>

next in thread | previous in thread | raw e-mail | index | archive | help
Quoting Vasil Dimov <vd@freebsd.org> (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



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