Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Jul 2000 22:36:42 -0400
From:      Bill Fumerola <billf@chimesnet.com>
To:        Palle Girgensohn <girgen@partitur.se>
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>
In-Reply-To: <397BA31C.B0623967@partitur.se>; from girgen@partitur.se on Mon, Jul 24, 2000 at 03:59:56AM %2B0200
References:  <397C274F.16659.118B7499@localhost> <397BA31C.B0623967@partitur.se>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000723223642.P51462>