Chicken-egg problem: USE_PYTHON after `.include <>'

Lev Serebryakov lev at
Sun Feb 1 03:34:15 PST 2004

Hello, ports! How are you?

  I need add to port USE_PYTHON=yes, but only if user define
  WITH_PYTHON. I want to support Makefile.local, so, I need to put all
  WITH_* processing after `.include <>' line. But
  USE_PYTHON should go BEFORE this line, otherwise will
  not be included!

  How this problem could be solved? Is it safe to include directly?

               Lev Serebryakov

More information about the freebsd-ports mailing list