summaryrefslogtreecommitdiff
path: root/mail/libesmtp/buildlink3.mk
blob: 885e3040de4be7eb35fb7ca67d80bcf7102563fa (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
27
# $NetBSD: buildlink3.mk,v 1.5 2004/10/03 00:12:53 tv 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_RECOMMENDED.libesmtp?=	libesmtp>=1.0.3nb1
BUILDLINK_PKGSRCDIR.libesmtp?=	../../mail/libesmtp

LIBESMTP=	-lesmtp

CONFIGURE_ENV+=	LIBESMTP="${LIBESMTP}"
MAKE_ENV+=	LIBESMTP="${LIBESMTP}"

.endif	# LIBESMTP_BUILDLINK3_MK

.include "../../security/openssl/buildlink3.mk"

BUILDLINK_DEPTH:=     ${BUILDLINK_DEPTH:S/+$//}