Port Hacking

Matthew Seaman m.seaman at infracaninophile.co.uk
Mon Apr 19 01:34:45 PDT 2004


On Mon, Apr 19, 2004 at 12:38:07AM -0500, Jason Dusek wrote:

> I would like to edit the code for one of my ports (Inkscape, a graphics 
> tool for GNOME) and then wrap it up in a tarball, dump it into distfiles 
> and reinstall it.  However, the ports system hits me with a checksum 
> mismatch.  What do I do about it?

Make a diff (diff -u format) against the original sources, and save
that into the 'files' subdirectory of the port as
'patch-some::filename'.  There's plenty of examples in that and other
ports which you can refer to for guidance.  The patch will be applied
to the sources automatically, and after the checksumming stage.

Note that cvsup(1) should ignore your extra patch file, so it might
cause odd problems building the port in future when the Inkscape port
gets updated again.  Please do submit your modifications via
send-pr(1) if they have anymore than purely local interest.

	Cheers,

	Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
                                                      Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey         Marlow
Tel: +44 1628 476614                                  Bucks., SL7 1TH UK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20040419/5dfcb12f/attachment-0001.bin


More information about the freebsd-questions mailing list