Hi,

On 07/12/2010 08:54 PM, Jakub Wilk wrote:
> gyp doesn't start on kfreebsd-*:
> 
> $ gyp
> Traceback (most recent call last):
>   File "/usr/bin/gyp", line 18, in <module>
>     sys.exit(gyp.main(sys.argv[1:]))
>   File "/usr/lib/pymodules/python2.6/gyp/__init__.py", line 316, in main
>     'sunos5':   'make',}[sys.platform] ]
> KeyError: 'gnukfreebsd8'

Coould you try to apply this patch to
"/usr/lib/pymodules/python2.6/gyp/__init__.py" please?


--- a/pylib/gyp/__init__.py
+++ b/pylib/gyp/__init__.py
@@ -312,6 +312,7 @@ def main(args):
                            'cygwin':   'msvs',
                            'freebsd7': 'make',
                            'freebsd8': 'make',
+                           'gnukfreebsd8': 'make',
                            'linux2':   'make',
                            'openbsd4': 'make',
                            'sunos5':   'make',}[sys.platform] ]


Cheers,
Giuseppe

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to