problem with net/openldap20 Makfile
Eric W. Bates
ericx at vineyard.net
Wed Apr 30 19:50:58 PDT 2003
openldap20/Makefile has a test to determine whether to build against
SleepyCat db3 or db4:
.if exists(${LOCALBASE}/lib/libdb4.so)
On FreeBSD 4.8 (and other 4.x), ${LOCALBASE} is not defined at the
time the test is run, consequently the Makefile always elects to build
against db3:
** root at ethel ** /usr/ports/net/openldap20 ** Wed Apr 30 22:08:19
# make -d A
Global:.MAKEFLAGS = -d
Global:.MAKEFLAGS = -d A
...
Searching for /lib/libdb4.so...Looking for "/lib/libdb4.so"...failed.
Returning NULL
Global:DB_CFLAGS = -I${LOCALBASE}/include/db3
Global:LIB_DEPENDS = db3.3:${PORTSDIR}/databases/db3
I'm not facile with make; so I don't have an elegant
solution. grep'ping thru other Makefiles in ports indicates that other
port'ers have elected to require that a flag be set:
mail/bmf
mail/cyrus-imapd2
Thank you for your time.
--
Eric W. Bates
More information about the freebsd-ports
mailing list