From owner-freebsd-ports Sun Jul 23 19:36:45 2000 Delivered-To: freebsd-ports@freebsd.org Received: from jade.chc-chimes.com (jade.chc-chimes.com [216.28.46.6]) by hub.freebsd.org (Postfix) with ESMTP id 77EC237B76B; Sun, 23 Jul 2000 19:36:43 -0700 (PDT) (envelope-from billf@jade.chc-chimes.com) Received: by jade.chc-chimes.com (Postfix, from userid 1001) id 894A51C65; Sun, 23 Jul 2000 22:36:42 -0400 (EDT) Date: Sun, 23 Jul 2000 22:36:42 -0400 From: Bill Fumerola To: Palle Girgensohn Cc: dan@langille.org, ports@freebsd.org, andreas@freebsd.org Subject: Re: postgresql7 user message contains $PREFIX not /usr/local Message-ID: <20000723223642.P51462@jade.chc-chimes.com> References: <397C274F.16659.118B7499@localhost> <397BA31C.B0623967@partitur.se> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <397BA31C.B0623967@partitur.se>; from girgen@partitur.se on Mon, Jul 24, 2000 at 03:59:56AM +0200 X-Operating-System: FreeBSD 3.3-STABLE i386 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Mon, Jul 24, 2000 at 03:59:56AM +0200, Palle Girgensohn wrote: > > And those advanced users who are not using /usr/local will know what > > $PREFIX means and will know where their "etc/rc.d" directory is. > ... > > Lets keep it simple. I suggest a hardcoded /usr/local. Hi. Can we go on with life now? (untested patch follows) Index: Makefile =================================================================== RCS file: /home/ncvs/ports/databases/postgresql7/Makefile,v retrieving revision 1.61 diff -u -r1.61 Makefile --- Makefile 2000/07/11 19:03:58 1.61 +++ Makefile 2000/07/24 02:35:06 @@ -248,7 +248,7 @@ # ${INSTALL_MAN} ${WRKDIR}/${DISTNAME}/doc/*ps.gz ${PREFIX}/share/doc/pgsql .endif .if !defined(BATCH) - @ more -e ${FILESDIR}/post-install-notes + @ ${SED} -e 's#$PREFIX#${PREFIX}#' ${FILESDIR}/post-install-notes | more .endif .if !defined(DEBUG_FLAGS) .for file in ecpg pg_dump pg_id pg_passwd pg_version postgres psql -- Bill Fumerola - Network Architect, BOFH / Chimes, Inc. billf@chimesnet.com / billf@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message