On Mon, 16 Oct 2017 13:37:57 +0800 blubee blubeeme <[email protected]> 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
This should be GNU_CONFIGURE=yes. > CONFIGURE_ARGS= --without-included-ltdl --disable-ltdl-install > USES= autoreconf gmake Here you should add "libtool" to USES. And maybe the code really needs libltdl. See if there are any calls to lt_dlinit or lt_dlopen. You can then add this dependency: LIB_DEPENDS= libltdl.so:devel/libltdl _______________________________________________ [email protected] mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "[email protected]"
