Date: Mon, 12 May 2003 17:41:29 -0700 From: Jim Mock <mij@soupnazi.org> To: Tuc <tuc@ttsg.com> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: WITH_THREADS - How? Message-ID: <A2DBE786-84DB-11D7-A664-000393460DB2@soupnazi.org> In-Reply-To: <200305122317.h4CNHQG0033997@himinbjorg.ttsg.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 -
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?A2DBE786-84DB-11D7-A664-000393460DB2>
