summaryrefslogtreecommitdiff
path: root/sysutils/coreutils
diff options
context:
space:
mode:
authorjperkin <jperkin>2014-03-13 11:08:49 +0000
committerjperkin <jperkin>2014-03-13 11:08:49 +0000
commitaed68ca9df01e2f29df91ef8b9c515c3a6a0496a (patch)
tree1c699ba1dd234c6ee43e2b178e217734fa130ad6 /sysutils/coreutils
parentdf9f3f0e0d4b02769d052a340515417d9f2ac808 (diff)
downloadpkgsrc-aed68ca9df01e2f29df91ef8b9c515c3a6a0496a.tar.gz
Set USE_GCC_RUNTIME=yes for packages which build shared libraries but do
not use libtool to do so. This is required to correctly depend upon a gcc runtime package (e.g. gcc47-libs) when using USE_PKGSRC_GCC_RUNTIME.
Diffstat (limited to 'sysutils/coreutils')
-rw-r--r--sysutils/coreutils/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/sysutils/coreutils/Makefile b/sysutils/coreutils/Makefile
index 1a12bbfc9f8..c301a82be3c 100644
--- a/sysutils/coreutils/Makefile
+++ b/sysutils/coreutils/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.61 2014/02/02 07:08:24 richard Exp $
+# $NetBSD: Makefile,v 1.62 2014/03/13 11:08:52 jperkin Exp $
.include "../../sysutils/coreutils/Makefile.common"
@@ -22,6 +22,11 @@ PLIST_VARS+= hostid stdbuf
PLIST.hostid= yes
.endif
+# This should really only be defined if building stdbuf, however we cannot
+# set this variable after including compiler.mk, so we take the hit of
+# setting it unconditionally for now.
+USE_GCC_RUNTIME= yes
+
.include "../../mk/compiler.mk"
.if ${OBJECT_FMT} == "ELF" && \