summaryrefslogtreecommitdiff
path: root/mk/compiler.mk
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2004-11-22 22:24:46 +0000
committerwiz <wiz@pkgsrc.org>2004-11-22 22:24:46 +0000
commit43de7f8bc03896465e145ed2a7e5e0434ee169f1 (patch)
tree75ec31cee47b8b80c4b23f8a93bd16e2e1324807 /mk/compiler.mk
parent59c06ab9cb31a75282ffdcb4fee39c3aae67b6c7 (diff)
downloadpkgsrc-43de7f8bc03896465e145ed2a7e5e0434ee169f1.tar.gz
Now that no package uses USE_GCC_SHLIB any longer, remove support
for it from compiler.mk. Move the variable of the same name used by compiler/gcc.mk and the gcc* buildlink3 files into private namespace (_USE_GCC_SHLIB).
Diffstat (limited to 'mk/compiler.mk')
-rw-r--r--mk/compiler.mk15
1 files changed, 1 insertions, 14 deletions
diff --git a/mk/compiler.mk b/mk/compiler.mk
index c5ff1e5910f..24ae0432ddf 100644
--- a/mk/compiler.mk
+++ b/mk/compiler.mk
@@ -1,4 +1,4 @@
-# $NetBSD: compiler.mk,v 1.37 2004/11/20 04:37:08 grant Exp $
+# $NetBSD: compiler.mk,v 1.38 2004/11/22 22:24:47 wiz Exp $
#
# This Makefile fragment implements handling for supported C/C++/Fortran
# compilers.
@@ -40,9 +40,6 @@
# GCC_REQD instead of the native compiler. Should only be set in
# /etc/mk.conf.
#
-# USE_GCC_SHLIB
-# Indicates that a package uses GCC shared libraries, so we
-# register a runtime dependency on the compiler package.
#
# USE_LANGUAGES
# Lists the languages used in the source code of the package,
@@ -68,16 +65,6 @@ BSD_COMPILER_MK= defined
.include "../../mk/bsd.prefs.mk"
-# XXX Add this gross and completely inaccurate hack. Packages that
-# XXX set USE_GCC_SHLIB should be adjusted to set USE_LANGUAGES
-# XXX correctly (most likely by saying it needs either "c++" or
-# XXX "c c++"). This is here for now so that ~85 packages won't
-# XXX suddenly break.
-#
-.if defined(USE_GCC_SHLIB)
-USE_LANGUAGES?= c c++
-.endif
-
# By default, assume that the package requires a C compiler.
USE_LANGUAGES?= c