Date: Mon, 19 May 2003 00:46:45 -0700 From: Adam Weinberger <adamw@freebsd.org> To: Andy Pavlo <amp0928@rit.edu> Cc: freebsd-ports@freebsd.org Subject: Re: Need Help Finalizing Port for Hotkeys Message-ID: <20030519074645.GH31083@vectors.cx> In-Reply-To: <000101c31db2$fa1ec2d0$6400a8c0@carebear> References: <000101c31db2$fa1ec2d0$6400a8c0@carebear>
next in thread | previous in thread | raw e-mail | index | archive | help
-----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-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030519074645.GH31083>