Category Archives: FreeBSD ports collection

Parallel build of mail/thunderbird in FreeBSD?

Update 2014-08-07: r363978, dated Mon Aug 4 09:11:25 2014 UTC, solves the parallel build bug once and for all, and there’s no need for the Makefile.local as shown below.

I’ve been scratching my head over why mail/thunderbird doesn’t build in parallel when www/firefox does.

Research reveals MAKE_JOBS_SAFE was removed last August, in r324744. I can’t find a specific reason other than guessing parallel build was considered broken in FreeBSD.

So far, I’ve added a Makefile.local file in the /usr/ports/mail/thunderbird directory. The time spent compiling mail/thunderbird went from roughly 2.5 hours to merely 38 minutes on a 4 core Intel Core i7-960 running at 3.2 GHz. YMMV. Continue reading Parallel build of mail/thunderbird in FreeBSD?

Coping with portupgrade’s inability to handle new dependencies

I grew tired of handholding portupgrade because of the latter’s inability to handle new dependencies. The script below is the result of my frustration. The script is available for downloading at Continue reading Coping with portupgrade’s inability to handle new dependencies


I’m probably not paying enough attention to new developments in FreeBSD after all. After updating the installed ports in my VMs running base/head and base/stable/10, X11 stopped working. It turns out the new version of requires KMS and what not in the kernel. This doesn’t fare well with VMs running inside VirtualBox.

The solution? Place


in the /etc/make.conf file and recompile everything, or at least recompile everything belonging to the subsystem. I opted for the former, spending roughly five hours recompiling 443 ports. :-/

The VMs running base/stable/8 and base/stable/9 hasn’t been affected yet, but I figured it’s best to play safe and I amended the aforementioned line in the /etc/make.conf file on those VMs.