On Fri, Jul 08, 2005 at 04:54:51PM +0500, Askar Ali wrote: [snip] > secondly I want to --enabe-snmp and some other things which are not > presently enable while I install squid from port....... > > Squid Cache: Version 2.5.STABLE9 > configure options: --datadir=/usr/local/share/squid > '--enable-auth=basic digest' '--enable-basic-auth-helpers=NCSA > YP'--enable-digest-auth-helpers=password > '--enable-external-acl-helpers=ip_user unix_group' > '--enable-removal-policies=lruheap' --enable-ssl '--enable-storeio=ufs > diskd' --localstatedir=/var/squid --prefix=/usr/local --sysconfdir=/etc > > squid is installed with the above default configurations, I duno howto > pass arugment while installing from ports, (heh coming from linux > background where ./configure blah blah kinda cool)
Hi Askar, start reading the manpages... for example bsd.port.mk(5) [1] to get more information about ports and flavors. There's also the famous FAQ [2] and the archives. Your actual problem may lead to: $ cd /usr/ports/www/squid && env FLAVOR="transparent snmp" sudo make Regards, Simon [1] bsd.port.mk(5) http://www.openbsd.org/cgi-bin/man.cgi?query=bsd.port.mk#FLAVORS+AND [2] FAQ http://cvs.openbsd.org/faq/