summaryrefslogtreecommitdiff
path: root/sysutils/coreutils
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2015-06-16 22:28:13 +0000
committerjperkin <jperkin@pkgsrc.org>2015-06-16 22:28:13 +0000
commit654185915f64004d1dfcae70a19cdbd0e7dfe6f6 (patch)
tree46f664ea2523f349f53bb12f3202838f6f2f5baf /sysutils/coreutils
parent426b4ff3ff91017b3865d87b06f951b77bd2175e (diff)
downloadpkgsrc-654185915f64004d1dfcae70a19cdbd0e7dfe6f6.tar.gz
stdbuf is built and installed on Darwin, so add Mach-O to the weird
and wonderful OBJECT_FMT check to enable PLIST.stdbuf.
Diffstat (limited to 'sysutils/coreutils')
-rw-r--r--sysutils/coreutils/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysutils/coreutils/Makefile b/sysutils/coreutils/Makefile
index efcad8497a0..d255afbb1c7 100644
--- a/sysutils/coreutils/Makefile
+++ b/sysutils/coreutils/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.66 2015/06/12 10:51:12 wiz Exp $
+# $NetBSD: Makefile,v 1.67 2015/06/16 22:28:13 jperkin Exp $
PKGREVISION= 1
.include "../../sysutils/coreutils/Makefile.common"
@@ -29,7 +29,7 @@ USE_GCC_RUNTIME= yes
.include "../../mk/compiler.mk"
-.if ${OBJECT_FMT} == "ELF" && \
+.if (${OBJECT_FMT} == "ELF" || ${OBJECT_FMT} == "Mach-O") && \
(!empty(PKGSRC_COMPILER:Mgcc) || !empty(PKGSRC_COMPILER:Mclang))
PLIST.stdbuf= yes
.endif