From: Alexander H. <ale...@gm...> - 2008-04-28 12:26:26
|
Didn't want to crosspost. -------- Original Message -------- Subject: Re: [Fink-devel] Is /sw/Library an acceptable top-level directory? Date: Mon, 28 Apr 2008 08:25:20 -0400 From: Alexander Hansen <ale...@gm...> To: Thomas Kho <tk...@to...> CC: fin...@li... References: <363...@ma...> Thomas Kho wrote: > Hi, > > I'm working on updating r-base to a recent release (2.7.0) and ran > across a validation error because it (like the current version in > fink) installs most of its files under /sw/Library/Frameworks. > AquaTerm is another app that puts files there. If I add Library to the > list of "good directories", the package builds and validates, no > problem. > > Is /sw/Library an acceptable place to put R, or should go somewhere else? > > -Tom > > --- /sw/lib/perl5/Fink/Validation.pm.orig 2008-04-25 18:48:22.000000000 -0700 > +++ /sw/lib/perl5/Fink/Validation.pm 2008-04-25 18:48:39.000000000 -0700 > @@ -1432,7 +1432,7 @@ > # these are used in a regex and are automatically prepended with ^ > # make sure to protect regex metachars! > my @bad_dirs = ("$basepath/src/", "$basepath/man/", > "$basepath/info/", "$basepath/doc/", "$basepath/libexec/", > "$basepath/lib/locale/", ".*/CVS/", ".*/RCS/", '.*/\.svn/'); > - my @good_dirs = ( map "$basepath/$_", qw/ bin sbin include lib share > var etc src Applications / ); > + my @good_dirs = ( map "$basepath/$_", qw/ bin sbin include lib share > var etc src Applications Library / ); > push(@good_dirs, '/usr/X11'); > > my @found_bad_dir; > > Good question. I'd be inclined to argue that /%p/Library/Frameworks should be OK, based on the fact that AquaTerm already does that. |