Summary: | net-nds/openldap has automagic dep on e2fsprogs-libs | ||
---|---|---|---|
Product: | Gentoo/Alt | Reporter: | Dmitri Bogomolov <4glitch> |
Component: | FreeBSD | Assignee: | Gentoo LDAP project <ldap-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | bsd+disabled |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | FreeBSD | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Dmitri Bogomolov
2012-06-13 18:25:22 UTC
openldap seems to have an automagic: from build/openldap.m4: AC_DEFUN([OL_LIB_FETCH], [ol_LIBS=$LIBS LIBS="-lfetch -lcom_err $LIBS" AC_CACHE_CHECK([fetch(3) library],ol_cv_lib_fetch,[ AC_LINK_IFELSE([AC_LANG_PROGRAM([[ #ifdef HAVE_SYS_PARAM_H #include <sys/param.h> #endif #include <stdio.h> #include <fetch.h>]], [[struct url *u = fetchParseURL("file:///"); ]])],[ol_cv_lib_fetch=yes],[ol_cv_lib_fetch=no])]) LIBS=$ol_LIBS if test $ol_cv_lib_fetch != no ; then ol_link_fetch="-lfetch -lcom_err" AC_DEFINE(HAVE_FETCH,1, [define if you actually have FreeBSD fetch(3)]) fi ])dnl but the ebuild does not pass any --with(out)-fetch to configure maybe an useflag could be added in 2.4.40 |