Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Jun 2001 19:54:55 -0400
From:      Pete Fritchman <petef@databits.net>
To:        =?iso-8859-1?Q?S=F8ren_Boll_Overgaard?= <freebsd@macmad.dk>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: new port and trouble upgrading
Message-ID:  <20010607195455.A70524@databits.net>
In-Reply-To: <20010608013157.A47535@tigerdyr.lyngbol.dk>; from freebsd@macmad.dk on Fri, Jun 08, 2001 at 01:31:57AM %2B0200
References:  <20010608013157.A47535@tigerdyr.lyngbol.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <filename>'. 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 <petef@databits.net>
Databits Network Services, Inc. <http://databits.net>;
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010607195455.A70524>