Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Jul 2004 15:12:30 +0100
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        Haim Ashkenazi <haim@babysnakes.org>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: qmail question (or creating a "dummy" package)
Message-ID:  <20040729141230.GA28698@happy-idiot-talk.infracaninophile.co.uk>
In-Reply-To: <pan.2004.07.29.14.03.50.284517@babysnakes.org>
References:  <pan.2004.07.29.14.03.50.284517@babysnakes.org>

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

--tKW2IUtsqtDRztdT
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Jul 29, 2004 at 05:03:50PM +0300, Haim Ashkenazi wrote:

> I want to compile qmail with patches that are not in the ports (I want to
> test some of the patches in http://netdevice.com/qmail/rcptck/). since I'm
> a FreeBSD newbie I won't even start thinking about creating a port for it,
> so my other option (beside installing the port and then installing from
> source over it) is to search for a 'dummy' mechanism that will cause ports
> that depend on qmail to install even if it's not installed from the ports.
> is there a way to do it?

That's the default behaviour.  When a port checks to see if its
dependencies have been fulfilled, it doesn't look at the list of
already installed ports.  Instead it checks for the presence or
absence of a particular file (often a shlib).  If that file is
missing, it will install the port listed in the second part of the
{BUILD,RUN,LIB}_DEPENDS line.

That means you can install a dependency completely outside the ports
system if you wish, or you can substitute a different port to satisfy
that dependency -- eg. databases/p5-DBD-mysql for p5-Mysql

	Cheers,

	Matthew

--=20
Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
                                                      Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey         Marlow
Tel: +44 1628 476614                                  Bucks., SL7 1TH UK

--tKW2IUtsqtDRztdT
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFBCQXOiD657aJF7eIRArvOAJ9LvrA6SFNdY9c3r60LrFTkpclYqgCgo7v1
5NPE59UfRiNnLqdOoOr7JNA=
=dRzr
-----END PGP SIGNATURE-----

--tKW2IUtsqtDRztdT--



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