Subject: Re: pkg/32273 (pkgsrc/misc/screen SPARC/Solaris 10 Sun Studio 11 Compile Error)
To: None <rillig@netbsd.org, gnats-admin@netbsd.org,>
From: Jake Kupersmith <jakerosoft@gmail.com>
List: pkgsrc-bugs
Date: 12/10/2005 13:25:01
The following reply was made to PR pkg/32273; it has been noted by GNATS.

From: Jake Kupersmith <jakerosoft@gmail.com>
To: gnats-bugs@netbsd.org
Cc: rillig@netbsd.org, pkg-manager@netbsd.org,
	pkgsrc-bugs@netbsd.org, gnats-admin@netbsd.org
Subject: Re: pkg/32273 (pkgsrc/misc/screen SPARC/Solaris 10 Sun Studio 11 Compile Error)
Date: Sat, 10 Dec 2005 08:20:14 -0500

 On 12/10/05, rillig@netbsd.org <rillig@netbsd.org> wrote:
 > Synopsis: pkgsrc/misc/screen SPARC/Solaris 10 Sun Studio 11 Compile Error
 >
 > What does your config.h show? Please run "grep ENV work*/screen*/config.h=
 "
 > after the configure phase and post the results here. My configuration sho=
 ws
 >
 
 /usr/pkgsrc/misc/screen/work/screen-4.0.2# grep ENV config.h
  * If your system has setenv() and unsetenv() define USESETENV
 #define USESETENV 1
  * functions, you may bring in our own code by defining NEEDPUTENV.
 /* #undef NEEDPUTENV */
 
 
 > And a ggrep -wr setenv /usr/include showed me that Solaris does not have
 > a definition for setenv() anyway.
 
 # /usr/include/stdlib.h
 
     183 #if defined(__EXTENSIONS__) || \
     184     (!defined(_STRICT_STDC) && !defined(__XOPEN_OR_POSIX)) || \
     185     defined(_XPG6)
     186 extern int posix_openpt(int);
     187 extern int setenv(const char *, const char *, int);
     188 extern int unsetenv(const char *);
     189 #endif