From owner-freebsd-ports@FreeBSD.ORG Tue Feb 3 07:04:44 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 51E9F16A4CE for ; Tue, 3 Feb 2004 07:04:44 -0800 (PST) Received: from hueymiccailhuitl.mtu.ru (hueytecuilhuitl.mtu.ru [195.34.32.123]) by mx1.FreeBSD.org (Postfix) with ESMTP id BE74243D2D for ; Tue, 3 Feb 2004 07:04:42 -0800 (PST) (envelope-from sem@ciam.ru) Received: from ciam.ru (ppp131-26.dialup.mtu-net.ru [62.118.131.26]) by hueymiccailhuitl.mtu.ru (Postfix) with ESMTP id E488AFA659; Tue, 3 Feb 2004 18:04:39 +0300 (MSK) (envelope-from sem@ciam.ru) Message-ID: <401FB88E.2090000@ciam.ru> Date: Tue, 03 Feb 2004 18:04:46 +0300 From: Sergey Matveychuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Sergey Matveychuk References: <401F2653.3050807@ciam.ru> In-Reply-To: <401F2653.3050807@ciam.ru> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: ports@freebsd.org Subject: Re: Problems with OPTIONS X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Feb 2004 15:04:44 -0000 Sergey Matveychuk wrote: > Hmmm. It's looks like I can't use WITH_QT, WITH_SSL this way because I > need them _before_ bsd.port.pre.mk but got them just _after_ it. > > I've see no cute decision for this. Whell. Only decision I can see - to separate OPTIONS stuff in other file - bsd.options.mk. So it will be possible someting like: OPTIONS=.... .include .if defined(WITH_QT) USE_QT_VER= NN .endif .include .... -- Sem.