Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Mar 2004 16:21:29 -0800
From:      Kris Kennaway <kris@obsecurity.org>
To:        Craig Rodrigues <rodrigc@crodrigues.org>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Need help debugging apr port
Message-ID:  <20040330002129.GA23371@xor.obsecurity.org>
In-Reply-To: <20040329235811.GA17896@crodrigues.org>
References:  <20040329235811.GA17896@crodrigues.org>

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

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

On Mon, Mar 29, 2004 at 06:58:11PM -0500, Craig Rodrigues wrote:
> Hi,
>=20
> I am trying to fix the apr port.
> There have been some recent changes to the autoconf
> and libtool in the ports Makefile rules which is causing problems.
>=20
> Question 1:
>   How can I reproduce the jail environment that bento uses
>   to build a port, i.e. I want the jail to have no ports installed,
>   so that when I build the port, the necessary dependent packages will
>   be installed.

Just put a clean installation of FreeBSD into a directory (e.g. by
installworld, or unpacking the binary distributions from a release
build), add a clean ports tree and chroot into the directory.  Then
either build the port normally to pick up and install dependencies, or
pkg_add the packages by hand (bento uses non-general scripts to do
this).  USE_PACKAGE_DEPENDS may help, but you need to already have the
packages present.

> Question 2:
>   If autoconf-2.57 is installed, it looks like there is only
>   a binary /usr/local/bin/autoconf257 installed, and not /usr/local/bin/a=
utoconf.
>   The apr port is expecting a binary named autoconf.
>=20
>   How do people typically deal with this problem?

By correct use of the bsd.port.mk macros relating to autoconf.

As I explained in private mail, you can fix this by going back to
r1.32 of the makefile: r1.33 was wrong and caused problems, and it was
apparently worked around incorrectly in r1.36.

Kris
--bp/iNruPH9dso1Pn
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQFAaL2IWry0BWjoQKURAhiyAKDBicGR/1RaR1x2zOiuzria6MNl3QCeLadC
uhFWmEix8dcZTwqGuk09fOM=
=sPU/
-----END PGP SIGNATURE-----

--bp/iNruPH9dso1Pn--



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