Date: Mon, 24 Jul 2000 16:18:19 +0200 From: Palle Girgensohn <girgen@partitur.se> To: Bill Fumerola <billf@chimesnet.com> Cc: dan@langille.org, ports@freebsd.org, andreas@freebsd.org Subject: Re: postgresql7 user message contains $PREFIX not /usr/local Message-ID: <397C502B.54FCE204@partitur.se> References: <397C274F.16659.118B7499@localhost> <397BA31C.B0623967@partitur.se> <20000723223642.P51462@jade.chc-chimes.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Bill Fumerola wrote: > > 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) Not quite yet :) There are two references to this file; it is installed as well. (another 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 14:15:52 @@ -204,7 +204,8 @@ > ${PREFIX}/etc/rc.d/pgsql.sh @ ${CHMOD} 554 ${PREFIX}/etc/rc.d/pgsql.sh @ ${CHOWN} root.pgsql ${PREFIX}/etc/rc.d/pgsql.sh - @ ${INSTALL_DATA} ${FILESDIR}/post-install-notes ${PREFIX}/pgsql + @ ${SED} -e 's#$PREFIX#${PREFIX}#' < ${FILESDIR}/post-install-notes \ + > ${PREFIX}/pgsql/post-install-notes .if defined(WITHOUT_MULTIBYTE) @${CP} ${TMPPLIST} ${TMPPLIST}.nomulti @${GREP} -v pgsql/bin/pg_encoding ${TMPPLIST}.nomulti > ${TMPPLIST} @@ -248,7 +249,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 -e .endif .if !defined(DEBUG_FLAGS) .for file in ecpg pg_dump pg_id pg_passwd pg_version postgres psql -- Palle 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?397C502B.54FCE204>