pkgtools-to-portmanager.rb

2005-12-03 Thread Daniel Bye
Hi, Anyone else seen something like this using portmanager lately? ---# portmanager -s | grep OLD /usr/local/share/portmanager/pkgtools-to-portmanager.rb:72:in `+': cannot convert Array into String (TypeError) from /usr/local/share/portmanager/pkgtools-to-portmanager.rb:72 from

Re: pkgtools-to-portmanager.rb

2005-12-03 Thread Michael C. Shultz
On Saturday 03 December 2005 07:25, Daniel Bye wrote: Hi, Anyone else seen something like this using portmanager lately? ---# portmanager -s | grep OLD /usr/local/share/portmanager/pkgtools-to-portmanager.rb:72:in `+': cannot convert Array into String (TypeError) from /usr/local

Re: pkgtools-to-portmanager.rb

2005-12-03 Thread Daniel Bye
On Sat, Dec 03, 2005 at 07:49:10AM -0800, Michael C. Shultz wrote: The ruby script doesn't convert pkgtools.conf if it's entries are in array format, but if they are like this: 'editors/openoffice*' = 'LOCALIZED_LANG=en-US WITH_KDE=1', 'emulators/qemu'=

Re: pkgtools-to-portmanager.rb

2005-12-03 Thread Michael C. Shultz
On Saturday 03 December 2005 08:03, Daniel Bye wrote: On Sat, Dec 03, 2005 at 07:49:10AM -0800, Michael C. Shultz wrote: The ruby script doesn't convert pkgtools.conf if it's entries are in array format, but if they are like this: 'editors/openoffice*' =

Re: pkgtools-to-portmanager.rb

2005-12-03 Thread Daniel Bye
-pkg-tools.conf is the same as that in /usr/local/etc/portmanager/pm-020.conf, which is a promising sign... + patch starts --- pkgtools-to-portmanager.rb Sat Dec 3 16:23:49 2005 +++ pkgtools-to-portmanager_fixed.rbSat Dec 3 16:26:58 2005 @@ -57,7 +57,10 @@ config_value(:BEFOREBUILD

Re: pkgtools-to-portmanager.rb

2005-12-03 Thread Daniel Bye
On Sat, Dec 03, 2005 at 08:34:45AM -0800, Michael C. Shultz wrote: I thank you for your effort! Need to make sure that both formats convert BTW: both of these should be allowed, right now only the top method works: 'editors/openoffice*' = 'LOCALIZED_LANG=en-US WITH_KDE=1',

Re: pkgtools-to-portmanager.rb

2005-12-03 Thread Michael C. Shultz
On Saturday 03 December 2005 08:48, Daniel Bye wrote: On Sat, Dec 03, 2005 at 08:34:45AM -0800, Michael C. Shultz wrote: I thank you for your effort! Need to make sure that both formats convert BTW: both of these should be allowed, right now only the top method works: