diff options
author | xtraeme <xtraeme> | 2004-03-30 00:29:59 +0000 |
---|---|---|
committer | xtraeme <xtraeme> | 2004-03-30 00:29:59 +0000 |
commit | 41869bd2eca26ebc26316d6ea8c561526afa4bb3 (patch) | |
tree | 8dfcc718368f35de9cb4bd1c4e0b9bab07aa4f50 /mail | |
parent | 6d1d29879cff348a55670e41f1949f6180c3b303 (diff) | |
download | pkgsrc-41869bd2eca26ebc26316d6ea8c561526afa4bb3.tar.gz |
bl3ify
Diffstat (limited to 'mail')
-rw-r--r-- | mail/clamav/Makefile | 14 | ||||
-rw-r--r-- | mail/clamav/buildlink3.mk | 22 |
2 files changed, 29 insertions, 7 deletions
diff --git a/mail/clamav/Makefile b/mail/clamav/Makefile index 4695c5c5193..3c2d151ac1f 100644 --- a/mail/clamav/Makefile +++ b/mail/clamav/Makefile @@ -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 @@ MAINTAINER= david@netbsd-fr.org 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 @@ PLIST_SRC= ${PKGDIR}/PLIST .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 @@ CONFIGURE_ARGS+= --disable-milter 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 --git a/mail/clamav/buildlink3.mk b/mail/clamav/buildlink3.mk new file mode 100644 index 00000000000..df319c02561 --- /dev/null +++ b/mail/clamav/buildlink3.mk @@ -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/+$//} |