summaryrefslogtreecommitdiff
path: root/mail/libmilter/buildlink2.mk
diff options
context:
space:
mode:
Diffstat (limited to 'mail/libmilter/buildlink2.mk')
-rw-r--r--mail/libmilter/buildlink2.mk63
1 files changed, 0 insertions, 63 deletions
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