diff options
author | joerg <joerg@pkgsrc.org> | 2012-04-17 17:47:19 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2012-04-17 17:47:19 +0000 |
commit | 89f24f02b240aabf181540d8d306c2b59e75db48 (patch) | |
tree | 71a18e3720ddda3dc536a6c96dd30c97a8137226 /sysutils | |
parent | 4679fdca5f397e64b5b775c485982a0a586b569c (diff) | |
download | pkgsrc-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/Makefile | 8 |
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 |