boost 1.34

markd at markd at
Mon Jun 4 15:22:46 PDT 2007

Ryan Schmidt <ryandesign at> on Monday, June 4, 2007 at 2:23 PM
-0800 wrote:
>> Yeah, I could do it. It would be my first maintenance task ever on  
>> a port though, so I would need some guidance. Is there a good  
>> reference to read to explain what I'd need to do?
>Not exactly, unfortunately. The documentation from when the project  
>was called DarwinPorts has not been migrated to MacPorts yet, and is  
>out of date. But you can still read it here in the Internet Archive:
>The best advice is to look at existing portfiles and see how they do  
>You will want to make a copy of the boost portfile:
>$ cd `port dir boost`
>$ cp Portfile Portfile.orig
>Then edit the portfile:
>$ port edit boost
>Then make your changes and try installing the port. Once you have a  
>change you're happy with and want to share, get a diff of your changes:
>$ diff Portfile.orig Portfile > Portfile.diff
>Attach the diff to a new ticket in MacPorts' Trac installation. Then  
>write back to the list and tell us the ticket number and someone will  
>look at it and commit it.

You should submit unified diffs using "-u":

diff -u Portfile.orig Portfile > Portfile.diff


More information about the macports-users mailing list