diff options
Diffstat (limited to 'archivers/libzip/buildlink3.mk')
-rw-r--r-- | archivers/libzip/buildlink3.mk | 19 |
1 files changed, 6 insertions, 13 deletions
diff --git a/archivers/libzip/buildlink3.mk b/archivers/libzip/buildlink3.mk index b7ec38bf827..6969888783d 100644 --- a/archivers/libzip/buildlink3.mk +++ b/archivers/libzip/buildlink3.mk @@ -1,21 +1,14 @@ -# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:10:35 jlam Exp $ +# $NetBSD: buildlink3.mk,v 1.8 2009/03/20 19:23:51 joerg Exp $ -BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ -LIBZIP_BUILDLINK3_MK:= ${LIBZIP_BUILDLINK3_MK}+ +BUILDLINK_TREE+= libzip -.if !empty(BUILDLINK_DEPTH:M+) -BUILDLINK_DEPENDS+= libzip -.endif +.if !defined(LIBZIP_BUILDLINK3_MK) +LIBZIP_BUILDLINK3_MK:= -BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibzip} -BUILDLINK_PACKAGES+= libzip -BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libzip - -.if !empty(LIBZIP_BUILDLINK3_MK:M+) BUILDLINK_API_DEPENDS.libzip+= libzip>=0.7.1 BUILDLINK_PKGSRCDIR.libzip?= ../../archivers/libzip -.endif # LIBZIP_BUILDLINK3_MK .include "../../devel/zlib/buildlink3.mk" +.endif # LIBZIP_BUILDLINK3_MK -BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} +BUILDLINK_TREE+= -libzip |