Subject: conditional PLIST?
To: None <email@example.com>
From: Rasputin <firstname.lastname@example.org>
Date: 07/14/2003 10:27:25
I'm writing a package for ruby's Test::Unit, which is kind of
the successor to RunyUnit (already in pkgsrc).
If rubyunit isn't installed, it'll create a compatibility library for it
and install thhat, otherwise it leaves well alone.
I've fixedthis by adding rubyunit to DEPENDS, but that seems like
a bit of laziness. Is it possible to dynamically creata PLIST?
Couldn't find an explanation in Packages.txt, are there packages that
do this I can crib from?
I suppose I'd also need to add a 'conflicts' clause dynamically to avoid
files I've installed being clobbered by adding rubyunit later...?
PS: I send-pr'ed mod_ruby for Apache2 (pr/21921)last month back, and didn't
hear anything yet. Is it best to use wip-pkgsrc for new packages these
A programmer who will believe anything you tell him.
Rasputin :: Jack of All Trades - Master of Nuns