From 9d06242607edf8173caafcfd6745f246c0100640 Mon Sep 17 00:00:00 2001 From: sobomax Date: Tue, 1 Apr 2003 12:29:12 +0000 Subject: Add a new `WITH_THREADS' option to build perl with support for threads and fix threaded build on 5.x. Approved by: maintainer --- lang/perl5.12/Makefile | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'lang/perl5.12/Makefile') diff --git a/lang/perl5.12/Makefile b/lang/perl5.12/Makefile index ec6a3d6cd0bc..d2c14bf05ddd 100644 --- a/lang/perl5.12/Makefile +++ b/lang/perl5.12/Makefile @@ -51,6 +51,13 @@ CONFIGURE_ARGS+= -Dusemymalloc=y CONFIGURE_ARGS+= -Dusemymalloc=n .endif +.if defined(WITH_THREADS) +CONFIGURE_ARGS+= -Dusethreads=y +PKGNAMESUFFIX= -threaded +.else +CONFIGURE_ARGS+= -Dusethreads=n +.endif + INCLUDEDIR= /usr/include .include -- cgit