Date: Sat, 7 Oct 2006 20:41:23 -0700 From: James Long <list@museum.rain.com> To: freebsd-questions@freebsd.org Subject: Using portconf and /usr/local/etc/ports.conf Message-ID: <20061008034123.GA51111@ns.museum.rain.com>
next in thread | raw e-mail | index | archive | help
I am trying to migrate my /usr/local/etc/pkgtools.conf into /usr/local/etc/ports.conf. I'm not sure I have the ports.conf syntax correct, or that the entries I'm making are being recognized. I've installed the sysutils/portconf port successfully, and my make.conf is: monitor : /root# cat /etc/make.conf CPUTYPE?=p3 NO_PROFILE= true USA_RESIDENT=YES # 2005-12-19 to build sendmail without IPv6 NO_INET6=YES # added by use.perl 2006-01-05 14:23:56 PERL_VER=5.8.7 PERL_VERSION=5.8.7 # Begin portconf settings # Do not touch these lines .if !empty(.CURDIR:M/usr/ports*) && exists(/usr/local/libexec/portconf) _PORTCONF!=/usr/local/libexec/portconf .for i in ${_PORTCONF:S/|/ /g} ${i:S/%/ /g} .endfor .endif # End portconf settings I have this line in /usr/local/etc/ports.conf for ruby18: lang/ruby18: WITHOUT_RDOC=1 | WITHOUT_IPV6=1 portupgrade says that portupgrade and ruby are both out of date: monitor : /root# portupgrade -nR portupgrade 2>/dev/null ---> Session started at: Sat, 07 Oct 2006 20:34:32 -0700 ---> Upgrade of lang/ruby18 started at: Sat, 07 Oct 2006 20:34:35 -0700 ---> Upgrading 'ruby-1.8.4_9,1' to 'ruby-1.8.5_1,1' (lang/ruby18) OK? [no] ---> Upgrade of lang/ruby18 ended at: Sat, 07 Oct 2006 20:34:35 -0700 (consumed 00:00:00) ---> ** Upgrade tasks 3: 1 done, 0 ignored, 0 skipped and 0 failed ---> Skipping 'lang/perl5.8' because it is held by user (specify -f to force) ---> ** Upgrade tasks 3: 1 done, 1 ignored, 0 skipped and 0 failed ---> Upgrade of sysutils/portupgrade started at: Sat, 07 Oct 2006 20:34:35 -0700 ---> Upgrading 'portupgrade-2.1.3.3,2' to 'portupgrade-2.1.3.3_1,2' (sysutils/portupgrade) OK? [no] ---> Upgrade of sysutils/portupgrade ended at: Sat, 07 Oct 2006 20:34:35 -0700 (consumed 00:00:00) ---> ** Upgrade tasks 3: 2 done, 1 ignored, 0 skipped and 0 failed ---> Listing the results (+:done / -:ignored / *:skipped / !:failed) + lang/ruby18 (ruby-1.8.4_9,1) - lang/perl5.8 (perl-5.8.7_2) + sysutils/portupgrade (portupgrade-2.1.3.3,2) ---> Packages processed: 2 done, 1 ignored, 0 skipped and 0 failed ---> Session ended at: Sat, 07 Oct 2006 20:34:35 -0700 (consumed 00:00:03) But when I: monitor : /root# portupgrade -R portupgrade ---> Upgrading 'ruby-1.8.4_9,1' to 'ruby-1.8.5_1,1' (lang/ruby18) ---> Building '/usr/ports/lang/ruby18' ===> Cleaning for ruby-1.8.5_1,1 I then get the build options dialogue box for ruby 1.8.5_1,1 with the tick boxes for IPV6 and RDOC checked, even though I have ports.conf entries to turn them off. Is this my goof, or is something wrong with portconf? Thank you!
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061008034123.GA51111>