From owner-freebsd-ports@FreeBSD.ORG Mon May 19 00:45:10 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F08D537B401 for ; Mon, 19 May 2003 00:45:10 -0700 (PDT) Received: from vectors.cx (manifold.vectors.cx [66.180.241.86]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8396543FB1 for ; Mon, 19 May 2003 00:45:09 -0700 (PDT) (envelope-from monkey@vectors.cx) Received: from vectors.cx (651c53ca065a5ac24a97a5accb19474a@localhost [127.0.0.1]) by vectors.cx (8.12.8/8.12.8) with ESMTP id h4J7kkef059139; Mon, 19 May 2003 00:46:46 -0700 (PDT) (envelope-from monkey@vectors.cx) Received: (from monkey@localhost) by vectors.cx (8.12.9/8.12.9/Submit) id h4J7kkUR059138; Mon, 19 May 2003 00:46:46 -0700 (PDT) Date: Mon, 19 May 2003 00:46:45 -0700 From: Adam Weinberger To: Andy Pavlo Message-ID: <20030519074645.GH31083@vectors.cx> References: <000101c31db2$fa1ec2d0$6400a8c0@carebear> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; x-action=pgp-signed Content-Disposition: inline In-Reply-To: <000101c31db2$fa1ec2d0$6400a8c0@carebear> X-Editor: Vim 6.1 http://www.vim.org X-Mailer: Mutt 1.5 http://www.mutt.org X-PGP-Key: http://www.vectors.cx/pgp.key.txt X-URL: http://www.vectors.cx User-Agent: Mutt/1.5.4i cc: freebsd-ports@freebsd.org Subject: Re: Need Help Finalizing Port for Hotkeys X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 May 2003 07:45:11 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 >> (05.18.2003 @ 2001 PST): Andy Pavlo said, in 1.0K: << > The missing error.h is a linux file that I must have copied over and > forgot to include. What is the best way to add a file to the work dir > when patching? The docs weren't very specific but I have this which > works but I want to make sure I do it right because there are some other > things I want to port before classes start in the fall again: > > post-extract: > cp ${PATCHDIR}/error.h ${WRKSRC}/src >> end of "RE: Need Help Finalizing Port for Hotkeys" from Andy Pavlo << That works, or you can just make it a patch. Copy error.h into ${WRKSRC}/src, then diff -u /dev/null src/error.h Works the same either way, but if you're going to just do a copy, then use ${CP}. # Adam - -- Adam Weinberger vectors.cx >> adam@vectors.cx FreeBSD.org << adamw@FreeBSD.ORG #vim:set ts=8: 8-char tabs prevent tooth decay. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQE+yIvlo8KM2ULHQ/0RAkW9AKDX+sS/6QElKFqvO57dT7GYRkxe8gCfb4EA b2pqyxznpdU9K1JMGl2Y3fQ= =Nwrr -----END PGP SIGNATURE-----