On Thu, Jul 08, 2021 at 08:45:33AM +0200, Martin Ziemer wrote:
> After some package update i found sysclean to mark
> /usr/lib/libz.so.5.0 as deletable because of no depends, which broke
> bogofilter in the flavor sqlite3.
> 
> To solve the problem for me i added WANTLIB z to *my* flavor. 
> I dont know, of it is needed in the other flavors too. So maybe the
> better solution would be adding z to the generic WANTLIB.
> 
> Index: Makefile
> ===================================================================
> RCS file: /cvs/ports/mail/bogofilter/Makefile,v
> retrieving revision 1.31
> diff -u -p -r1.31 Makefile
> --- Makefile  12 Jul 2019 20:47:25 -0000      1.31
> +++ Makefile  8 Jul 2021 06:37:25 -0000
> @@ -4,7 +4,7 @@ COMMENT =     bayesian spam filter
>  
>  DISTNAME =   bogofilter-1.2.4
>  CATEGORIES = mail
> -REVISION =   2
> +REVISION =   3
>  
>  MAINTAINER = Marc Espie <[email protected]>
>  
> @@ -34,7 +34,7 @@ LIB_DEPENDS +=              databases/db/v4
>  WANTLIB +=           lib/db4/db>=4
>  .elif ${FLAVOR} == "sqlite3"
>  DB_ENGINE =          sqlite3
> -WANTLIB +=           sqlite3 pthread
> +WANTLIB +=           sqlite3 pthread z
>  LIB_DEPENDS +=               databases/sqlite3
>  .elif ${FLAVOR} == "qdbm"
>  DB_ENGINE =          qdbm
> 

Thanks, I'll take a closer look

Reply via email to