summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
Diffstat (limited to 'lang')
-rw-r--r--lang/gcc/buildlink2.mk53
-rw-r--r--lang/gcc3-c++/buildlink2.mk45
-rw-r--r--lang/gcc3-c/buildlink2.mk40
-rw-r--r--lang/gcc3-f77/buildlink2.mk36
-rw-r--r--lang/gcc3-java/buildlink2.mk35
-rw-r--r--lang/gcc3-objc/buildlink2.mk35
-rw-r--r--lang/perl5/buildlink2.mk73
7 files changed, 0 insertions, 317 deletions
diff --git a/lang/gcc/buildlink2.mk b/lang/gcc/buildlink2.mk
deleted file mode 100644
index e407541616f..00000000000
--- a/lang/gcc/buildlink2.mk
+++ /dev/null
@@ -1,53 +0,0 @@
-# $NetBSD: buildlink2.mk,v 1.19 2004/02/24 10:02:23 jlam Exp $
-
-# Do not directly include this file in package Makefiles. It is
-# automatically included when required based on USE_GCC2.
-
-.if !defined(GCC2_BUILDLINK2_MK)
-GCC2_BUILDLINK2_MK= # defined
-
-.include "../../mk/bsd.prefs.mk"
-
-BUILDLINK_PACKAGES+= gcc
-BUILDLINK_DEPENDS.gcc?= gcc>=${_GCC_REQD}
-BUILDLINK_PKGSRCDIR.gcc?= ../../lang/gcc
-#
-# Packages that link against shared gcc libraries need a full
-# dependency.
-#
-.if defined(USE_GCC_SHLIB)
-BUILDLINK_DEPMETHOD.gcc+= full
-.else
-BUILDLINK_DEPMETHOD.gcc?= build
-.endif
-
-BUILDLINK_PREFIX.gcc= ${LOCALBASE}
-BUILDLINK_WRAPPER_ENV+= \
- COMPILER_PATH="${BUILDLINK_DIR}/bin"; export COMPILER_PATH
-
-# These files are from gcc>=2.95.3.
-BUILDLINK_FILES.gcc= ${_GCC_SUBPREFIX}include/g++-3/*
-BUILDLINK_FILES.gcc+= ${_GCC_SUBPREFIX}include/g++-3/*/*
-BUILDLINK_FILES.gcc+= ${_GCC_SUBPREFIX}lib/gcc-lib/*/*/include/*/*/*/*
-BUILDLINK_FILES.gcc+= ${_GCC_SUBPREFIX}lib/gcc-lib/*/*/include/*/*/*
-BUILDLINK_FILES.gcc+= ${_GCC_SUBPREFIX}lib/gcc-lib/*/*/include/*/*
-BUILDLINK_FILES.gcc+= ${_GCC_SUBPREFIX}lib/gcc-lib/*/*/include/*
-BUILDLINK_FILES.gcc+= ${_GCC_SUBPREFIX}lib/gcc-lib/*/*/lib*.*
-BUILDLINK_FILES.gcc+= ${_GCC_SUBPREFIX}lib/gcc-lib/*/*/specs
-BUILDLINK_FILES.gcc+= ${_GCC_SUBPREFIX}${MACHINE_GNU_PLATFORM}/include/*/*
-BUILDLINK_FILES.gcc+= ${_GCC_SUBPREFIX}${MACHINE_GNU_PLATFORM}/include/*
-BUILDLINK_FILES.gcc+= ${_GCC_SUBPREFIX}lib/libiberty.*
-BUILDLINK_FILES.gcc+= ${_GCC_SUBPREFIX}lib/libstdc++.*
-
-BUILDLINK_PRE_TARGETS+= gcc-buildlink
-BUILDLINK_TARGETS+= libstdc++-buildlink-la
-
-gcc-buildlink: _BUILDLINK_USE
-
-libstdc++-buildlink-la:
- ${_PKG_SILENT}${_PKG_DEBUG} \
- lafile="${BUILDLINK_DIR}/lib/libstdc++.la"; \
- libpattern="/usr/lib/libstdc++.*"; \
- ${BUILDLINK_FAKE_LA}
-
-.endif # GCC2_BUILDLINK2_MK
diff --git a/lang/gcc3-c++/buildlink2.mk b/lang/gcc3-c++/buildlink2.mk
deleted file mode 100644
index 7d45c203155..00000000000
--- a/lang/gcc3-c++/buildlink2.mk
+++ /dev/null
@@ -1,45 +0,0 @@
-# $NetBSD: buildlink2.mk,v 1.2 2004/03/18 04:19:39 jlam Exp $
-
-.if !defined(GCC3_CXX_BUILDLINK2_MK)
-GCC3_CXX_BUILDLINK2_MK= # defined
-
-.include "../../mk/bsd.prefs.mk"
-
-.if defined(GCC3_INSTALLTO_SUBPREFIX)
-GCC3_PKGMODIF= _${GCC3_INSTALLTO_SUBPREFIX}
-.endif
-BUILDLINK_PACKAGES+= gcc3-cxx
-BUILDLINK_DEPENDS.gcc3-cxx?= gcc3${GCC3_PKGMODIF}-c++>=${_GCC_REQD}
-BUILDLINK_PKGSRCDIR.gcc3-cxx?= ../../lang/gcc3-c++
-
-# Packages that link against gcc shared libraries need a full
-# dependency.
-#
-.if defined(USE_GCC_SHLIB)
-BUILDLINK_DEPMETHOD.gcc3-cxx+= full
-.else
-BUILDLINK_DEPMETHOD.gcc3-cxx?= build
-.endif
-
-BUILDLINK_PREFIX.gcc3-cxx= ${LOCALBASE}
-BUILDLINK_WRAPPER_ENV+= \
- COMPILER_PATH="${BUILDLINK_DIR}/bin"; export COMPILER_PATH
-
-BUILDLINK_FILES.gcc3-cxx= ${_GCC_SUBPREFIX}include/c++/*/*
-BUILDLINK_FILES.gcc3-cxx+= ${_GCC_SUBPREFIX}include/c++/*/*/*
-BUILDLINK_FILES.gcc3-cxx+= ${_GCC_SUBPREFIX}include/c++/*/*/*/*
-BUILDLINK_FILES.gcc3-cxx+= ${_GCC_SUBPREFIX}lib/libstdc++.*
-BUILDLINK_FILES.gcc3-cxx+= ${_GCC_SUBPREFIX}lib/libsupc++.*
-
-BUILDLINK_TARGETS+= gcc3-cxx-buildlink
-BUILDLINK_TARGETS+= libstdc++-buildlink-la
-
-gcc3-cxx-buildlink: _BUILDLINK_USE
-
-libstdc++-buildlink-la:
- ${_PKG_SILENT}${_PKG_DEBUG} \
- lafile="${BUILDLINK_DIR}/lib/libstdc++.la"; \
- libpattern="/usr/lib/libstdc++.*"; \
- ${BUILDLINK_FAKE_LA}
-
-.endif # GCC3_CXX_BUILDLINK2_MK
diff --git a/lang/gcc3-c/buildlink2.mk b/lang/gcc3-c/buildlink2.mk
deleted file mode 100644
index 316483fde40..00000000000
--- a/lang/gcc3-c/buildlink2.mk
+++ /dev/null
@@ -1,40 +0,0 @@
-# $NetBSD: buildlink2.mk,v 1.6 2004/03/18 04:19:39 jlam Exp $
-
-.if !defined(GCC3_C_BUILDLINK2_MK)
-GCC3_C_BUILDLINK2_MK= # defined
-
-.include "../../mk/bsd.prefs.mk"
-
-.if defined(GCC3_INSTALLTO_SUBPREFIX)
-GCC3_PKGMODIF= _${GCC3_INSTALLTO_SUBPREFIX}
-.endif
-BUILDLINK_PACKAGES+= gcc3-c
-BUILDLINK_DEPENDS.gcc3-c?= gcc3${GCC3_PKGMODIF}-c>=${_GCC_REQD}
-BUILDLINK_PKGSRCDIR.gcc3-c?= ../../lang/gcc3-c
-
-# Packages that link against gcc shared libraries need a full
-# dependency.
-#
-.if defined(USE_GCC_SHLIB)
-BUILDLINK_DEPMETHOD.gcc3-c+= full
-.else
-BUILDLINK_DEPMETHOD.gcc3-c?= build
-.endif
-
-BUILDLINK_PREFIX.gcc3-c= ${LOCALBASE}
-BUILDLINK_WRAPPER_ENV+= \
- COMPILER_PATH="${BUILDLINK_DIR}/bin"; export COMPILER_PATH
-
-BUILDLINK_FILES.gcc3-c= ${_GCC_SUBPREFIX}lib/gcc-lib/*/*/include/*/*/*/*
-BUILDLINK_FILES.gcc3-c+=${_GCC_SUBPREFIX}lib/gcc-lib/*/*/include/*/*/*
-BUILDLINK_FILES.gcc3-c+=${_GCC_SUBPREFIX}lib/gcc-lib/*/*/include/*/*
-BUILDLINK_FILES.gcc3-c+=${_GCC_SUBPREFIX}lib/gcc-lib/*/*/include/*
-BUILDLINK_FILES.gcc3-c+=${_GCC_SUBPREFIX}lib/gcc-lib/*/*/lib*.*
-BUILDLINK_FILES.gcc3-c+=${_GCC_SUBPREFIX}lib/gcc-lib/*/*/specs
-BUILDLINK_FILES.gcc3-c+=${_GCC_SUBPREFIX}lib/libgcc_s.*
-
-BUILDLINK_PRE_TARGETS+= gcc3-c-buildlink
-
-gcc3-c-buildlink: _BUILDLINK_USE
-
-.endif # GCC3_C_BUILDLINK2_MK
diff --git a/lang/gcc3-f77/buildlink2.mk b/lang/gcc3-f77/buildlink2.mk
deleted file mode 100644
index 62600d1fde8..00000000000
--- a/lang/gcc3-f77/buildlink2.mk
+++ /dev/null
@@ -1,36 +0,0 @@
-# $NetBSD: buildlink2.mk,v 1.3 2004/03/18 04:19:39 jlam Exp $
-
-.if !defined(GCC3_F77_BUILDLINK2_MK)
-GCC3_F77_BUILDLINK2_MK= # defined
-
-.include "../../mk/bsd.prefs.mk"
-
-.if defined(GCC3_INSTALLTO_SUBPREFIX)
-GCC3_PKGMODIF= _${GCC3_INSTALLTO_SUBPREFIX}
-.endif
-BUILDLINK_PACKAGES+= gcc3-f77
-BUILDLINK_DEPENDS.gcc3-f77?= gcc3${GCC3_PKGMODIF}-f77>=${_GCC_REQD}
-BUILDLINK_PKGSRCDIR.gcc3-f77?= ../../lang/gcc3-f77
-
-# Packages that link against gcc shared libraries need a full
-# dependency.
-#
-.if defined(USE_GCC_SHLIB)
-BUILDLINK_DEPMETHOD.gcc3-f77+= full
-.else
-BUILDLINK_DEPMETHOD.gcc3-f77?= build
-.endif
-
-BUILDLINK_PREFIX.gcc3-f77= ${LOCALBASE}
-BUILDLINK_WRAPPER_ENV+= \
- COMPILER_PATH="${BUILDLINK_DIR}/bin"; export COMPILER_PATH
-
-BUILDLINK_FILES.gcc3-f77= ${_GCC_SUBPREFIX}lib/gcc-lib/*/*/include/g2c.h
-BUILDLINK_FILES.gcc3-f77+= ${_GCC_SUBPREFIX}lib/libfrtbegin.*
-BUILDLINK_FILES.gcc3-f77+= ${_GCC_SUBPREFIX}lib/libg2c.*
-
-BUILDLINK_TARGETS+= gcc3-f77-buildlink
-
-gcc3-f77-buildlink: _BUILDLINK_USE
-
-.endif # GCC3_F77_BUILDLINK2_MK
diff --git a/lang/gcc3-java/buildlink2.mk b/lang/gcc3-java/buildlink2.mk
deleted file mode 100644
index d7dce811c50..00000000000
--- a/lang/gcc3-java/buildlink2.mk
+++ /dev/null
@@ -1,35 +0,0 @@
-# $NetBSD: buildlink2.mk,v 1.2 2004/03/18 04:19:39 jlam Exp $
-
-.if !defined(GCC3_JAVA_BUILDLINK2_MK)
-GCC3_JAVA_BUILDLINK2_MK= # defined
-
-.include "../../mk/bsd.prefs.mk"
-
-.if defined(GCC3_INSTALLTO_SUBPREFIX)
-GCC3_PKGMODIF= _${GCC3_INSTALLTO_SUBPREFIX}
-.endif
-BUILDLINK_PACKAGES+= gcc3-java
-BUILDLINK_DEPENDS.gcc3-java?= gcc3${GCC3_PKGMODIF}-java>=${_GCC_REQD}
-BUILDLINK_PKGSRCDIR.gcc3-java?= ../../lang/gcc3-java
-
-# Packages that link against gcc shared libraries need a full
-# dependency.
-#
-.if defined(USE_GCC_SHLIB)
-BUILDLINK_DEPMETHOD.gcc3-java+= full
-.else
-BUILDLINK_DEPMETHOD.gcc3-java?= build
-.endif
-
-BUILDLINK_PREFIX.gcc3-java= ${LOCALBASE}
-BUILDLINK_WRAPPER_ENV+= \
- COMPILER_PATH="${BUILDLINK_DIR}/bin"; export COMPILER_PATH
-
-BUILDLINK_FILES.gcc3-java= ${_GCC_SUBPREFIX}lib/gcc-lib/*/*/include/java/*
-BUILDLINK_FILES.gcc3-java+= ${_GCC_SUBPREFIX}/lib/libjava.*
-
-BUILDLINK_TARGETS+= gcc3-java-buildlink
-
-gcc3-java-buildlink: _BUILDLINK_USE
-
-.endif # GCC3_JAVA_BUILDLINK2_MK
diff --git a/lang/gcc3-objc/buildlink2.mk b/lang/gcc3-objc/buildlink2.mk
deleted file mode 100644
index 774980952a7..00000000000
--- a/lang/gcc3-objc/buildlink2.mk
+++ /dev/null
@@ -1,35 +0,0 @@
-# $NetBSD: buildlink2.mk,v 1.2 2004/03/18 04:19:39 jlam Exp $
-
-.if !defined(GCC3_OBJC_BUILDLINK2_MK)
-GCC3_OBJC_BUILDLINK2_MK= # defined
-
-.include "../../mk/bsd.prefs.mk"
-
-.if defined(GCC3_INSTALLTO_SUBPREFIX)
-GCC3_PKGMODIF= _${GCC3_INSTALLTO_SUBPREFIX}
-.endif
-BUILDLINK_PACKAGES+= gcc3-objc
-BUILDLINK_DEPENDS.gcc3-objc?= gcc3${GCC3_PKGMODIF}-objc>=${_GCC_REQD}
-BUILDLINK_PKGSRCDIR.gcc3-objc?= ../../lang/gcc3-objc
-
-# Packages that link against gcc shared libraries need a full
-# dependency.
-#
-.if defined(USE_GCC_SHLIB)
-BUILDLINK_DEPMETHOD.gcc3-objc+= full
-.else
-BUILDLINK_DEPMETHOD.gcc3-objc?= build
-.endif
-
-BUILDLINK_PREFIX.gcc3-objc= ${LOCALBASE}
-BUILDLINK_WRAPPER_ENV+= \
- COMPILER_PATH="${BUILDLINK_DIR}/bin"; export COMPILER_PATH
-
-BUILDLINK_FILES.gcc3-objc= ${_GCC_SUBPREFIX}lib/gcc-lib/*/*/include/objc/*
-BUILDLINK_FILES.gcc3-objc+= ${_GCC_SUBPREFIX}/lib/libobjc.*
-
-BUILDLINK_TARGETS+= gcc3-objc-buildlink
-
-gcc3-objc-buildlink: _BUILDLINK_USE
-
-.endif # GCC3_OBJC_BUILDLINK2_MK
diff --git a/lang/perl5/buildlink2.mk b/lang/perl5/buildlink2.mk
deleted file mode 100644
index c34d5b2f880..00000000000
--- a/lang/perl5/buildlink2.mk
+++ /dev/null
@@ -1,73 +0,0 @@
-# $NetBSD: buildlink2.mk,v 1.13 2004/04/26 04:46:00 jlam Exp $
-
-.if !defined(PERL5_BUILDLINK2_MK)
-PERL5_BUILDLINK2_MK= # defined
-
-USE_PERL5?= run
-
-.include "../../mk/bsd.prefs.mk"
-
-PERL5_REQD+= 5.0
-BUILDLINK_PACKAGES+= perl
-BUILDLINK_DEPENDS.perl?= {perl>=${_PERL5_REQD},perl-thread>=${_PERL5_REQD}}
-BUILDLINK_PKGSRCDIR.perl?= ${PERL5_PKGSRCDIR}
-
-.if ${USE_PERL5} == "build"
-BUILDLINK_DEPMETHOD.perl?= build
-.endif
-
-EVAL_PREFIX+= BUILDLINK_PREFIX.perl=perl
-BUILDLINK_PREFIX.perl_DEFAULT= ${LOCALBASE}
-PERL5?= ${BUILDLINK_PREFIX.perl}/bin/perl
-
-_PERL5_SITEVARS= \
- INSTALLSITEBIN INSTALLSITELIB INSTALLSITEARCH \
- INSTALLSITEMAN1DIR INSTALLSITEMAN3DIR \
- SITELIBEXP SITEARCHEXP
-
-_PERL5_SITEVAR.INSTALLSITEBIN= installsitebin
-_PERL5_SITEVAR.INSTALLSITELIB= installsitelib
-_PERL5_SITEVAR.INSTALLSITEARCH= installsitearch
-_PERL5_SITEVAR.INSTALLSITEMAN1DIR= installsiteman1dir
-_PERL5_SITEVAR.INSTALLSITEMAN3DIR= installsiteman3dir
-_PERL5_SITEVAR.SITELIBEXP= sitelibexp
-_PERL5_SITEVAR.SITEARCHEXP= sitearchexp
-
-.if exists(${PERL5})
-. if !defined(_PERL5_SITEPREFIX)
-_PERL5_PREFIX!= \
- eval `${PERL5} -V:prefix 2>/dev/null`; ${ECHO} $$prefix
-_PERL5_SITEPREFIX!= \
- eval `${PERL5} -V:siteprefix 2>/dev/null`; ${ECHO} $$siteprefix
-MAKEFLAGS+= _PERL5_PREFIX=${_PERL5_PREFIX:Q}
-MAKEFLAGS+= _PERL5_SITEPREFIX=${_PERL5_SITEPREFIX:Q}
-
-. for _var_ in ${_PERL5_SITEVARS}
-PERL5_SUB_${_var_}!= \
- eval `${PERL5} -V:${_PERL5_SITEVAR.${_var_}} 2>/dev/null`; \
- ${ECHO} $${${_PERL5_SITEVAR.${_var_}}} | \
- ${SED} -e "s,^${_PERL5_SITEPREFIX}/,,"
-MAKEFLAGS+= PERL5_SUB_${_var_}=${PERL5_SUB_${_var_}:Q}
-. endfor
-PERL5_SUB_INSTALLARCHLIB!= \
- eval `${PERL5} -V:installarchlib 2>/dev/null`; \
- ${ECHO} $$installarchlib | \
- ${SED} -e "s,^${_PERL5_PREFIX}/,,"
-MAKEFLAGS+= PERL5_SUB_INSTALLARCHLIB=${PERL5_SUB_INSTALLARCHLIB:Q}
-PERL5_SUB_INSTALLSCRIPT!= \
- eval `${PERL5} -V:installscript 2>/dev/null`; \
- ${ECHO} $$installscript | \
- ${SED} -e "s,^${_PERL5_PREFIX}/,,"
-MAKEFLAGS+= PERL5_SUB_INSTALLSCRIPT=${PERL5_SUB_INSTALLSCRIPT:Q}
-. endif
-
-BUILDLINK_FILES.perl= \
- ${PERL5_SUB_INSTALLARCHLIB}/CORE/* \
- ${PERL5_SUB_INSTALLARCHLIB}/auto/DynaLoader/DynaLoader.a
-.endif
-
-BUILDLINK_TARGETS+= perl-buildlink
-
-perl-buildlink: _BUILDLINK_USE
-
-.endif # PERL5_BUILDLINK2_MK