From owner-freebsd-ports@FreeBSD.ORG Tue Dec 30 12:30:08 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 44B75106566B for ; Tue, 30 Dec 2008 12:30:08 +0000 (UTC) (envelope-from freebsd-ports@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id F24528FC17 for ; Tue, 30 Dec 2008 12:30:07 +0000 (UTC) (envelope-from freebsd-ports@m.gmane.org) Received: from root by ciao.gmane.org with local (Exim 4.43) id 1LHdjX-0000qU-0J for freebsd-ports@freebsd.org; Tue, 30 Dec 2008 12:30:03 +0000 Received: from home.bluelife.at ([78.142.74.81]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 30 Dec 2008 12:30:02 +0000 Received: from decke by home.bluelife.at with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 30 Dec 2008 12:30:02 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-ports@freebsd.org From: Bernhard Froehlich Date: Tue, 30 Dec 2008 10:20:32 +0000 (UTC) Lines: 33 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: main.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 78.142.74.81 (Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.0.5) Gecko/2008122117 Firefox/3.0.5) Sender: news Subject: Re: amule 2.2.3 port - first try X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Dec 2008 12:30:08 -0000 Torfinn Ingolfsen gmail.com> writes: > > Hello, > I am updating the amule2 port to version 2.2.3, this is the first try. > The patch is attached. > There is (at least) one problem with the patch: it doesn't remove the > file ./files/patch-amuleDlg.cpp. For now, just remove the file > manually. > Doesn't FreeBSDs diff have an option to remove files? I read the ma > page but didn't find anything that looked useful. > > Testing: I have tested this patch on FreeBSD 7.1-prerelease / amd64, > and the amule 2.2.3 port compiles and installs fine. > > It would be nice if others coyld test the patch as well. > Feedback is welcome. Looks like you are in the wrong folder. Patches are relative to the WRKSRC directory. (work/aMule-2.2.3 or something like that) So recreate the patch from within that directory and it should work. I've had a quick look over your patch and it seems to miss a few files. Have a look at ports-mgmt/porttools which is your swiss army knife as a porting guy. Sorry but i haven't found an english tutorial for it but i think a german one is also worth a look: http://www.chruetertee.ch/blog/archive/2008/05/03/freebsd-ports-mit-hilfe-von-porttools-erstellen-oder-aktualisieren.html -- Bernhard Froehlich http://www.bluelife.at/