diff options
author | marino <marino> | 2012-07-20 17:59:14 +0000 |
---|---|---|
committer | marino <marino> | 2012-07-20 17:59:14 +0000 |
commit | ba2935f948694f1785c1d49b1d9ff357ccfac21d (patch) | |
tree | b763eb6fc09c674a03cb98f2b6973d60d9c23ccf /sysutils/coreutils | |
parent | 390d22adb5d38fabc0faff77037c3ab31380b470 (diff) | |
download | pkgsrc-ba2935f948694f1785c1d49b1d9ff357ccfac21d.tar.gz |
sysutils/coreutils: Fix pthread link
The configure script incorrectly detects that libpthread is part of libc
on DragonFly, likely due to the use of weak symbols there. For DragonFly
only, Cache the variable that tells it to include -pthread while linking.
Diffstat (limited to 'sysutils/coreutils')
-rw-r--r-- | sysutils/coreutils/Makefile.common | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sysutils/coreutils/Makefile.common b/sysutils/coreutils/Makefile.common index abbe03b1ab7..58ab9b7430e 100644 --- a/sysutils/coreutils/Makefile.common +++ b/sysutils/coreutils/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.4 2012/05/29 18:14:13 cheusov Exp $ +# $NetBSD: Makefile.common,v 1.5 2012/07/20 17:59:14 marino Exp $ # used by sysutils/coreutils/Makefile # used by misc/gnuls/Makefile @@ -29,6 +29,10 @@ TEST_TARGET= check CONFIGURE_ENV+= ac_list_mounted_fs=found .endif +.if ${OPSYS} == "DragonFly" +CONFIGURE_ENV+= gl_cv_search_pthread_join=-lpthread +.endif + .if !empty(MACHINE_PLATFORM:MDarwin-[9].*-*) CONFIGURE_ENV+= ac_cv_header_sys_acl_h=no jm_cv_func_svid_putenv=yes .endif |