pkgsrc/net/libfetch/buildlink3.mk
joerg 586f71a7c1 libfetch-2.1:
- remove most of the debug junk
- fix a buffer overflow in the config parser
- replace stdio usage with a simple abstract IO framework. currently
without explicit buffering, but that might be added later
2008-04-02 15:33:14 +00:00

28 lines
786 B
Makefile

# $NetBSD: buildlink3.mk,v 1.2 2008/04/02 15:33:14 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.1
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/+$//}