> I am trying to check from the Makefile if an other port has one OPTION
> on or off.
> Don't find a working syntax.
Unlike Gentoo requesting dependencies built with particular options set
is not supported yet. The feature has been requested for years i.e.,
soon after OPTIONS were introduced. What ports *currently* can do is
invent ad hoc check (see below), create slaves/flavors or adjust defaults.
108: @if ! pkg-config --exists cairo-egl; then \
58: @if ! pkg-config --exists cairo-xlib; then \
96: @if ! pkg-config --exists cairo-xlib; then \
50: @if ! pkg-config --exists cairo-gobject; then \
Beware of flavors. Until variable dependencies are supported ports
cannot depend on a particular flavor without introducing conflicts.
For example, A depends on B@OPT1 while C and D depend on B; a user
would have to give up on C and D to have A installed.
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "[hidden email]"