Dominic Fandrey kamikaze at
Sun Oct 11 20:00:45 UTC 2009

If one uses the OPTIONS framework like in graphics/opencv
to trigger python support, breaks. Here is why:

USE_PYTHON has to be set before including

Unfortunately it can only be set after, because
WITH_PYTHON wouldn't be set before.

For this the _POSTMKINCLUDED variable is responsible. The
following is from the beginning of
.if !defined(_POSTMKINCLUDED) && !defined(Python_Pre_Include)

It looks similar for, so maybe the problem
exists there as well. or are different:
.if !defined(Java_Include)

I suggest removing the !defined(_POSTMKINCLUDED) from both and

More information about the freebsd-ports mailing list