run-autotools is run after pre-configure

Alejandro Pulver alepulver at FreeBSD.org
Thu Aug 10 20:58:16 UTC 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, 10 Aug 2006 13:45:37 -0700
Doug Barton <dougb at FreeBSD.org> wrote:

> Alejandro Pulver wrote:
> > Hello.
> > 
> > I am creating a port (devel/allegro-devel, based on devel/allegro)
> > which uses autoconf 2.59. I need to replace "-lpthread" with
> > ${PTHREAD_LIBS} to make it work on FreeBSD 4.x, but autoconf is
> > executed after patching so it overwrites the configure script.
> 
> Have you tried patching configure.in?
> 
> Doug
> 

I can't (the file is being patched for another reason) because
"-lpthread" is part of an autoconf macro (maybe it should be patched
to respect ${PTHREAD_LIBS}, but then won't be GNU compatible).

Best Regards,
Ale
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (FreeBSD)

iD8DBQFE254IiV05EpRcP2ERAqUTAJ9xtjpJ7GMWI6sH0AN7GwdjZaojLwCg1wP0
BSEn2Yw5/MGR6p0TgY30/64=
=Fdcs
-----END PGP SIGNATURE-----


More information about the freebsd-ports mailing list