pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/archivers/zziplib bl3ify



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d80156d0f89e
branches:  trunk
changeset: 470644:d80156d0f89e
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Thu Mar 11 06:45:55 2004 +0000

description:
bl3ify

diffstat:

 archivers/zziplib/Makefile      |   8 ++++----
 archivers/zziplib/buildlink3.mk |  21 +++++++++++++++++++++
 2 files changed, 25 insertions(+), 4 deletions(-)

diffs (48 lines):

diff -r 1e7742e8feaf -r d80156d0f89e archivers/zziplib/Makefile
--- a/archivers/zziplib/Makefile        Thu Mar 11 06:37:50 2004 +0000
+++ b/archivers/zziplib/Makefile        Thu Mar 11 06:45:55 2004 +0000
@@ -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 @@
 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 -r 1e7742e8feaf -r d80156d0f89e archivers/zziplib/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/archivers/zziplib/buildlink3.mk   Thu Mar 11 06:45:55 2004 +0000
@@ -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/+$//}



Home | Main Index | Thread Index | Old Index