diff options
Diffstat (limited to 'archivers')
-rw-r--r-- | archivers/zziplib/Makefile | 8 | ||||
-rw-r--r-- | archivers/zziplib/buildlink3.mk | 21 |
2 files changed, 25 insertions, 4 deletions
diff --git a/archivers/zziplib/Makefile b/archivers/zziplib/Makefile index 492b995ba2d..707a4052e55 100644 --- a/archivers/zziplib/Makefile +++ b/archivers/zziplib/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 2004/02/14 17:21:32 jlam Exp $ +# $NetBSD: Makefile,v 1.4 2004/03/11 06:45:55 jlam Exp $ # DISTNAME= zziplib-0.10.82 @@ -10,10 +10,10 @@ MAINTAINER= tech-pkg@NetBSD.org HOMEPAGE= http://zziplib.sourceforge.net/ COMMENT= Library for ZIP archive handling -USE_BUILDLINK2= yes +USE_BUILDLINK3= yes USE_LIBTOOL= yes GNU_CONFIGURE= yes -CONFIGURE_ARGS= --with-zlib=${BUILDLINK_DIR} +CONFIGURE_ARGS= --with-zlib=${BUILDLINK_PREFIX.zlib} -.include "../../devel/zlib/buildlink2.mk" +.include "../../devel/zlib/buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/archivers/zziplib/buildlink3.mk b/archivers/zziplib/buildlink3.mk new file mode 100644 index 00000000000..fcb533f8fe3 --- /dev/null +++ b/archivers/zziplib/buildlink3.mk @@ -0,0 +1,21 @@ +# $NetBSD: buildlink3.mk,v 1.1 2004/03/11 06:45:55 jlam Exp $ + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +ZZIPLIB_BUILDLINK3_MK:= ${ZZIPLIB_BUILDLINK3_MK}+ + +.if !empty(BUILDLINK_DEPTH:M+) +BUILDLINK_DEPENDS+= zziplib +.endif + +BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nzziplib} +BUILDLINK_PACKAGES+= zziplib + +.if !empty(ZZIPLIB_BUILDLINK3_MK:M+) +BUILDLINK_DEPENDS.zziplib+= zziplib>=0.10.82 +BUILDLINK_PKGSRCDIR.zziplib?= ../../archivers/zziplib + +.include "../../devel/zlib/buildlink3.mk" + +.endif # ZZIPLIB_BUILDLINK3_MK + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} |