summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--databases/openldap/buildlink2.mk38
-rw-r--r--mail/libmilter/buildlink2.mk63
-rw-r--r--net/net-snmp/buildlink2.mk44
3 files changed, 0 insertions, 145 deletions
diff --git a/databases/openldap/buildlink2.mk b/databases/openldap/buildlink2.mk
deleted file mode 100644
index 54061b75c82..00000000000
--- a/databases/openldap/buildlink2.mk
+++ /dev/null
@@ -1,38 +0,0 @@
-# $NetBSD: buildlink2.mk,v 1.7 2004/03/26 02:27:36 wiz Exp $
-
-.if !defined(OPENLDAP_BUILDLINK2_MK)
-OPENLDAP_BUILDLINK2_MK= # defined
-
-BUILDLINK_PACKAGES+= openldap
-BUILDLINK_DEPENDS.openldap?= openldap>=2.1.22
-BUILDLINK_RECOMMENDED.openldap?= openldap>=2.1.25nb3
-BUILDLINK_PKGSRCDIR.openldap?= ../../databases/openldap
-
-EVAL_PREFIX+= BUILDLINK_PREFIX.openldap=openldap
-BUILDLINK_PREFIX.openldap_DEFAULT= ${LOCALBASE}
-BUILDLINK_FILES.openldap+= include/lber.h
-BUILDLINK_FILES.openldap+= include/lber_types.h
-BUILDLINK_FILES.openldap+= include/ldap.h
-BUILDLINK_FILES.openldap+= include/ldap_cdefs.h
-BUILDLINK_FILES.openldap+= include/ldap_features.h
-BUILDLINK_FILES.openldap+= include/ldap_schema.h
-BUILDLINK_FILES.openldap+= include/ldap_utf8.h
-BUILDLINK_FILES.openldap+= lib/liblber.*
-BUILDLINK_FILES.openldap+= lib/libldap.*
-BUILDLINK_FILES.openldap+= lib/libldap_r.*
-
-.include "../../mk/bsd.prefs.mk"
-
-.if defined(USE_SASL2) && (${USE_SASL2} == "YES")
-. include "../../security/cyrus-sasl2/buildlink2.mk"
-.elif defined(USE_SASL) && (${USE_SASL} == "YES")
-. include "../../security/cyrus-sasl/buildlink2.mk"
-.endif
-
-.include "../../security/openssl/buildlink2.mk"
-
-BUILDLINK_TARGETS+= openldap-buildlink
-
-openldap-buildlink: _BUILDLINK_USE
-
-.endif # OPENLDAP_BUILDLINK2_MK
diff --git a/mail/libmilter/buildlink2.mk b/mail/libmilter/buildlink2.mk
deleted file mode 100644
index c3b974bfead..00000000000
--- a/mail/libmilter/buildlink2.mk
+++ /dev/null
@@ -1,63 +0,0 @@
-# $NetBSD: buildlink2.mk,v 1.11 2004/04/06 14:01:51 tv Exp $
-#
-# This Makefile fragment is included by packages that use libmilter.
-#
-
-.if !defined(LIBMILTER_BUILDLINK2_MK)
-LIBMILTER_BUILDLINK2_MK= # defined
-
-.include "../../mk/bsd.prefs.mk"
-
-BUILDLINK_DEPENDS.libmilter?= libmilter>=8.12.9nb1
-BUILDLINK_PKGSRCDIR.libmilter?= ../../mail/libmilter
-BUILDLINK_DEPMETHOD.libmilter?= build
-
-.if exists(/usr/lib/libmilter.a)
-_MILTER_FILELIST!= ar t /usr/lib/libmilter.a
-. if empty(_MILTER_FILELIST:Merrstring.o)
-_BUILTIN_LIBMILTER= NO
-. else
-_BUILTIN_LIBMILTER= YES
-. endif
-.else
-_BUILTIN_LIBMILTER= NO
-.endif
-
-.if ${_BUILTIN_LIBMILTER} == "YES"
-_NEED_LIBMILTER= NO
-.else
-_NEED_LIBMILTER= YES
-.endif
-
-.if !empty(PREFER_NATIVE:M[yY][eE][sS]) && \
- ${_BUILTIN_LIBMILTER} == "YES"
-_NEED_LIBMILTER= NO
-.endif
-.if !empty(PREFER_PKGSRC:M[yY][eE][sS])
-_NEED_LIBMILTER= YES
-.endif
-.if !empty(PREFER_NATIVE:Mlibmilter) && \
- ${_BUILTIN_LIBMILTER} == "YES"
-_NEED_LIBMILTER= NO
-.endif
-.if !empty(PREFER_PKGSRC:Mlibmilter)
-_NEED_LIBMILTER= YES
-.endif
-
-.if ${_NEED_LIBMILTER} == "YES"
-BUILDLINK_PACKAGES+= libmilter
-EVAL_PREFIX+= BUILDLINK_PREFIX.libmilter=libmilter
-BUILDLINK_PREFIX.libmilter_DEFAULT= ${LOCALBASE}
-.else
-BUILDLINK_PREFIX.libmilter= /usr
-.endif
-
-BUILDLINK_FILES.libmilter+= include/libmilter/mfapi.h
-BUILDLINK_FILES.libmilter+= include/libmilter/mfdef.h
-BUILDLINK_FILES.libmilter+= lib/libmilter.*
-
-BUILDLINK_TARGETS+= libmilter-buildlink
-
-libmilter-buildlink: _BUILDLINK_USE
-
-.endif # LIBMILTER_BUILDLINK2_MK
diff --git a/net/net-snmp/buildlink2.mk b/net/net-snmp/buildlink2.mk
deleted file mode 100644
index daf5eebff04..00000000000
--- a/net/net-snmp/buildlink2.mk
+++ /dev/null
@@ -1,44 +0,0 @@
-# $NetBSD: buildlink2.mk,v 1.5 2002/12/29 10:37:44 veego Exp $
-
-.if !defined(NET_SNMP_BUILDLINK2_MK)
-NET_SNMP_BUILDLINK2_MK= # defined
-
-_NEED_NET_SNMP= YES
-
-.include "../../mk/bsd.prefs.mk"
-
-# If a package uses the UCD-SNMP interface to Net-SNMP, then first check
-# if ucd-snmp is installed. If it is, then use it, otherwise, use the
-# net-snmp package with the ucd-snmp-compatibility headers and libraries.
-#
-.if defined(USE_UCD_SNMP)
-_UCD_SNMP_INSTALLED!= ${PKG_INFO} -e ucd-snmp || ${ECHO}
-. if !empty(_UCD_SNMP_INSTALLED)
-. include "../../net/ucd-snmp/buildlink2.mk"
-_NEED_NET_SNMP= NO
-. endif # _UCD_SNMP_INSTALLED
-.endif
-
-.if ${_NEED_NET_SNMP} == "YES"
-BUILDLINK_PACKAGES+= net-snmp
-BUILDLINK_PKGBASE.net-snmp= net-snmp
-BUILDLINK_DEPENDS.net-snmp?= net-snmp>=5.0.6
-BUILDLINK_PKGSRCDIR.net-snmp?= ../../net/net-snmp
-
-EVAL_PREFIX+= BUILDLINK_PREFIX.net-snmp=net-snmp
-BUILDLINK_PREFIX.net-snmp_DEFAULT= ${LOCALBASE}
-BUILDLINK_FILES.net-snmp= include/net-snmp/*/*
-BUILDLINK_FILES.net-snmp+= include/net-snmp/*
-BUILDLINK_FILES.net-snmp+= include/ucd-snmp/*
-BUILDLINK_FILES.net-snmp+= lib/libnetsnmp.*
-BUILDLINK_FILES.net-snmp+= lib/libnetsnmpagent.*
-BUILDLINK_FILES.net-snmp+= lib/libnetsnmphelpers.*
-BUILDLINK_FILES.net-snmp+= lib/libnetsnmpmibs.*
-BUILDLINK_FILES.net-snmp+= lib/libsnmp.*
-
-BUILDLINK_TARGETS+= net-snmp-buildlink
-
-net-snmp-buildlink: _BUILDLINK_USE
-.endif # _NEED_NET_SNMP
-
-.endif # NET_SNMP_BUILDLINK2_MK