summaryrefslogtreecommitdiff
path: root/mail/libesmtp/buildlink3.mk
diff options
context:
space:
mode:
Diffstat (limited to 'mail/libesmtp/buildlink3.mk')
-rw-r--r--mail/libesmtp/buildlink3.mk29
1 files changed, 29 insertions, 0 deletions
diff --git a/mail/libesmtp/buildlink3.mk b/mail/libesmtp/buildlink3.mk
new file mode 100644
index 00000000000..e6b85c01d3a
--- /dev/null
+++ b/mail/libesmtp/buildlink3.mk
@@ -0,0 +1,29 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/02/11 02:54:41 xtraeme Exp $
+#
+# This Makefile fragment is included by packages that use libesmtp.
+#
+# This file was created automatically using createbuildlink-3.1.
+#
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+LIBESMTP_BUILDLINK3_MK:= ${LIBESMTP_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= libesmtp
+.endif
+
+.if !empty(LIBESMTP_BUILDLINK3_MK:M+)
+BUILDLINK_PACKAGES+= libesmtp
+BUILDLINK_DEPENDS.libesmtp+= libesmtp>=1.0rc1nb1
+BUILDLINK_PKGSRCDIR.libesmtp?= ../../mail/libesmtp
+
+LIBESMTP= -lesmtp
+
+CONFIGURE_ENV+= LIBESMTP="${LIBESMTP}"
+MAKE_ENV+= LIBESMTP="${LIBESMTP}"
+
+.include "../../security/openssl/buildlink3.mk"
+
+.endif # LIBESMTP_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}