summaryrefslogtreecommitdiff
path: root/mk/defs.Darwin.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.Darwin.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.Darwin.mk')
-rw-r--r--mk/defs.Darwin.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/mk/defs.Darwin.mk b/mk/defs.Darwin.mk
index 0426729e7d3..128dc338714 100644
--- a/mk/defs.Darwin.mk
+++ b/mk/defs.Darwin.mk
@@ -1,4 +1,4 @@
-# $NetBSD: defs.Darwin.mk,v 1.54 2003/09/05 13:54:13 martti Exp $
+# $NetBSD: defs.Darwin.mk,v 1.55 2003/09/14 16:30:34 danw Exp $
#
# Variable definitions for the Darwin operating system.
@@ -112,6 +112,7 @@ _OPSYS_HAS_MANZ= yes # MANZ controls gzipping of man pages
_OPSYS_HAS_OSSAUDIO= no # libossaudio is available
_OPSYS_LIBTOOL_REQD= 1.4.20010614nb12 # base version of libtool required
_OPSYS_PERL_REQD= 5.8.0 # base version of perl required
+_OPSYS_PTHREAD_AUTO= yes # -lpthread not needed for pthreads
_OPSYS_RPATH_NAME= darwin_has_no_rpath
_PATCH_CAN_BACKUP= yes # native patch(1) can make backups
_PATCH_BACKUP_ARG= -V simple -b -z # switch to patch(1) for backup suffix