bind916 & bind-tools, removal of IDN support and icu dependency

I removed the IDN support from bind916 and bind-tools ports. Then I portmaster bind916 bind-tools.

The problem is that when I try to pkg delete icu it shows:

Code:
Installed packages to be REMOVED:
        bind-tools: 9.18.20_1
        bind916: 9.16.45_1
        icu: 74.1,1
        ...

Looks like bind916 and bind-tools don't depend to icu:


Also:
Code:
# pkg info -d bind916
bind916-9.16.45_1:
        libxml2-2.10.4_2
        openssl111-1.1.1w
        bind-tools-9.18.20_1
        libuv-1.47.0
        libedit-3.1.20230828,1

# pkg info -d bind-tools
bind-tools-9.18.20_1:
        libnghttp2-1.58.0
        libxml2-2.10.4_2
        openssl111-1.1.1w
        libuv-1.47.0
        libedit-3.1.20230828,1

So how is this possible?
 
Looks like bind-tools depends on libxml2 and libxml2 depends on icu. What I want to do is bind-tools and bind916 not depend on icu to avoid during upgrading them to upgrade icu.

I see from bind-tools Makefile that it contains:

Code:
LIB_DEPENDS=    libuv.so:devel/libuv \
                libnghttp2.so:www/libnghttp2 \
                libxml2.so:textproc/libxml2
...
CONFIGURE_ARGS= --disable-linux-caps \
                --localstatedir=/var \
                --sysconfdir=${ETCDIR} \
                --with-dlopen=yes \
                --with-libxml2 \
                --with-openssl=${OPENSSLBASE} \
                --enable-dnsrps \
                --with-readline=libedit
...

Shouldn't be a port option to not always build with libxml2?
 
Interestingly, Freshports claims that the ICU dependency in textproc/libxml2 is off by default. I guess you don't want libxml2 itself either? Did they grow a Rust dependency or something?
 
Back
Top