request add db45/db46 support to mail/exim port

Xin LI delphij at delphij.net
Sat Aug 11 10:33:20 PDT 2007


snowcrash+freebsd wrote:
> hi,
> 
>> Sounds great, just one point: I'd prefer seeing that exim would make use
>> of bsd.database.mk.
> 
> i /thought/ that use of WITH_BDB_VER/USE_BDB *is* 'making use of'
> bsd.database.mk, wherein,
> 
>  ...
>  .if defined(WITH_BDB_VER)
>  . if ${WITH_BDB_VER} == 4
>  USE_BDB=    40
>  . elif ${WITH_BDB_VER} != 1
>  USE_BDB=    ${WITH_BDB_VER}
>  . endif
>  .endif
>  _WANT_BDB_VER=  ${USE_BDB}

Em...  What I mean is that exim should rely on bsd.database.mk to choose 
BDB version, if possible.  This could be something like:

.if !defined(WITHOUT_BDB)
WITH_BDB_VER?=	46
USE_BDB=	yes
.endif

DB_INCLUDES=	-I${BDB_INCLUDE_DIR}
DB_LIBS=	-L${LOCALBASE}/lib -l${BDB_LIB_NAME:R}

But I do not have some test with it, though...  This way, exim will 
automatically pick up with bsd.database.mk changes.

Just my $0.02 :-)

Cheers,


More information about the freebsd-ports mailing list