Date: Fri, 25 Mar 2011 15:16:55 -0500 From: Eitan Adler <lists@eitanadler.com> To: Juergen Lock <nox@jelal.kn-bremen.de> Cc: ports@freebsd.org Subject: Re: hyphen in PORTNAME... still bad? Message-ID: <AANLkTimKJct-yD=tjeqyVcJ5zooFsZ4Ny1qC3YM2KO4H@mail.gmail.com> In-Reply-To: <20110325194734.GA53960@triton8.kn-bremen.de> References: <20110325194734.GA53960@triton8.kn-bremen.de>
next in thread | previous in thread | raw e-mail | index | archive | help
> =C2=A0Anyone remember the reason behind this portlint warning and whether > it can be ignored? =C2=A0(like several ports seem to do, even high-profil= e > ones like boost-libs or docbook-xml...) > > =C2=A0 =C2=A0 =C2=A0 =C2=A0WARN: Makefile: using hyphen in PORTNAME. cons= ider using PKGNAMEPREFIX and/or PKGNAMESUFFIX. > > =C2=A0I'm sure there must have been a reason for the warning, but is it > still valid? The warning is talking about things such as the p5- prefix and the -devel suffix. If your port name legitimately has a hyphen in it then nothing should break. The warning is still valid but in this case could safely be ignored. > Or should I really set PKGNAMEPREFIX=3D vdr-plugin- like the > warning suggests? It is up to you, but I would leave it in the PORTNAME. I would use PKGNAMEPREFIX for modules that don't contain the prefix in their name (see mod_* that uses the apache prefix for examples). --=20 Eitan Adler
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTimKJct-yD=tjeqyVcJ5zooFsZ4Ny1qC3YM2KO4H>