FreeBSD Bugzilla – Attachment 9963 Details for
Bug 20171
postgresql7 user message contains $PREFIX not /usr/local
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.39 KB, created by
dan
on 2000-07-25 11:00:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
dan
Created:
2000-07-25 11:00:01 UTC
Size:
1.39 KB
patch
obsolete
>diff -druN postgresql7.original/Makefile postgresql7.madeinstall/Makefile >--- postgresql7.original/Makefile Mon Jul 24 20:50:08 2000 >+++ postgresql7.madeinstall/Makefile Tue Jul 25 20:49:23 2000 >@@ -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 > .endif > .if !defined(DEBUG_FLAGS) > .for file in ecpg pg_dump pg_id pg_passwd pg_version postgres psql >diff -druN postgresql7.original/files/post-install-notes postgresql7.madeinstall/files/post-install-notes >--- postgresql7.original/files/post-install-notes Mon Jul 24 20:44:58 2000 >+++ postgresql7.madeinstall/files/post-install-notes Mon Jul 24 21:20:40 2000 >@@ -13,4 +13,4 @@ > operations. > > To start PostgreSQL, run the startup script: >-$PREFIX/etc/rc.d/pgsql.sh start >+%%PREFIX%%/etc/rc.d/pgsql.sh start
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 20171
: 9963