Subject: egcs, unix, and Packages.txt
To: None <tech-pkg@netbsd.org>
From: Johnny C. Lam <lamj@stat.cmu.edu>
List: tech-pkg
Date: 11/30/1998 18:17:18
Our new in-tree compiler egcs no longer automatically defines unix or
__unix__, so the recommended lines in Packages.txt:

        #if (defined(__unix__) || defined(unix)) && !defined(USG)
        #include <sys/param.h>
        #endif

are no longer appropriate.  There are also patches in our pkgsrc tree
that include the above lines which cause warnings under egcs:

	lang/moscow_ml	(I'm updating this package soon)
	net/icb
	sysutils/psmisc

How should this be changed?

--
   Johnny C. Lam
   Department of Statistics             lamj@stat.cmu.edu
   Carnegie Mellon University           http://www.stat.cmu.edu/~lamj/

                            @>---`---,----