Date: Fri, 1 Mar 2002 00:16:36 -0800 From: Ryan Davis <ryand@zenspider.com> To: Alan Eldridge <ports@geeksrus.net> Cc: ports@freebsd.org Subject: Re: ports/35432: sysutils/portupgrade: portsclean does not honor EXTRA_CATEGORIES in pkgtools.conf Message-ID: <A648B76E-2CEC-11D6-9B43-0030655293B0@zenspider.com> In-Reply-To: <200202282238.g1SMcLu92377@wwweasel.geeksrus.net>
next in thread | previous in thread | raw e-mail | index | archive | help
My first guess is that your local/Makefile needs the same include as any of the others... see: grep include /usr/ports/math/Makefile and add that to yours. You will probably need to do a 'portdb -uU' and 'pkgdb -F' afterwards, but I'm not as sure about those steps (and the first one takes a while). Anyone, please correct me if I'm wrong. I'd like to know. :) On Thursday, February 28, 2002, at 02:38 PM, Alan Eldridge wrote: > >> Number: 35432 >> Category: ports >> Synopsis: sysutils/portupgrade: portsclean does not honor >> EXTRA_CATEGORIES in pkgtools.conf >> Confidential: no >> Severity: serious >> Priority: medium >> Responsible: freebsd-ports >> State: open >> Quarter: >> Keywords: >> Date-Required: >> Class: sw-bug >> Submitter-Id: current-users >> Arrival-Date: Thu Feb 28 14:50:01 PST 2002 >> Closed-Date: >> Last-Modified: >> Originator: Alan Eldridge >> Release: FreeBSD 4.5-STABLE i386 >> Organization: > Geeksrus.NET >> Environment: > System: FreeBSD wwweasel.geeksrus.net 4.5-STABLE FreeBSD 4.5-STABLE #0: > Fri Feb 8 21:25:34 EST 2002 > root@wwweasel.geeksrus.net:/usr/obj/usr/src/sys/WWWEASEL i386 > >> Description: > > I added an entry 'local' to EXTRA_CATEGORIES. > > [alane ~/FreeBSD/ports/sysutils/portupgrade]$ grep -A5 EXTRA_CAT > /usr/local/etc/pkgtools.conf > # EXTRA_CATEGORIES: array > # > # This is a list of extra port categories you put your locally > # maintained ports. You must prepare a Makefile in each directory > # that defines a variable SUBDIR which lists all the ports in the > # category. > -- > # EXTRA_CATEGORIES = [ > # 'local', > # ] > > EXTRA_CATEGORIES = [ > 'local', > ] > > # HOLD_PKGS: array > # > > I have created a Makefile in $PORTSDIR/local as directed above. > > [alane ~]$ cd $PORTSDIR/local > [alane ~/FreeBSD/ports/local]$ grep -C SUBDIR Makefile > # > > SUBDIR+= aft > SUBDIR+= compface > SUBDIR+= durep > SUBDIR+= grip-devel > SUBDIR+= ncdialog > SUBDIR+= p5-PDA-pilot > > # > > I have a port called grip-devel in $PORTSDIR/local/grip-devel. It's > distfile > is grip-2.98.7.tar.gz. > > [alane ~]$ cd $PORTSDIR/local/grip-devel > [alane ~/FreeBSD/ports/local/grip-devel]$ head -20 Makefile > # New ports collection makefile for: grip > # Date created: 31 May 2000 > # Whom: kbyanc@posi.net > # > # $FreeBSD$ > # > > PORTNAME= grip > PORTVERSION= 2.98.7 > #PORTREVISION= 1 > CATEGORIES= audio > MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} > MASTER_SITE_SUBDIR=grip > PKGNAMESUFFIX= -devel > > MAINTAINER= ports@geeksrus.net > > LIB_DEPENDS= id3-3.7.13:${PORTSDIR}/audio/id3lib \ > ghttp.1:${PORTSDIR}/www/libghttp > > When I run portsclean -D, it removes $DISTDIR/grip-2.98.7.tar.gz. > > [alane ~]$ cp -p grip-2.98.7.tar.gz FreeBSD/distfiles/ > [alane ~]$ portsclean -D > Detecting unreferenced distfiles... > Delete /home/alane/FreeBSD/distfiles/grip-2.98.7.tar.gz > >> How-To-Repeat: > >> Fix: > > > >> Release-Note: >> Audit-Trail: >> Unformatted: > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-ports" in the body of the message > -- The other day [the President] said, I know you've had some rough times, and I want to do something that will show the nation what faith that I have in you, in your maturity and sense of responsibility. [He paused, then said] Would you like a puppy? -- VP Dan Quayle (LA Times 5/21/89) 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?A648B76E-2CEC-11D6-9B43-0030655293B0>