From owner-freebsd-ports@FreeBSD.ORG Tue Jul 1 08:59:18 2003 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 8FFDF37B401 for ; Tue, 1 Jul 2003 08:59:18 -0700 (PDT) Received: from mailout03.sul.t-online.com (mailout03.sul.t-online.com [194.25.134.81]) by mx1.FreeBSD.org (Postfix) with ESMTP id B8F3543FE1 for ; Tue, 1 Jul 2003 08:59:17 -0700 (PDT) (envelope-from Alexander@Leidinger.net) Received: from fwd06.aul.t-online.de by mailout03.sul.t-online.com with smtp id 19XNXF-0003WQ-0A; Tue, 01 Jul 2003 17:59:13 +0200 Received: from Andro-Beta.Leidinger.net (ZZI3tcZdQec1AAV9WQtk0rkBrc18CM-fbyeMmZlaiNIVk31B0NZ9QV@[217.229.217.185]) by fmrl06.sul.t-online.com with esmtp id 19XNX5-25R5JQ0; Tue, 1 Jul 2003 17:59:03 +0200 Received: from Magelan.Leidinger.net (Magelan [192.168.1.1]) h61Fx2K4026414; Tue, 1 Jul 2003 17:59:02 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from Magelan.Leidinger.net (netchild@localhost [127.0.0.1]) by Magelan.Leidinger.net (8.12.9/8.12.9) with SMTP id h61Fx2CF004834; Tue, 1 Jul 2003 17:59:02 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Date: Tue, 1 Jul 2003 17:59:02 +0200 From: Alexander Leidinger To: Roman Neuhauser Message-Id: <20030701175902.733ebac2.Alexander@Leidinger.net> In-Reply-To: <20030701152148.GI11229@freepuppy.bellavista.cz> References: <20030630212733.GA94637@gruft.de> <20030701105303.06cfd91d.Alexander@Leidinger.net> <20030701152148.GI11229@freepuppy.bellavista.cz> X-Mailer: Sylpheed version 0.8.10claws (GTK+ 1.2.10; i386-portbld-freebsd5.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Seen: false X-ID: ZZI3tcZdQec1AAV9WQtk0rkBrc18CM-fbyeMmZlaiNIVk31B0NZ9QV@t-dialin.net cc: holger@e-gitt.net cc: freebsd-ports@freebsd.org Subject: Re: ".if defined" within dependencies 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, 01 Jul 2003 15:59:18 -0000 On Tue, 1 Jul 2003 17:21:48 +0200 Roman Neuhauser wrote: > > > So, how can I depend on ocaml with WITHOUT_X11 set? > > > > If ocaml isn't build already and WITHOUT_GUI is specified for mldonkey, > > you want to have ocaml build WITHOUT_X11? > > > > I haven't tested it, but perhaps setting > > MAKEFLAGS=$(MAKEFLAGS) -DWITHOUT_X11 > > does what you want. > > the problem is you can't do that with *_DEPENDS. You can't do it for just one of them, you have to do it for all... and you perhaps have to play with bsd.port.{pre,post}.mk. Bye, Alexander. -- The best things in life are free, but the expensive ones are still worth a look. http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = C518 BC70 E67F 143F BE91 3365 79E2 9C60 B006 3FE7