From owner-freebsd-emulation@FreeBSD.ORG Thu Aug 25 20:59:57 2011 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 18856106566C for ; Thu, 25 Aug 2011 20:59:57 +0000 (UTC) (envelope-from rnejdl@ringofsaturn.com) Received: from tethys.ringofsaturn.com (tethys.ringofsaturn.com [71.252.219.43]) by mx1.freebsd.org (Postfix) with ESMTP id C17BB8FC13 for ; Thu, 25 Aug 2011 20:59:56 +0000 (UTC) Received: from ASSP.nospam (localhost [127.0.0.1]) (authenticated bits=0) by tethys.ringofsaturn.com (8.14.5/8.14.4) with ESMTP id p7PKxtbt026329 for ; Thu, 25 Aug 2011 15:59:55 -0500 (CDT) (envelope-from rnejdl@ringofsaturn.com) Received: from mail.ringofsaturn.com ([127.0.0.1] helo=mail.ringofsaturn.com) by ASSP.nospam with ESMTP (ASSP 1.9.1.1); 25 Aug 2011 15:59:54 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Thu, 25 Aug 2011 15:59:54 -0500 From: Rusty Nejdl To: Mail-Reply-To: In-Reply-To: <201108252055.p7PKtI3J001414@mail.wynn.com> References: <201108252055.p7PKtI3J001414@mail.wynn.com> Message-ID: X-Sender: rnejdl@ringofsaturn.com User-Agent: Roundcube Webmail/0.6-svn X-Assp-Intended-For-IP: 127.0.0.1 X-Assp-Passing: authenticated X-Assp-ID: ASSP.nospam (m-31430-01344) X-Assp-Version: 1.9.1.1(1.0.00) Subject: Re: virtualbox on FreeBSD 8.2 X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: rnejdl@ringofsaturn.com List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Aug 2011 20:59:57 -0000 On 25.08.2011 15:55, wynkoop@wynn.com wrote: >> On Thu, 25 Aug 2011, Bernhard Froehlich wrote: >> >> >> Should the virtualbox port Makefile set BROKEN if Python threads >> are missing? >> > >> > No. This is a port option that is enabled per default. Modifying >> port >> > options is always on your own risk and the general rule is that >> ports >> > don't check that. >> >> One of the functions of a port is to make sure the requirements are >> in >> place, or fail gracefully if they aren't. But I understand what you >> are saying, and don't know if there's a good way to do this anyway. > > Greeting- > > I am rebuilding now and will let everyone know if it works now that > python > is built with threads. > > I think that if the port needs python threads it should SAY > SOMETHING. > > I spent a month on this before asking for help. Now maybe I should > not > have spent so much time, but the net is full of posts in various > places > about virtualbox not building, so I wanted to run down the already > ASKED and > ANSWERED before bothering people. > > I have seen other ports fail if a pre-req was not built according to > the > ports liking. I do not know how it is done, but I know it can be > done. > > Thanks everyone and I will post my results when my build is done. > > -Brett > _______________________________________________ > freebsd-emulation@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-emulation > To unsubscribe, send any mail to > "freebsd-emulation-unsubscribe@freebsd.org" I was building a port that depended on threaded perl and used code like this: .if exists(${PERL}) PERL_THREADS!= ${PERL} -V::usethreads .if ${PERL_THREADS}!="'define';" IGNORE= needs a threaded Perl, build with WITH_THREADS=yes flag and try again .endif .else IGNORE= needs an existing installation of Perl built with WITH_THREADS=yes .endif Perhaps you could use something similar? Rusty Nejdl