pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/coreutils Add clang to the stdbuf list.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/aed8c855d9ff
branches:  trunk
changeset: 602667:aed8c855d9ff
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Tue Apr 17 17:47:19 2012 +0000

description:
Add clang to the stdbuf list.
XXX This is still completely broken as check

diffstat:

 sysutils/coreutils/Makefile |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (22 lines):

diff -r bbecc446cba3 -r aed8c855d9ff sysutils/coreutils/Makefile
--- a/sysutils/coreutils/Makefile       Tue Apr 17 17:46:30 2012 +0000
+++ b/sysutils/coreutils/Makefile       Tue Apr 17 17:47:19 2012 +0000
@@ -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 @@
 .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
 



Home | Main Index | Thread Index | Old Index