Make this compile on NetBSD:
+ __FreeBSD__ -> (defined(BSD) && BSD >= 199306)
+ eliminate compiler warnings by working around unusual definition in
switch statement.
+ change the man directory location to reflect NetBSD reality.
+ use native make, rather than gmake - this gives us the profiled
library, and PIC library too, and also means we can get rid of my
previous hacks to specify the correct prefix.
+ add in support for the system call previously known as getdirentries
using getdents(2), if it exists. Note that the patch for this needs
2 lines of context to avoid an Id in the patch file.
implementation, version 1.60beta6. Passes all its self tests on
NetBSD/i386 1.2G. Not tested on any other architecture.
Please note that this installs into ${PREFIX}/pthreads/...
+ Hardcode netbsd for the moment (until I'm allowed to use a <$OPSYS>
string).
+ Change the i386 hardcoded constant into <$ARCH>, which will be
modified by bsd.port.mk when constructing the derived .PLIST file at
package installation time.
Change <$ARCH> into bsd.port.mk's ${ARCH} value (uname -m) when
constructing the derived PLIST, so that we can use packages on
non-i386 NetBSD architectures and have the correct file names in the
installed inventory.
Correct the package's makefile name.
Remove previous OS-dependent hack whereby we had no info files on NetBSD.
Regenerate indent.info to include DIR specifications, and install using
install-info.
This is necessary because NetBSD has no default way of reading GNU info
files - FreeBSD has had this in their base system since 2.2.2. This
allows the default installation of package's info files, and means
less differences between individual package's Makefiles in NetBSD and
FreeBSD.
`Renamed' to gtexinfo to distinguish it from the print/texinfo package.
PLIST before applying.
It is assumed that ports do install manpages uncompressed, if not
they have to set MANCOMPRESSED. Upon that, the pages will be
(un)compressed according to the setting of MANZ.
Change a mkdir to mkdir -p in the patch to Makefile.in, so that
the include directories get made if they don't exist, as they're put
in a non-standard place.