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
pgpPUUugkdRGp.pgp
Description: PGP signature