On Fri, Jul 17, 2015 at 06:28:13PM +0200, Giovanni Bechis wrote:
> On 07/17/15 17:33, Antoine Jacoutot wrote:
> > On Fri, Jul 17, 2015 at 05:31:39PM +0200, Giovanni Bechis wrote:
> >> Hi,
> >> bugfix update to version 2.1, it still has some warnings related to 
> >> LIB_DEPENDS (present in current version as well), any hints ?
> >>
> >> ===>  Building package for perdition-mysql-2.1
> >> Create /home/cvs/ports/packages/amd64/all/perdition-mysql-2.1.tgz
> >> LIB_DEPENDS STEM->=0.10.38:devel/gettext not needed for 
> >> mail/perdition,-mysql ?
> >> LIB_DEPENDS converters/libiconv not needed for mail/perdition,-mysql ?
> > 
> > Probably missing ${MODGETTEXT_WANTLIB} in WANTLIB-mysql
> > 
> if I add it I have:
> perdition-mysql-2.1(mail/perdition,-mysql):
> Extra:  iconv.6 intl.6
> 
> Is it possible to define MODULES-main=devel/gettext in port's Makefile ?

Just don't inheritate all LIB_DEPENDS but instead explicitely add 
MODGETTEXT_LIB_DEPENDS to LIB_DEPENDS-main.

-- 
Antoine

Reply via email to