Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 May 2013 09:35:29 +0200
From:      "O. Hartmann" <ohartman@zedat.fu-berlin.de>
To:        Scot Hetzel <swhetzel@gmail.com>
Cc:        FreeBSD ports <freebsd-ports@freebsd.org>
Subject:   Re: how to include m4 macros stored in m4 folder of port's sources?
Message-ID:  <1369467329.1618.2.camel@thor.walstatt.dyndns.org>
In-Reply-To: <CACdU%2Bf_yTY=55L2ir9MgTgaqmE4Nb65jJozGRXsKimXM4Fppyg@mail.gmail.com>
References:  <1369421501.33742.104.camel@thor.walstatt.dyndns.org> <CACdU%2Bf_yTY=55L2ir9MgTgaqmE4Nb65jJozGRXsKimXM4Fppyg@mail.gmail.com>

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

--=-eJbrrCcLacabgTR+f28u
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

On Sat, 2013-05-25 at 01:00 -0500, Scot Hetzel wrote:
> On Fri, May 24, 2013 at 1:51 PM, O. Hartmann
> <ohartman@zedat.fu-berlin.de> wrote:
> > The sources of of port provide their own m4 macros (i.e. AX_PTHREAD,
> > AX_BOOST) store in ax_boost.m4 in m4 of the toplevel dir of the sources=
.
> >
> > I have to issue USE_AUTOTOOLS=3D aclocal autoheader libtoolize libtool
> > autoconf automake to create the proper configure file.
> >
> > The configure file fails with an error of a missing macro, in particula=
r
> > AX_BOOST([]) which is present in the m4 folder and as far as I know, it
> > should be addressed with libtool.
> >
> > I can not find any useful information within the porter's handbook abou=
t
> > this very common case of having pristine autotool environments and how
> > to handle them.
> >
> > My question in specific is: what is the tag/sequence in the toplevel
> > Makefile to endure that macros stored in the m4-folder of the sources
> > are loaded automatically? When issuing the
> > aclocal-autoheader-libtoolize-autoconf-automake chain in the source
> > folder, everything works fine except the fact that the FreeBSD specific
> > environment variables are not set.
> >
> > Please CC me, I do not subscribe this list.
> >
> > Regards and thanks in advance,
> > Oliver
>=20
> Have a look at Mk/bsd.autotools.mk for the variables that you can define:
>=20
> http://svnweb.freebsd.org/ports/head/Mk/bsd.autotools.mk
>=20



Thank you very much. Found the knob.

Oliver

--=-eJbrrCcLacabgTR+f28u
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.13 (FreeBSD)

iQEcBAABAgAGBQJRoGm9AAoJEOgBcD7A/5N8KGwH/0QkM2CltfH7f6iRk4H3uBBS
9icOUSUGbpod8lk1rZDA5C1Q0eQuiYxWGocGwoAF/ZTZeWVqz1+iocaCkiZQtfV+
fNgu1Q+6IOTFaBRV9QZv2oKU8sfhLkOcsyelrwVTnowkgn+XqR1VyiSjKnHCYx1P
ftui0oR1DESuk5bmmoDPw45fc7n6OdB1nMjyxH88l6eGwWXO8cB2Jm1Ln0vHEwv+
Omf9YPHDD3obSaJrrcv/OL184nrLkWDR51raRWSITmWmVBgCHJAebkbEiGIjbUd7
o/SGXc1v614PRfx7Bns7LDlxmcbTNp8hxVsvlCvPyN/G5mk+uBsGzmberMavH5w=
=c/D2
-----END PGP SIGNATURE-----

--=-eJbrrCcLacabgTR+f28u--




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