summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2014-03-13 11:08:49 +0000
committerjperkin <jperkin@pkgsrc.org>2014-03-13 11:08:49 +0000
commit8429be58d4dd33dfc5e94ee69bbfba5a484851cb (patch)
tree1c699ba1dd234c6ee43e2b178e217734fa130ad6 /sysutils
parent070d23eb3b8f4306f27bb48f0221010015ef7669 (diff)
downloadpkgsrc-8429be58d4dd33dfc5e94ee69bbfba5a484851cb.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')
-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" && \