diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/hesiod/buildlink2.mk | 60 | ||||
-rw-r--r-- | net/libares/buildlink2.mk | 20 |
2 files changed, 0 insertions, 80 deletions
diff --git a/net/hesiod/buildlink2.mk b/net/hesiod/buildlink2.mk deleted file mode 100644 index 991610b0cc5..00000000000 --- a/net/hesiod/buildlink2.mk +++ /dev/null @@ -1,60 +0,0 @@ -# $NetBSD: buildlink2.mk,v 1.7 2004/02/12 02:35:06 jlam Exp $ - -.if !defined(HESIOD_BUILDLINK2_MK) -HESIOD_BUILDLINK2_MK= # defined - -.include "../../mk/bsd.prefs.mk" - -BUILDLINK_DEPENDS.hesiod?= hesiod>=3.0.2 -BUILDLINK_PKGSRCDIR.hesiod?= ../../net/hesiod - -.if exists(/usr/include/hesiod.h) -_BUILTIN_HESIOD= YES -.else -_BUILTIN_HESIOD= NO -.endif - -.if ${_BUILTIN_HESIOD} == "YES" -_NEED_HESIOD= NO -.else -_NEED_HESIOD= YES -.endif - -.if !empty(PREFER_NATIVE:M[yY][eE][sS]) && \ - ${_BUILTIN_HESIOD} == "YES" -_NEED_HESIOD= NO -.endif -.if !empty(PREFER_PKGSRC:M[yY][eE][sS]) -_NEED_HESIOD= YES -.endif -.if !empty(PREFER_NATIVE:Mhesiod) && \ - ${_BUILTIN_HESIOD} == "YES" -_NEED_HESIOD= NO -.endif -.if !empty(PREFER_PKGSRC:Mhesiod) -_NEED_HESIOD= YES -.endif - -.if defined(USE_HESIOD) -_NEED_HESIOD= YES -.endif - -.if ${_NEED_HESIOD} == "YES" -BUILDLINK_PACKAGES+= hesiod -EVAL_PREFIX+= BUILDLINK_PREFIX.hesiod=hesiod -BUILDLINK_PREFIX.hesiod_DEFAULT= ${LOCALBASE} -.else -BUILDLINK_PREFIX.hesiod= /usr -.endif - -BUILDLINK_FILES.hesiod= include/hesiod.h -# -# if lib/libhesiod.* does not exists assume hesiod service is included in libc -# -BUILDLINK_FILES.hesiod+= lib/libhesiod.* - -BUILDLINK_TARGETS+= hesiod-buildlink - -hesiod-buildlink: _BUILDLINK_USE - -.endif # HESIOD_BUILDLINK2_MK diff --git a/net/libares/buildlink2.mk b/net/libares/buildlink2.mk deleted file mode 100644 index 170ac0df41a..00000000000 --- a/net/libares/buildlink2.mk +++ /dev/null @@ -1,20 +0,0 @@ -# $NetBSD: buildlink2.mk,v 1.1.1.1 2002/12/30 17:32:25 sommerfeld Exp $ - -.if !defined(LIBARES_BUILDLINK2_MK) -LIBARES_BUILDLINK2_MK= # defined - -BUILDLINK_DEPENDS.libares?= libares>=1.1.1 -BUILDLINK_PKGSRCDIR.libares?= ../../net/libares - -BUILDLINK_PACKAGES+= libares -EVAL_PREFIX+= BUILDLINK_PREFIX.libares=libares -BUILDLINK_PREFIX.libares_DEFAULT= ${LOCALBASE} - -BUILDLINK_FILES.libares= include/ares.h -BUILDLINK_FILES.libares+= lib/libares.* - -BUILDLINK_TARGETS+= libares-buildlink - -libares-buildlink: _BUILDLINK_USE - -.endif # LIBARES_BUILDLINK2_MK |