From owner-freebsd-questions@FreeBSD.ORG Mon May 12 17:41:54 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EB1E737B401 for ; Mon, 12 May 2003 17:41:54 -0700 (PDT) Received: from out001.verizon.net (out001pub.verizon.net [206.46.170.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1EEBC43F93 for ; Mon, 12 May 2003 17:41:54 -0700 (PDT) (envelope-from mij@soupnazi.org) Received: from envy.homeunix.com ([4.47.68.94]) by out001.verizon.net (InterMail vM.5.01.05.33 201-253-122-126-133-20030313) with ESMTP id <20030513004153.SHMG12592.out001.verizon.net@envy.homeunix.com>; Mon, 12 May 2003 19:41:53 -0500 Received: from soupnazi.org (lust.pdx.soupnazi.org [192.168.1.2]) by envy.homeunix.com (8.12.8p1/8.12.8) with ESMTP id h4D0fpj2035342; Mon, 12 May 2003 17:41:51 -0700 (PDT) (envelope-from mij@soupnazi.org) Date: Mon, 12 May 2003 17:41:29 -0700 Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v552) To: Tuc From: Jim Mock In-Reply-To: <200305122317.h4CNHQG0033997@himinbjorg.ttsg.com> Message-Id: Content-Transfer-Encoding: 7bit X-Mailer: Apple Mail (2.552) X-Authentication-Info: Submitted using SMTP AUTH at out001.verizon.net from [4.47.68.94] at Mon, 12 May 2003 19:41:53 -0500 cc: freebsd-questions@FreeBSD.ORG Subject: Re: WITH_THREADS - How? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 May 2003 00:41:55 -0000 On Monday, May 12, 2003, at 04:17 PM, Tuc wrote: > Hi, > > Want my /usr/ports/lang/perl5.6 to compile with threads, and wondered > what I need to install to get WITH_THREADS to be defined. The perl port doesn't have an option to easily compile with threads (for whatever reason), but the perl5.8 port does. Without looking too much into it, you may be able to shove this bit into the perl port's Makefile: .if defined(WITH_THREADS) CONFIGURE_ARGS+= -Dusethreads=y PKGNAMESUFFIX= -threaded .else CONFIGURE_ARGS+= -Dusethreads=n .endif Then run: # make -DWITH_THREADS install In /usr/ports/lang/perl. If it doesn't work, either email the perl port maintainer, or use the perl5.8 port if you can. - jim -- - jim mock mij@{soupnazi|opendarwin}.org jim@{bsdnews|FreeBSD}.org - - editor in chief, BSD News: http://bsdnews.org http://soupnazi.org -