summaryrefslogtreecommitdiff
path: root/mail/libesmtp/buildlink3.mk
blob: 3a34b9a03a73ed0562a71161f8cda2071e07f801 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# $NetBSD: buildlink3.mk,v 1.2 2004/03/05 19:25:37 jlam Exp $

BUILDLINK_DEPTH:=		${BUILDLINK_DEPTH}+
LIBESMTP_BUILDLINK3_MK:=	${LIBESMTP_BUILDLINK3_MK}+

.if !empty(BUILDLINK_DEPTH:M+)
BUILDLINK_DEPENDS+=	libesmtp
.endif

BUILDLINK_PACKAGES:=	${BUILDLINK_PACKAGES:Nlibesmtp}
BUILDLINK_PACKAGES+=	libesmtp

.if !empty(LIBESMTP_BUILDLINK3_MK:M+)
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/+$//}