summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2012-04-17 17:47:19 +0000
committerjoerg <joerg@pkgsrc.org>2012-04-17 17:47:19 +0000
commit89f24f02b240aabf181540d8d306c2b59e75db48 (patch)
tree71a18e3720ddda3dc536a6c96dd30c97a8137226 /sysutils
parent4679fdca5f397e64b5b775c485982a0a586b569c (diff)
downloadpkgsrc-89f24f02b240aabf181540d8d306c2b59e75db48.tar.gz
Add clang to the stdbuf list.
XXX This is still completely broken as check
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/coreutils/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/sysutils/coreutils/Makefile b/sysutils/coreutils/Makefile
index fa3ae757eae..ad65464364d 100644
--- a/sysutils/coreutils/Makefile
+++ b/sysutils/coreutils/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.52 2011/10/03 16:17:08 jmmv Exp $
+# $NetBSD: Makefile,v 1.53 2012/04/17 17:47:19 joerg Exp $
.include "../../sysutils/coreutils/Makefile.common"
@@ -27,7 +27,11 @@ PLIST_VARS+= hostid stdbuf
.if ${OPSYS} != "Interix"
PLIST.hostid= yes
.endif
-.if ${OBJECT_FMT} == "ELF" && !empty(PKGSRC_COMPILER:Mgcc)
+
+.include "../../mk/compiler.mk"
+
+.if ${OBJECT_FMT} == "ELF" && \
+ (!empty(PKGSRC_COMPILER:Mgcc) || !empty(PKGSRC_COMPILER:Mclang))
PLIST.stdbuf= yes
.endif