Skip site navigation (1)Skip section navigation (2)
Date:      11 Jul 2004 14:47:24 -0000
From:      "freebsd@simplerezo.com" <freebsd@simplerezo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/68923: [maintainer-update] mail/qmail-scanner : lot of fixes and update to 1.22
Message-ID:  <20040711144724.94109.qmail@xeon-web.ouestil.com>
Resent-Message-ID: <200407111550.i6BFoLv6003989@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         68923
>Category:       ports
>Synopsis:       [maintainer-update] mail/qmail-scanner : lot of fixes and update to 1.22
>Confidential:   no
>Severity:       non-critical
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jul 11 15:50:21 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     freebsd@simplerezo.com
>Release:        FreeBSD 4.9-RELEASE-p3 i386
>Organization:
SimpleRezo [http://www.simplerezo.com]
>Environment:

	N/A

>Description:

        Fix depencies (using BUILD_DEPENDS instead of RUN_DEPENDS)
	  (thanks to David Du SERRE-TELMON for reporting this)
	Fix Time/HiRes depency (see PR#68579)

>How-To-Repeat:
>Fix:

diff -ruN qmail-scanner/Makefile qmail-scanner.updated/Makefile
--- qmail-scanner/Makefile	Sun May 30 07:10:30 2004
+++ qmail-scanner.updated/Makefile	Fri Jul  9 15:35:30 2004
@@ -7,6 +7,7 @@
 
 PORTNAME=	qmail-scanner
 PORTVERSION=	1.22
+PORTREVISION=	1
 CATEGORIES=	mail security
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	${PORTNAME}
@@ -16,8 +17,7 @@
 MAINTAINER=	freebsd@simplerezo.com
 COMMENT=	Content/Anti-virus Scanner for qmail
 
-BUILD_DEPENDS=	${QMAIL_QUEUE}:${PORTSDIR}/mail/qmail \
-		${SITE_PERL}/${PERL_ARCH}/Time/HiRes.pm:${PORTSDIR}/devel/p5-Time-HiRes \
+RUN_DEPENDS=	${QMAIL_QUEUE}:${PORTSDIR}/mail/qmail \
 		reformime:${PORTSDIR}/mail/maildrop
 
 # A normal qmail installation puts everything into /var/qmail/.
@@ -144,4 +144,10 @@
 test:
 	@${WRKSRC}/contrib/test_installation.sh -doit
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500800
+RUN_DEPENDS+=	${SITE_PERL}/${PERL_ARCH}/Time/HiRes.pm:${PORTSDIR}/devel/p5-Time-HiRes \
+.endif
+
+.include <bsd.port.post.mk>
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040711144724.94109.qmail>