From owner-freebsd-x11@FreeBSD.ORG Sun Apr 27 00:51:29 2008 Return-Path: Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 106161065675 for ; Sun, 27 Apr 2008 00:51:29 +0000 (UTC) (envelope-from rfg@tristatelogic.com) Received: from segfault-outgoing-helo.tristatelogic.com (112.171-60-66-fuji-dsl.static.surewest.net [66.60.171.112]) by mx1.freebsd.org (Postfix) with ESMTP id CE8938FC13 for ; Sun, 27 Apr 2008 00:51:28 +0000 (UTC) (envelope-from rfg@tristatelogic.com) Received: from segfault-nmh-helo.tristatelogic.com (localhost [127.0.0.1]) by segfault.tristatelogic.com (Postfix) with ESMTP id D5C4C11423; Sat, 26 Apr 2008 17:51:27 -0700 (PDT) To: John E Hein In-reply-to: Your message of Sat, 26 Apr 2008 14:02:18 -0600. <18451.35402.312511.326280@gromit.timing.com> Date: Sat, 26 Apr 2008 17:51:27 -0700 Message-ID: <30620.1209257487@tristatelogic.com> From: "Ronald F. Guilmette" Cc: freebsd-x11@freebsd.org Subject: Re: Upgrade questions X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Apr 2008 00:51:29 -0000 In message <18451.35402.312511.326280@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