Hello, Could you try something like the following ? .if !empty(.CURDIR:M/usr/ports/editors/vim) OPTIONS_UNSET+=GTK3 OPTIONS_SET+=GTK2 .endif Best regards, Samy Mahmoudi