From owner-freebsd-ports Sun Jul 23 16: 6:14 2000 Delivered-To: freebsd-ports@freebsd.org Received: from bastuba.partitur.se (bastuba.partitur.se [193.219.246.194]) by hub.freebsd.org (Postfix) with ESMTP id B385937BCD7; Sun, 23 Jul 2000 16:06:08 -0700 (PDT) (envelope-from girgen@partitur.se) Received: from stordatan.palle.se (c193.150.250.87.cm-upc.chello.se [193.150.250.87]) by bastuba.partitur.se (8.9.3/8.9.3) with ESMTP id BAA59397; Mon, 24 Jul 2000 01:06:06 +0200 (CEST) (envelope-from girgen@partitur.se) Received: from partitur.se (localhost [127.0.0.1]) by stordatan.palle.se (8.9.3/8.9.3) with ESMTP id BAA01774; Mon, 24 Jul 2000 01:05:36 +0200 (CEST) (envelope-from girgen@partitur.se) Message-ID: <397B7A40.6DC0C203@partitur.se> Date: Mon, 24 Jul 2000 01:05:36 +0200 From: Palle Girgensohn Organization: Partitur X-Mailer: Mozilla 4.73 [en] (X11; I; FreeBSD 4.1-RC i386) X-Accept-Language: sv, en MIME-Version: 1.0 To: dan@langille.org Cc: ports@freebsd.org, andreas@freebsd.org Subject: Re: postgresql7 user message contains $PREFIX not /usr/local References: <397C2196.23289.11751B8F@localhost> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Dan Langille wrote: > > On 24 Jul 2000, at 0:56, Palle Girgensohn wrote: > > > Dan Langille wrote: > > > > > > I just installed databases/postgresql7 and spotted the following > > > message: > > > > > > To start PostgreSQL, run the startup script: $PREFIX/etc/rc.d/pgsql.sh > > > start ===> Compressing manual pages for postgresql-7.0.2 > > > > > > To be nice to the user, who we all know doesn't know much, should we say > > > "/usr/local" instead of "$PREFIX"? > > > > I guess, if the user is using a different prefix than > > /usr/local, the user knows more than the average, and will > > exchange /usr/local for their favourite prefix automatically in > > his/her mind while reading the message ;-) > > > > You're probably right, putting /usr/local instead would > > probably confuse a smaller amount of users :) > > Actually, I think it should say /usr/local/ only if that's what PREFIX > evaluates to. My initial thoughts were that the code was not correctly > evaluating the $PREFIX variable. Rather, the string "$PREFIX" was > being printed instead of the value contained within $PREFIX. This could be done, but the text is in a file that is not parsed by the makefile. This could easily be done, though. -- Palle To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message