Ports - Makefile - COMMENT= variable

Kent Stewart kstewart at owt.com
Wed May 7 12:37:00 PDT 2003


On Wednesday 07 May 2003 12:22 pm, Thomas Dwyer wrote:
> I recently upgraded to FreeBSD 4.8 from 4.6 using cvsup to update
> src-all and the ports tree.
>
> I did the usual:
> make buildworld
> make buildkernel
> make installkernel
> make installworld
> mergemaster
>
> I tried to install a couple of ports and I am receiving this error
> when I do the make install:
>
> pkg_create: only one package name allowed ('interface' extraneous)
>
> the 'interface' is defferent depending on what port, and is the 3rd
> word on the COMMENT= line of the Makefile.
>
> If I remove the COMMENT= line and place the text in a pkg-comment
> file, the installation works fine.
>
> I'm not sure if this is related to upgrading to 4.8, or the updated
> ports tree.  I had installed several ports when it was FreeBSD 4.6,
> without any problems, but I'm not sure if they utilized the COMMENT=
> or the pkg-comment method.

It is port related and not your OS version. Did you rebuild your INDEX 
file(s) after you cvsuped. The current INDEX file is 2 weeks old. That 
is pretty recent. Right now, I use "make index" and "portsdb -u" in 
/usr/ports. You don't need to use portsdb if you aren't using 
portupgrade. Not using portupgrade is a painful way to maintain your 
ports :).

Kent

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html



More information about the freebsd-questions mailing list