summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authortv <tv@pkgsrc.org>2004-08-23 23:34:45 +0000
committertv <tv@pkgsrc.org>2004-08-23 23:34:45 +0000
commit11fff287f6b181140e12278121606e15e106ba66 (patch)
tree7f5b77c28d6a346d4cf59e527fdfe59906337ca4 /mk
parent256266fa4704a651638d504e89a6e086163c7962 (diff)
downloadpkgsrc-11fff287f6b181140e12278121606e15e106ba66.tar.gz
On Interix, default to using a threaded Perl. This is how the bundled
Perl in Interix ships, so it's an appropriate default for the OS. (Still overrideable in mk.conf explicitly.)
Diffstat (limited to 'mk')
-rw-r--r--mk/defs.Interix.mk17
1 files changed, 10 insertions, 7 deletions
diff --git a/mk/defs.Interix.mk b/mk/defs.Interix.mk
index 5ad908aec79..4853c3d0eb4 100644
--- a/mk/defs.Interix.mk
+++ b/mk/defs.Interix.mk
@@ -1,4 +1,4 @@
-# $NetBSD: defs.Interix.mk,v 1.25 2004/06/18 11:22:41 kristerw Exp $
+# $NetBSD: defs.Interix.mk,v 1.26 2004/08/23 23:34:45 tv Exp $
#
# Variable definitions for the Interix operating system.
@@ -80,12 +80,15 @@ TYPE?= type # Shell builtin
WC?= /bin/wc
XARGS?= /bin/xargs
-USERADD?= ${LOCALBASE}/sbin/useradd
-GROUPADD?= ${LOCALBASE}/sbin/groupadd
-_PKG_USER_HOME?=# empty by default
-_USER_DEPENDS= user>=20040426:../../sysutils/user_interix
-DEPENDS+= ${USE_USERADD:D${_USER_DEPENDS}}
-DEPENDS+= ${USE_GROUPADD:D${_USER_DEPENDS}}
+# Default to threaded Perl, the same as is shipped with Interix itself.
+PERL5_USE_THREADS?= yes
+
+USERADD?= ${LOCALBASE}/sbin/useradd
+GROUPADD?= ${LOCALBASE}/sbin/groupadd
+_PKG_USER_HOME?= # empty by default
+_USER_DEPENDS= user>=20040426:../../sysutils/user_interix
+DEPENDS+= ${USE_USERADD:D${_USER_DEPENDS}}
+DEPENDS+= ${USE_GROUPADD:D${_USER_DEPENDS}}
CPP_PRECOMP_FLAGS?= # unset
DEF_UMASK?= 002