Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Feb 2004 14:34:59 +0300
From:      Lev Serebryakov <lev@FreeBSD.org>
To:        ports@FreeBSD.org
Subject:   Chicken-egg problem: USE_PYTHON after `.include <bsd.port.pre.mk>'
Message-ID:  <694529738.20040201143459@serebryakov.spb.ru>

next in thread | raw e-mail | index | archive | help
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 <bsd.port.pre.mk>' line. But
  USE_PYTHON should go BEFORE this line, otherwise bsd.python.mk will
  not be included!

  How this problem could be solved? Is it safe to include
  bsd.python.mk directly?

--
               Lev Serebryakov



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?694529738.20040201143459>