Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 May 2011 06:15:29 -0500
From:      Brooks Davis <brooks@one-eyed-alien.net>
To:        Alexey Dokuchaev <danfe@FreeBSD.ORG>
Cc:        cvs-ports@FreeBSD.ORG, cvs-all@FreeBSD.ORG, ports-committers@FreeBSD.ORG
Subject:   Re: cvs commit: ports/sysutils/ganglia-webfrontend Makefile pkg-plist
Message-ID:  <20110527111529.GB24282@lor.one-eyed-alien.net>
In-Reply-To: <20110527025402.GA2175@FreeBSD.org>
References:  <201105252314.p4PNEeV0010445@repoman.freebsd.org> <20110527025402.GA2175@FreeBSD.org>

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

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

On Fri, May 27, 2011 at 02:54:02AM +0000, Alexey Dokuchaev wrote:
> On Wed, May 25, 2011 at 11:14:40PM +0000, Brooks Davis wrote:
> > brooks      2011-05-25 23:14:40 UTC
> >=20
> >   Modified files:
> >     sysutils/ganglia-webfrontend Makefile pkg-plist=20
> >   Log:
> >   In addition to arp-1, we need libconfuse and libpcre about to build.
> >   Because gmetad is a RUN_DEPEND and requires them, abuse LIB_DEPEND he=
re
> >   even though these are technically build depends.
>=20
> Hmm, I believe "abusing" FOO_DEPENDS is pretty bad practice to follow
> without sufficiently compelling reason.  In this case, what prevents you
> properly listing them as BUILD_DEPENDS?  For users building from ports
> it would not make a difference, but packages will have sane dependencies,
> no (unless I'm missing something)?

The package depend tree will be indentical because the package alwasy
depends on ganglia-monitor-core which legitimatly depends on those
libraries.  Since all I care about in this case is that the libraries
exist sufficiently to satisty configure I'd rather not use the
signficantly inferior BUILD_DEPENDS mechanism which requires me to
hardcode LOCALBASE in the search path.

Now that I think of it, a better solution is probably to just delete
those parts of the configure script when building this package.

-- Brooks

--jq0ap7NbKX2Kqbes
Content-Type: application/pgp-signature

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

iD8DBQFN34fRXY6L6fI4GtQRAlBRAKCtfefTpkZ4JZTO7gYFmpq68VuIWACgn5XR
5t7p7x3EHf+3YxxYK+4VLrU=
=HA8h
-----END PGP SIGNATURE-----

--jq0ap7NbKX2Kqbes--



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