Solved [Solved] bsd.port.mk and bsd.pbi.mk

Hi,

I have 2 machines running FreeBSD-9.2. On one I ran
Code:
portsnap fetch update
a couple days ago. Today on the second I ran same command. It appears I have a different version of /usr/ports/Mk/bsd.port.mk on each machine.

On the first
Code:
# ls -la /usr/ports/Mk/bsd.port.mk
-rw-r--r--  1 root   wheel   223508 Jul 15 06:20 /usr/ports/Mk/bsd.port.mk

On the second
Code:
# ls -la /usr/ports/Mk/bsd.port.mk
-rw-r--r--  1 root   wheel   225547 Jul 17 11:35 /usr/ports/Mk/bsd.port.mk

The newer version has a line that reads
Code:
.include "${PORTSDIR}/Mk/bsd.pbi.mk"
and for which no such file exists in directory /usr/ports/Mk/.

It prevents the installation/update of ports, both by ports-mgmt/portmaster and by make. At least I think it's the root cause for both. Portmaster actually complains about
Code:
===>>> The value of DISTDIR cannot be empty

Is this an issue where something got temporarily out of synch upstream on the servers?

Or is this something I might've caused inadvertently in following directions for CentOS here
https://github.com/xmj/linux-ports? (Which by the way did work on machine number one albeit a couple months ago)
Using this guide, I followed along until I was unable to install emulators/linux_base-c6.
 
Re: bsd.port.mk and bsd.pbi.mk

Update:
Before marking it solved, I'll invite any constructive criticism.

I don't know if I *should* have, but I *did* comment out that one line..
And things appear to work without causing obvious catastrophe. Portmaster & make commands, and linux environment.
 
I'll have to dig more and figure out why one machine has that line and not the other. Something must have gone awry during portsnap..
 
Back
Top