From owner-freebsd-ports Thu Jun 7 16:54:59 2001 Delivered-To: freebsd-ports@freebsd.org Received: from hex.databits.net (hex.databits.net [207.29.192.16]) by hub.freebsd.org (Postfix) with SMTP id B266C37B401 for ; Thu, 7 Jun 2001 16:54:55 -0700 (PDT) (envelope-from petef@hex.databits.net) Received: (qmail 71043 invoked by uid 1001); 7 Jun 2001 23:54:55 -0000 Date: Thu, 7 Jun 2001 19:54:55 -0400 From: Pete Fritchman To: =?iso-8859-1?Q?S=F8ren_Boll_Overgaard?= Cc: freebsd-ports@freebsd.org Subject: Re: new port and trouble upgrading Message-ID: <20010607195455.A70524@databits.net> References: <20010608013157.A47535@tigerdyr.lyngbol.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.5i In-Reply-To: <20010608013157.A47535@tigerdyr.lyngbol.dk>; from freebsd@macmad.dk on Fri, Jun 08, 2001 at 01:31:57AM +0200 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi Søren, Your depend on ports/x11-wm/libdockapp which uses USE_X_PREFIX introduces a dependancy on X itself: [snippet from bsd.port.mk] .if defined(USE_X_PREFIX) USE_XLIB= yes .endif Later on in bsd.port.mk, if the USE_XLIB hook is set, a dependancy on X is created (this will be for the latest ports/x11/XFree86 if XFREE86_VERSION is set to 3, the default, or ports/x11/XFree86-4-libraries if it's set to 4). When making a package, the latest version of the depends are registered. The latest version of ports/x11/XFree86 is 3.3.6_9 (version 3.3.6, port revision 9), and I'd guess you have an older version of that port installed (either that, or you should have XFREE86_VERSION set to 4). Hope this helps, -pete ++ 08/06/01 01:31 +0200 - Søren Boll Overgaard: | Hello | | I am currently the maintainer of a rather small port (sysutils/wmcpuload), | and I am trying to prepare a new version of it, but am having difficulties. | I've altered the Makefile (and distinfo) files, to build the newest version | of the program, and everything appears to be working fine while doing make | install. It runs smoothly, and finishes up with: | | ===> Registering installation for wmcpuload-0.5.0 | ===> SECURITY NOTE: | This port has installed the following binaries which execute with | increased privileges. | 691146 28 -rwxr-sr-x 1 root kmem 14236 Jun | 8 01:25 /usr/X11R6/bin/wmcpuload | | So far so good. Afterwards, I attempt to do a 'make deinstall', and | apparantly all files are deinstalled correctly, but I get this error: | | ===> Deinstalling for wmcpuload-0.5.0 | pkg_delete: couldn't open dependency file | /var/db/pkg/XFree86-3.3.6_9/+REQUIRED_BY' | | I then attempt to build an install the port as a package by doing | 'make package' and 'pkg_add '. However, this results in the | following error: | | pkg_add: could not find package XFree86-3.3.6_9 ! | | I've been looking through the mailinglistarchives, and on google, but have | been unable to come up with a solution for the problem. Any help would be | greatly appreciated. | | Thanks. | | -- | Søren O. | | To Unsubscribe: send mail to majordomo@FreeBSD.org | with "unsubscribe freebsd-ports" in the body of the message -- Pete Fritchman Databits Network Services, Inc. finger petef@databits.net for PGP key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message