Upgrade questions

Ronald F. Guilmette rfg at tristatelogic.com
Sun Apr 27 00:51:29 UTC 2008


In message <18451.35402.312511.326280 at gromit.timing.com>, you wrote:

>Wow... quite a list.
>
>Most of these questions are more related to the ports infrastructure
>than specifically x11.

Well, yea, but ya know, it was just one or two of the (slightly dysfunctional)
packages that are/were _dpendent_ until X, and which I wanted to upgrade
(thus necessitating an upgrade to X) that started this whole ball rolling
for me.

>Second, you'll get much better response if you send out email for one
>issue at a time.  And I'm afraid I think you're going to have to learn
>something along the way ;).

I ain't afraid to learn.  I'm only afraid that nobody will be there to teach
me when I _need_ to learn.

> > "Makefile", line 92: Malformed conditional (${X_WINDOW_SYSTEM:L} != xorg)
> > "Makefile", line 96: if-less endif
>
>That happens if a Makefile or included .mk file tries to reference
>${X_WINDOW_SYSTEM} and that var is undefined.  If you have a ports
>tree that matches the port tree from the 6.3 release (note: not the
>same as the latest ports tree as of today, the so-called HEAD) then
>there should be a line in ports/Mk/bsd.port.mk that has
>'X_WINDOW_SYSTEM ?= xorg' which defines that variable.
>
>It seems something is not right with your ports tree.  Why?  I don't
>know, but fixing that may alleviate lots of your other problems.

OK, could the real problem possibly be that I did:

	portsnap fetch
	portsnap extract

on a fairly stock 6.2-RELEASE systems that had already been in use for quite
a long time *and* on which I *did not* first do this?

	# rm -fr /usr/ports

??

The Handbook instructions were really not at all clear about whether or not
I was supposed to start by wiping out my pre-existing /usr/ports tree, and
I get the distinct feeling that I perhaps should have done this because
now it appears that I've got a ports tree that's got a bunch of _new_ X
stuff in it along side a big bunch of old/stale X stuff.  Example:

	# cd /usr/ports/x11-servers
	# ls -l
	total 38
	-rw-r--r--  1 root  wheel  410 Mar  7 13:47 Makefile
	drwxr-xr-x  4 root  wheel  512 Jun 15  2007 XFree86-4-FontServer
	drwxr-xr-x  3 root  wheel  512 Jun 15  2007 XFree86-4-NestServer
	drwxr-xr-x  3 root  wheel  512 Jun 15  2007 XFree86-4-PrintServer
	drwxr-xr-x  4 root  wheel  512 Jun 15  2007 XFree86-4-Server
	drwxr-xr-x  3 root  wheel  512 Jun 15  2007 XFree86-4-VirtualFramebufferServer
	drwxr-xr-x  4 root  wheel  512 Apr 26 02:51 Xfstt
	drwxr-xr-x  4 root  wheel  512 Apr 26 02:52 driglide
	drwxr-xr-x  2 root  wheel  512 Apr 25 23:30 mga_hal
	drwxr-xr-x  3 root  wheel  512 Jun 15  2007 synaptics
	drwxr-xr-x  2 root  wheel  512 Apr 25 23:30 x2vnc
	drwxr-xr-x  3 root  wheel  512 Apr 25 23:30 x2x
	drwxr-xr-x  3 root  wheel  512 Apr 25 23:30 xorg-dmx
	drwxr-xr-x  4 root  wheel  512 Jun 15  2007 xorg-fontserver
	drwxr-xr-x  2 root  wheel  512 Apr 25 23:30 xorg-nestserver
	drwxr-xr-x  2 root  wheel  512 Apr 25 23:30 xorg-printserver
	drwxr-xr-x  4 root  wheel  512 Apr 26 03:15 xorg-server
	drwxr-xr-x  3 root  wheel  512 Apr 25 23:30 xorg-server-snap
	drwxr-xr-x  2 root  wheel  512 Apr 25 23:30 xorg-vfbserver

Do I correctly surmise that this is *not* tyhe way my ports tree should be
looking?

Would it make sense for me to in effect, start over, i.e. via the following:

	# rm -fr /usr/ports
	# portsnap fetch
	# portsnap extract


More information about the freebsd-x11 mailing list