pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/38837

The following reply was made to PR pkg/38837; it has been noted by GNATS.

From: Taylor Venable <>
Subject: Re: pkg/38837
Date: Wed, 18 Jun 2008 13:06:59 -0400

 I was able to fix this by setting CONFIG_SHELL=/usr/pkg/bin/bash in the
 environment.  The problem arises from the configure script checking to
 determine if the shell is Bash or not, on line 17.  NetBSD's /bin/sh
 fails with the "invalid option" error, and this step is simply skipped
 in the script, leaving us still running /bin/sh.  Unfortunately, the
 configure script contains several Bash-isms that will cause the script
 to fail later after.  A solution that does not involve modifying the
 code is to simply set CONFIG_SHELL in the environment; I'll leave the
 real fix to the pkgsrc maintainers.
 Taylor Venable  
 foldr = lambda f, i, l: (len(l) == 1 and [f(l[0], i)] or
                          [f(l[0], foldr(f, i, l[1:]))])[0]

Home | Main Index | Thread Index | Old Index