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 <b...@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
>
_______________________________________________
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to