From owner-freebsd-ports@FreeBSD.ORG Wed Oct 12 11:42:29 2005 Return-Path: X-Original-To: ports@freebsd.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 57B2716A41F for ; Wed, 12 Oct 2005 11:42:29 +0000 (GMT) (envelope-from edwin@mavetju.org) Received: from mail3out.barnet.com.au (mail3out.barnet.com.au [202.83.176.17]) by mx1.FreeBSD.org (Postfix) with ESMTP id 479F843D64 for ; Wed, 12 Oct 2005 11:42:25 +0000 (GMT) (envelope-from edwin@mavetju.org) Received: by mail3out.barnet.com.au (Postfix, from userid 27) id 68F4D877C32; Wed, 12 Oct 2005 21:42:24 +1000 (EST) X-Viruscan-Id: <434CF6A00000B069539292@BarNet> Received: from mail3-auth.barnet.com.au (mail3.barnet.com.au [202.83.176.16]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.barnet.com.au", Issuer "BarNet Root Certificate Authority" (verified OK)) by mail3.barnet.com.au (Postfix) with ESMTP id 34910877C2E for ; Wed, 12 Oct 2005 21:42:24 +1000 (EST) Received: from k7.mavetju (edwin-3.int.barnet.com.au [10.10.12.2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "edwin.adsl.barnet.com.au", Issuer "BarNet Root Certificate Authority" (not verified)) by mail3-auth.barnet.com.au (Postfix) with ESMTP id D6BBE877C28 for ; Wed, 12 Oct 2005 21:42:23 +1000 (EST) Received: by k7.mavetju (Postfix, from userid 1001) id 9E653619A; Wed, 12 Oct 2005 21:42:22 +1000 (EST) Date: Wed, 12 Oct 2005 21:42:22 +1000 From: Edwin Groothuis To: ports@freebsd.org Message-ID: <20051012114222.GD1278@k7.mavetju> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.9i Cc: Subject: PERL_RUN_DEPENDS and PERL_BUILD_DEPENDS X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Oct 2005 11:42:29 -0000 I've just submitted a patch to make it easier for people to define dependencies on Perl modules: PERL_BUILD_DEPENDS and PERL_RUN_DEPENDS. The syntax was: BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/MIME/Lite.pm:${PORTSDIR}/mail/p5-MIME-Lite The syntax is: PERL_BUILD_DEPENDS= MIME-Lite:${PORTSDIR}/mail/p5-MIME-Lite It checks the for the existence of MIME::Lite with the "perl -e 'use MIME::Lite'" command. The PR number is ports/87318. Feel free to comment about it. Edwin -- Edwin Groothuis | Personal website: http://www.mavetju.org edwin@mavetju.org | Weblog: http://weblog.barnet.com.au/edwin/