Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Jun 2006 12:27:04 +0300
From:      Vasil Dimov <vd@FreeBSD.org>
To:        ports@freebsd.org
Cc:        ade@freebsd.org
Subject:   gettext's installation path and aclocal19's search path 
Message-ID:  <20060605092704.GA70270@qlovarnika.bg.datamax>

next in thread | raw e-mail | index | archive | help

--n8g4imXOkfNTN/H1
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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
=2Em4 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=3D"${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.

--=20
Vasil Dimov
gro.DSBeerF@dv

Testing can show the presence of bugs, but not their absence.
                -- Edsger W. Dijkstra

--n8g4imXOkfNTN/H1
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----

iD8DBQFEg/joFw6SP/bBpCARAocKAJwL+uu8HpysG6nlHr1Ks8P2IK6IugCdEsy1
xjHAUG9sexWsdzSzdJFXfug=
=gAed
-----END PGP SIGNATURE-----

--n8g4imXOkfNTN/H1--



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