summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lang/gawk/buildlink2.mk56
-rw-r--r--textproc/gsed/buildlink2.mk56
2 files changed, 0 insertions, 112 deletions
diff --git a/lang/gawk/buildlink2.mk b/lang/gawk/buildlink2.mk
deleted file mode 100644
index 0e6f1ab1e35..00000000000
--- a/lang/gawk/buildlink2.mk
+++ /dev/null
@@ -1,56 +0,0 @@
-# $NetBSD: buildlink2.mk,v 1.2 2003/07/13 13:52:20 wiz Exp $
-
-.if !defined(GAWK_BUILDLINK2_MK)
-GAWK_BUILDLINK2_MK= # defined
-
-.include "../../mk/bsd.prefs.mk"
-
-BUILDLINK_DEPENDS.gawk?= gawk>=3.1.1nb1
-BUILDLINK_PKGSRCDIR.gawk?= ../../lang/gawk
-
-#
-# Some packages may really need GNU awk, but most just demand a
-# working awk.
-#
-
-.if defined(USE_GNU_AWK)
-_NEED_GNU_AWK= YES
-.else
-_NEED_GNU_AWK= NO
-
-# Not sure about IRIX, mark it incompatible for now
-_INCOMPAT_AWK= IRIX-*-*
-
-INCOMPAT_AWK?= # empty
-. for _pattern_ in ${_INCOMPAT_AWK} ${INCOMPAT_AWK}
-. if !empty(MACHINE_PLATFORM:M${_pattern_})
-_NEED_GNU_AWK= YES
-. endif
-. endfor
-
-.endif
-
-.if ${_NEED_GNU_AWK} == "YES"
-BUILDLINK_DEPMETHOD.gawk?= build
-BUILDLINK_PACKAGES+= gawk
-BUILDLINK_PREFIX.gawk_DEFAULT= ${LOCALBASE}
-BUILDLINK_FILES.gawk= bin/${GNU_PROGRAM_PREFIX}awk
-EVAL_PREFIX+= BUILDLINK_PREFIX.gawk=gawk
-.endif
-
-BUILDLINK_TARGETS+= gawk-buildlink gawk-buildlink-bin
-
-gawk-buildlink: _BUILDLINK_USE
-
-gawk-buildlink-bin:
-.if ${_NEED_GNU_AWK} == "YES"
- ${_PKG_SILENT}${_PKG_DEBUG} \
- [ ! -f ${BUILDLINK_DIR}/bin/awk ] && \
- ${LN} -fs ${GNU_PROGRAM_PREFIX}awk ${BUILDLINK_DIR}/bin/awk
-.else
- ${_PKG_SILENT}${_PKG_DEBUG} \
- [ ! -f ${BUILDLINK_DIR}/bin/awk ] && \
- ${LN} -fs ${AWK} ${BUILDLINK_DIR}/bin/awk
-.endif
-
-.endif # GAWK_BUILDLINK2_MK
diff --git a/textproc/gsed/buildlink2.mk b/textproc/gsed/buildlink2.mk
deleted file mode 100644
index 467ce17c6ae..00000000000
--- a/textproc/gsed/buildlink2.mk
+++ /dev/null
@@ -1,56 +0,0 @@
-# $NetBSD: buildlink2.mk,v 1.2 2003/07/09 08:07:09 grant Exp $
-
-.if !defined(GSED_BUILDLINK2_MK)
-GSED_BUILDLINK2_MK= # defined
-
-.include "../../mk/bsd.prefs.mk"
-
-BUILDLINK_DEPENDS.gsed?= gsed>=3.02
-BUILDLINK_PKGSRCDIR.gsed?= ../../textproc/gsed
-
-#
-# Some packages may really need GNU sed, but most just demand a
-# working sed.
-#
-
-.if defined(USE_GNU_SED)
-_NEED_GNU_SED= YES
-.else
-_NEED_GNU_SED= NO
-
-# Not sure about IRIX, mark it incompatible for now
-_INCOMPAT_SED= IRIX-*-*
-
-INCOMPAT_SED?= # empty
-. for _pattern_ in ${_INCOMPAT_SED} ${INCOMPAT_SED}
-. if !empty(MACHINE_PLATFORM:M${_pattern_})
-_NEED_GNU_SED= YES
-. endif
-. endfor
-
-.endif
-
-.if ${_NEED_GNU_SED} == "YES"
-BUILDLINK_DEPMETHOD.gsed?= build
-BUILDLINK_PACKAGES+= gsed
-BUILDLINK_PREFIX.gsed_DEFAULT= ${LOCALBASE}
-BUILDLINK_FILES.gsed= bin/${GNU_PROGRAM_PREFIX}sed
-EVAL_PREFIX+= BUILDLINK_PREFIX.gsed=gsed
-.endif
-
-BUILDLINK_TARGETS+= gsed-buildlink gsed-buildlink-bin
-
-gsed-buildlink: _BUILDLINK_USE
-
-gsed-buildlink-bin:
-.if ${_NEED_GNU_SED} == "YES"
- ${_PKG_SILENT}${_PKG_DEBUG} \
- [ ! -f ${BUILDLINK_DIR}/bin/sed ] && \
- ${LN} -fs ${GNU_PROGRAM_PREFIX}sed ${BUILDLINK_DIR}/bin/sed
-.else
- ${_PKG_SILENT}${_PKG_DEBUG} \
- [ ! -f ${BUILDLINK_DIR}/bin/sed ] && \
- ${LN} -fs ${SED} ${BUILDLINK_DIR}/bin/sed
-.endif
-
-.endif # GSED_BUILDLINK2_MK