blob: ea4178c30016cb6631aee1659439a6215c234e56 (
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
28
|
# $NetBSD: buildlink3.mk,v 1.3 2008/04/19 14:49:23 joerg Exp $
BUILDLINK_DEPMETHOD.libfetch?= build
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBFETCH_BUILDLINK3_MK:= ${LIBFETCH_BUILDLINK3_MK}+
.if ${BUILDLINK_DEPTH} == "+"
BUILDLINK_DEPENDS+= libfetch
.endif
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibfetch}
BUILDLINK_PACKAGES+= libfetch
BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libfetch
.if ${LIBFETCH_BUILDLINK3_MK} == "+"
BUILDLINK_API_DEPENDS.libfetch+= libfetch>=2.5
BUILDLINK_PKGSRCDIR.libfetch?= ../../net/libfetch
.endif # LIBFETCH_BUILDLINK3_MK
pkgbase := libfetch
.include "../../mk/pkg-build-options.mk"
.if !empty(PKG_BUILD_OPTIONS.libfetch:Mopenssl)
.include "../../security/openssl/buildlink3.mk"
.endif
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
|