Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Sep 2006 21:26:11 -0700
From:      Doug Hardie <bc979@lafn.org>
To:        FreeBSD-PORTS <freebsd-ports@freebsd.org>
Subject:   portconf port
Message-ID:  <A4C08192-C706-4C54-800F-6B80DE3220CE@lafn.org>

next in thread | raw e-mail | index | archive | help
I have been trying to figure out how to configure portconf.  The 3  
examples given are not much help with complex ports.  I am starting  
with the dspam port (mail/dspam) as if I can figure that one out the  
rest should be easy.  I first tried to use the arguments from the  
configure command:

mail/dspam: CONFIGURE_ARGS=--with-logdir=/var/log/dspam \
--with-dspam-home=/var/db/dspam \
--with-dspam-home-owner=root \
--with-dspam-home-group=mail  \
--with-dspam-home-mode=0770 \
--with-dspam-owner=root \
--with-dspam-group=mail \
--enable-homedir \
--with-storage-driver=hash_drv \
--with-delivery-agent=/usr/sbin/sendmail \
--with-dspam-mode=4511 \
--prefix=/usr/local

That still brought up the options selection menu.  Hitting cancel on  
that caused the port to start to build, but it still tried to  
download mysql 5.0 which I don't want.  The above configure command  
is how I normall build dspam - in the dspam directory.

Then I tried to select the options from Makefile entering the options  
I wanted (haven't figured out how to sent the drectories though):

mail/dspam:  WITH SYSLOG | DEBUG | HASH USER_HOMEDIR | SENDMAIL |  
SENDMAIL_LDA

That skips the options selection menu fine, but still tries to  
download mysql 5.0 which I don't want.  I then tried to add the  
WITHOUT options:

mail/dspam:  WITH SYSLOG | DEBUG | HASH USER_HOMEDIR | SENDMAIL |  
SENDMAIL_LDA WITHOUT DAEMON | MYSQL50 | POSTGRESQL | SQLITE3

Same results.  What am I doing wrong?





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?A4C08192-C706-4C54-800F-6B80DE3220CE>