On 2019/12/31 23:36, Solene Rapenne wrote: > hi, portcheck(1) reports this error but I'm unsure why > > Missing library for idn2>=0.0 > *** Error 1 in . (/home/ports/infrastructure/mk/bsd.port.mk:3374 > 'port-wantlib-args') > *** Error 1 in /home/ports/mail/s-nail > (/home/ports/infrastructure/mk/bsd.port.mk:3033 'print-plist-with-depends') > in FLAVOR "idna": the following libraries in WANTLIB look like masked by > RUN_DEPENDS: idn2
good catch, : .if ${FLAVOR:Midna} : WANTLIB+= idn2 : LIB_DEPENDS+= devel/libidn2 : [...] : .endif : : [...] : : LIB_DEPENDS= converters/libiconv The second LIB_DEPENDS with = not += hides the first one. (see "make show=LIB_DEPENDS"). The "Missing library" is because there's no valid dependency path to the idn2 entry in WANTLIB. portcheck's "masked by RUN_DEPENDS" message is bogus but that's not really unusual :)