diff options
Diffstat (limited to 'devel/libevent/buildlink2.mk')
-rw-r--r-- | devel/libevent/buildlink2.mk | 58 |
1 files changed, 0 insertions, 58 deletions
diff --git a/devel/libevent/buildlink2.mk b/devel/libevent/buildlink2.mk deleted file mode 100644 index d2a528ae8ee..00000000000 --- a/devel/libevent/buildlink2.mk +++ /dev/null @@ -1,58 +0,0 @@ -# $NetBSD: buildlink2.mk,v 1.7 2004/02/12 02:35:06 jlam Exp $ -# -# This Makefile fragment is included by packages that use libevent. -# -# This file was created automatically using createbuildlink 2.6. -# - -.if !defined(LIBEVENT_BUILDLINK2_MK) -LIBEVENT_BUILDLINK2_MK= # defined - -.include "../../mk/bsd.prefs.mk" - -.if exists(/usr/include/event.h) -_BUILTIN_LIBEVENT= YES -.else -_BUILTIN_LIBEVENT= NO -.endif - -.if ${_BUILTIN_LIBEVENT} == "YES" -_NEED_LIBEVENT= NO -.else -_NEED_LIBEVENT= YES -.endif - -.if !empty(PREFER_NATIVE:M[yY][eE][sS]) && \ - ${_BUILTIN_LIBEVENT} == "YES" -_NEED_LIBEVENT= NO -.endif -.if !empty(PREFER_PKGSRC:M[yY][eE][sS]) -_NEED_LIBEVENT= YES -.endif -.if !empty(PREFER_NATIVE:Mlibevent) && \ - ${_BUILTIN_LIBEVENT} == "YES" -_NEED_LIBEVENT= NO -.endif -.if !empty(PREFER_PKGSRC:Mlibevent) -_NEED_LIBEVENT= YES -.endif - -.if ${_NEED_LIBEVENT} == "YES" -BUILDLINK_PACKAGES+= libevent -BUILDLINK_DEPENDS.libevent?= libevent>=0.6 -BUILDLINK_PKGSRCDIR.libevent?= ../../devel/libevent - -EVAL_PREFIX+= BUILDLINK_PREFIX.libevent=libevent -BUILDLINK_PREFIX.libevent_DEFAULT= ${LOCALBASE} -.else -BUILDLINK_PREFIX.libevent= /usr -.endif - -BUILDLINK_FILES.libevent+= include/event.h -BUILDLINK_FILES.libevent+= lib/libevent.* - -BUILDLINK_TARGETS+= libevent-buildlink - -libevent-buildlink: _BUILDLINK_USE - -.endif # LIBEVENT_BUILDLINK2_MK |