Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Oct 2017 16:25:57 +0800
From:      blubee blubeeme <gurenchan@gmail.com>
To:        Baptiste Daroussin <bapt@freebsd.org>
Cc:        FreeBSD Ports <freebsd-ports@freebsd.org>
Subject:   Re: gnu ltdl and FreeBSD
Message-ID:  <CALM2mEme59C4yngg618527OgHa1Bbraw8RiM_e6Z%2B8Z05sYN=w@mail.gmail.com>
In-Reply-To: <20171016080724.4byyskmlbeloxhmt@ivaldir.net>
References:  <CALM2mE=Pdqrv_2k7KVTQruZ8cFkQpypvy6Qn5OYfcWR7cv5mJA@mail.gmail.com> <20171016080724.4byyskmlbeloxhmt@ivaldir.net>

next in thread | previous in thread | raw e-mail | index | archive | help
This is what the Makefile looks like, the file still fails:

LICENSE=          GPLv3+
BUILD_DEPENDS=  gsed:textproc/gsed

BINARY_ALIAS=    sed=gsed

LIB_DEPENDS=     libltdl.so:devel/libltdl
GNU_CONFIGURE=   yes
USES=            autoreconf gmake

same compile error.
That config.h should be auto generated and setup by autoreconf but its not.

On Mon, Oct 16, 2017 at 4:07 PM, Baptiste Daroussin <bapt@freebsd.org>
wrote:

> On Mon, Oct 16, 2017 at 05:37:57AM +0000, blubee blubeeme wrote:
> > I'm trying to port some software that keeps failing when it tries to
> find a
> > config.h.
> >
> > I know the config.h file is there but I think the compilation is failing
> > because it's trying to build ltdl and freebsd doesn't need that since
> > freebsd already has dlopen in libc.
> >
> > Which configure flag could I try to get rid of building that lib? The
> full
> > configure --help file is below.
> >
> > My current makefile has these settings:
> > HAS_CONFIGURE=   yes
> > CONFIGURE_ARGS=  --without-included-ltdl --disable-ltdl-install
> > USES=            autoreconf gmake
>
> First this is wrong, if you have USES=autoreconf it means you are using GNU
> configure, so s/HAS_CONFIGURE/GNU_CONFIGURE/g
>
> Do you have libltdl.so:devel/libltdl in your LIB_DEPENDS line
>
> Bapt
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALM2mEme59C4yngg618527OgHa1Bbraw8RiM_e6Z%2B8Z05sYN=w>