gettext's installation path and aclocal19's search path

Vasil Dimov vd at FreeBSD.org
Mon Jun 5 02:27:06 PDT 2006


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?

Btw the software in question is devel/xaralx-devel.

-- 
Vasil Dimov
gro.DSBeerF at dv

Testing can show the presence of bugs, but not their absence.
                -- Edsger W. Dijkstra
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 155 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20060605/920a8b3d/attachment.pgp


More information about the freebsd-ports mailing list