pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mail/clamav bl3ify



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ba164409905f
branches:  trunk
changeset: 471688:ba164409905f
user:      xtraeme <xtraeme%pkgsrc.org@localhost>
date:      Tue Mar 30 00:29:59 2004 +0000

description:
bl3ify

diffstat:

 mail/clamav/Makefile      |  14 +++++++-------
 mail/clamav/buildlink3.mk |  22 ++++++++++++++++++++++
 2 files changed, 29 insertions(+), 7 deletions(-)

diffs (67 lines):

diff -r 6d6036142c06 -r ba164409905f mail/clamav/Makefile
--- a/mail/clamav/Makefile      Tue Mar 30 00:26:34 2004 +0000
+++ b/mail/clamav/Makefile      Tue Mar 30 00:29:59 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2004/03/09 06:39:36 grant Exp $
+# $NetBSD: Makefile,v 1.14 2004/03/30 00:29:59 xtraeme Exp $
 
 DISTNAME=      clamav-0.66
 PKGREVISION=   1
@@ -10,7 +10,7 @@
 HOMEPAGE=      http://www.clamav.net/
 COMMENT=       Anti-virus toolkit
 
-USE_BUILDLINK2=                yes
+USE_BUILDLINK3=                yes
 GNU_CONFIGURE=         yes
 USE_PKGINSTALL=                yes
 USE_LIBTOOL=           yes
@@ -33,7 +33,7 @@
 
 .include "../../mk/bsd.prefs.mk"
 .if defined(USE_MILTER) && ${USE_MILTER} == "YES"
-#.include "../../mail/libmilter/buildlink2.mk"
+#.include "../../mail/libmilter/buildlink3.mk"
 #CONFIGURE_ARGS+=      --enable-milter
 #PLIST_SRC+=           ${PKGDIR}/PLIST.milter
 .else
@@ -44,9 +44,9 @@
 post-install:
        ${CHOWN} -R ${CLAMAV_USER}:${CLAMAV_GROUP} ${PREFIX}/share/clamav
 
-.include "../../archivers/bzip2/buildlink2.mk"
-.include "../../devel/zlib/buildlink2.mk"
-.include "../../devel/gmp/buildlink2.mk"
+.include "../../archivers/bzip2/buildlink3.mk"
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../devel/gmp/buildlink3.mk"
 
-.include "../../mk/pthread.buildlink2.mk"
+.include "../../mk/pthread.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 6d6036142c06 -r ba164409905f mail/clamav/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/clamav/buildlink3.mk Tue Mar 30 00:29:59 2004 +0000
@@ -0,0 +1,22 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/03/30 00:29:59 xtraeme Exp $
+
+BUILDLINK_DEPTH:=      ${BUILDLINK_DEPTH}+
+CLAMAV_BUILDLINK3_MK:= ${CLAMAV_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+=    clamav
+.endif
+
+BUILDLINK_PACKAGES:=   ${BUILDLINK_PACKAGES:Nclamav}
+BUILDLINK_PACKAGES+=   clamav
+
+.if !empty(CLAMAV_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.clamav+=     clamav>=0.60nb1
+BUILDLINK_PKGSRCDIR.clamav?=   ../../mail/clamav
+.endif # CLAMAV_BUILDLINK3_MK
+
+.include "../../archivers/bzip2/buildlink3.mk"
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../devel/gmp/buildlink3.mk"
+
+BUILDLINK_DEPTH:=     ${BUILDLINK_DEPTH:S/+$//}



Home | Main Index | Thread Index | Old Index