pkgsrc-WIP-discuss archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: adding a file?
On Fri, 17 Aug 2007 13:16:00 -0500
"Larson, Timothy E." <TELarson%west.com@localhost> wrote:
> How do I create a patch to insert a file missing from the distribution?
> The pkgsrc guide goes over how to create a diff, but you can't diff
> against a non-existent file.
Instead of bothering with a patch, you can drop the file as is in the
"files" directory and then in Makefile do:
post-patch:
cp ${FILESDIR}/somefile ${WRKSRC}/somedir
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
pkgsrc-wip-discuss mailing list
pkgsrc-wip-discuss%lists.sourceforge.net@localhost
https://lists.sourceforge.net/lists/listinfo/pkgsrc-wip-discuss
Home |
Main Index |
Thread Index |
Old Index