Need Help Finalizing Port for Hotkeys

Adam Weinberger adamw at freebsd.org
Mon May 19 00:45:11 PDT 2003


-----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 at vectors.cx
FreeBSD.org	<<	adamw at 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-----


More information about the freebsd-ports mailing list