summaryrefslogtreecommitdiff
path: root/mk/defs.NetBSD.mk
diff options
context:
space:
mode:
authordanw <danw@pkgsrc.org>2003-09-14 16:30:34 +0000
committerdanw <danw@pkgsrc.org>2003-09-14 16:30:34 +0000
commit7fa2565590c6db8685a21628e29e2b85de83ddd3 (patch)
tree1ae0bfd5f753d54ef2d2d360ec9e9de813edeced /mk/defs.NetBSD.mk
parentb9232c142c2538ec95915f3f6d33091ee955803b (diff)
downloadpkgsrc-7fa2565590c6db8685a21628e29e2b85de83ddd3.tar.gz
-lpthread is a no-op on Darwin, but it messes up buildlink. So add a new
flag _OPSYS_PTHREAD_AUTO ("yes" for Darwin, "no" for everyone else) and make pthread.buildlink2.mk do basically nothing in that case.
Diffstat (limited to 'mk/defs.NetBSD.mk')
-rw-r--r--mk/defs.NetBSD.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/mk/defs.NetBSD.mk b/mk/defs.NetBSD.mk
index 6f91c65c975..a0c3bf935e4 100644
--- a/mk/defs.NetBSD.mk
+++ b/mk/defs.NetBSD.mk
@@ -1,4 +1,4 @@
-# $NetBSD: defs.NetBSD.mk,v 1.52 2003/09/02 06:59:45 jlam Exp $
+# $NetBSD: defs.NetBSD.mk,v 1.53 2003/09/14 16:30:34 danw Exp $
#
# Variable definitions for the NetBSD operating system.
@@ -123,6 +123,7 @@ _OPSYS_HAS_JAVA= no # Java is not standard
_OPSYS_HAS_MANZ= yes # MANZ controls gzipping of man pages
_OPSYS_HAS_OSSAUDIO= yes # libossaudio is available
_OPSYS_PERL_REQD= # no base version of perl required
+_OPSYS_PTHREAD_AUTO= no # -lpthread needed for pthreads
_OPSYS_RPATH_NAME= -R # name of symbol in rpath directive to linker
_PATCH_CAN_BACKUP= yes # native patch(1) can make backups
_PATCH_BACKUP_ARG= -V simple -b # switch to patch(1) for backup suffix