On May 12, 2008, at 3:24 PM, Ron Richardson wrote:

Okay, newbie question...

I have installed the Squid port. Works great. But I'd like to recompile
it with the --enable-snmp option.  How do I do this?  Do I...

(a) Go through the standard ./configure, make, make install procedure? or

(b) Find and modify a portfile for Squid, and then re-port it?  If so,
where's the portfile?


The port should either have SNMP enabled all the time, or a variant should be added to the port to enable SNMP support. Which of these port authoring options is chosen depends on whether most people would want SNMP support on by default, and whether adding SNMP support requires depending on additional ports. If most people would want the functionality and/or it doesn't add additional dependencies, it should be on all the time. Or if this is a specialty feature or if adding this feature adds lots of dependencies, then it should be a variant. Those are the general guidelines.

You can read the guide for help in writing portfiles and setting up a local repository. See http://guide.macports.org

You can locate the squid portfile on your hard drive by typing "port file squid"

The port is openmaintainer, so if you can enhance the port to provide this functionality, and provide a unified diff, then you should attach that diff to a ticket in the issue tracker and someone with commit access can commit it.

_______________________________________________
macports-users mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo/macports-users

Reply via email to