From owner-freebsd-questions@FreeBSD.ORG Wed Dec 3 10:13:25 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D02751065670 for ; Wed, 3 Dec 2008 10:13:25 +0000 (UTC) (envelope-from leslie@eskk.nu) Received: from hawk.thalamus.net (hawk.thalamus.net [212.31.160.3]) by mx1.freebsd.org (Postfix) with ESMTP id 8BB838FC1D for ; Wed, 3 Dec 2008 10:13:25 +0000 (UTC) (envelope-from leslie@eskk.nu) Received: from localhost (localhost.thalamus.net [127.0.0.1]) by hawk.thalamus.net (Postfix) with ESMTP id 2D2DD1EE88A for ; Wed, 3 Dec 2008 11:13:19 +0100 (CET) X-Virus-Scanned: by amavisd-new at thalamus.net X-Spam-Flag: NO X-Spam-Score: 2.44 X-Spam-Level: ** X-Spam-Status: No, score=2.44 tagged_above=-999 required=4.2 tests=[AWL=-0.729, HELO_LH_HOME=3.169] Received: from hawk.thalamus.net ([127.0.0.1]) by localhost (hawk.thalamus.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 9vogouecWtWZ for ; Wed, 3 Dec 2008 11:13:06 +0100 (CET) Received: from lesbsdpc.homenet.home (c-195-216-040-164.static.bjare.net [195.216.40.164]) by hawk.thalamus.net (Postfix) with ESMTP id D76A91EE8A4 for ; Wed, 3 Dec 2008 11:12:13 +0100 (CET) Message-ID: <49365B82.4070208@eskk.nu> Date: Wed, 03 Dec 2008 11:12:18 +0100 From: Leslie Jensen User-Agent: Thunderbird 2.0.0.18 (X11/20081125) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4934E5DA.6040308@eskk.nu> <200812021335.42120.fbsd.questions@rachie.is-a-geek.net> <49365830.7040702@eskk.nu> In-Reply-To: <49365830.7040702@eskk.nu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Uninstalling kde3 meta-port X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Dec 2008 10:13:25 -0000 Leslie Jensen skrev: > > > Mel skrev: >> On Tuesday 02 December 2008 08:38:02 Leslie Jensen wrote: >> >>> How would you guys uninstall a meta-port? >>> >>> I'm considering a move to kde4 but I want a clean install, so I want to >>> remove the kde3 meta-port first. >> >> cd /usr/ports/x11/kde3 >> for dep in `make -V RUN_DEPENDS`; do origin=${dep##*:}; >> portname=`make -C ${origin} -V PORTNAME`; >> pkg_delete -Xf "^${portname}-[0-9\.,_]+\$"; >> done >> cd /usr/ports/ports-mgmt/pkg_cutleaves >> make install >> pkg_cutleaves -xg >> >> Delete all leaves you are sure you don't need anymore, till no leaves >> are left. > > Thanks Mel > > I did a > > root@bsdpc/usr/ports/x11/kde3:make PORTNAME > make: don't know how to make PORTNAME. Stop > > How do I solve the error? > > /Leslie > > Problem solved Answering my own question. I forgot the -V.