cvs commit: ports/sysutils/ganglia-webfrontend Makefile
pkg-plist
Brooks Davis
brooks at one-eyed-alien.net
Fri May 27 18:47:22 UTC 2011
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
> >
> > Modified files:
> > sysutils/ganglia-webfrontend Makefile pkg-plist
> > 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 here
> > even though these are technically build depends.
>
> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-ports/attachments/20110527/428a0853/attachment.pgp
More information about the cvs-ports
mailing list