aboutsummaryrefslogtreecommitdiff
path: root/lang/perl5.16/Makefile
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2003-04-01 12:29:12 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2003-04-01 12:29:12 +0000
commitb1692986818b5eebd6372f379d95c842c4647fc7 (patch)
tree21c6c66d00fb263a9fd1138e029deddb9c4007cc /lang/perl5.16/Makefile
parent40b849432555046b5c4934f0e463ebf60f216188 (diff)
Notes
Diffstat (limited to 'lang/perl5.16/Makefile')
-rw-r--r--lang/perl5.16/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/lang/perl5.16/Makefile b/lang/perl5.16/Makefile
index ec6a3d6cd0bc..d2c14bf05ddd 100644
--- a/lang/perl5.16/Makefile
+++ b/lang/perl5.16/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 <bsd.port.pre.mk>