Re: Disk errors on PowerBook 180

Martin Husemann <[email protected]> Thu, 14 May 2026 09:19:37 +0200
Newsgroups gmane.os.netbsd.ports.mac68k
Message-ID <[email protected]>
On Thu, May 14, 2026 at 06:58:00AM +1000, Nat Sloss wrote:
> For my setup I unpack pkgsrc sources to a directory.
> Build a mac68k release with the stock X11.
> 
> and change to the packages directory ie /home/admin/pkgsrc/x11/tinyx-wscons
> run USE_CROSS_COMPILE=yes make package-install.

The canonical way to cross compile a package is to use build.sh from the
top of the NetBSD source directory:

	./build.sh $(all your usual options) pkg=x11/tinyx-wscons

assuming your /etc/mk.conf points at your pkgsrc directory.

This will use the tools build already for the mac68k build and invoke
the necessary pkgsrc magic. If this does not work for some pkg (and it is
not because the pkg is inherently non-cross-buildable), file a PR :-)

Martin