FreeBSD Bugzilla – Attachment 68694 Details for
Bug 100915
[PATCH] Mk/bsd.port.mk: export rc.subr script suffix
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.60 KB, created by
Matthias Andree
on 2006-07-27 12:00:29 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Matthias Andree
Created:
2006-07-27 12:00:29 UTC
Size:
1.60 KB
patch
obsolete
>*** bsd.port.mk.orig Tue Jul 18 06:12:51 2006 >--- bsd.port.mk Thu Jul 27 12:39:42 2006 >*************** >*** 5244,5249 **** >--- 5244,5257 ---- > .endif > .endif > >+ # The name of installed rc.subr-based start scripts changed >+ # with the rcorder(8) integration. Export their suffix. >+ .if (${OSVERSION} >= 700007 || ( ${OSVERSION} < 700000 && ${OSVERSION} >= 600101 )) >+ RC_SUBR_SUFFIX?= >+ .else >+ RC_SUBR_SUFFIX?=.sh >+ .fi >+ > .if !target(install-rc-script) > install-rc-script: > .if defined(USE_RCORDER) || defined(USE_RC_SUBR) && ${USE_RC_SUBR:U} != "YES" >*************** >*** 5259,5275 **** > .if defined(USE_RC_SUBR) && ${USE_RC_SUBR:U} != "YES" > @${ECHO_CMD} "===> Installing rc.d startup script(s)" > @${ECHO_CMD} "@cwd ${PREFIX}" >> ${TMPPLIST} >- .if (${OSVERSION} >= 700007 || ( ${OSVERSION} < 700000 && ${OSVERSION} >= 600101 )) >- @for i in ${USE_RC_SUBR}; do \ >- ${INSTALL_SCRIPT} ${WRKDIR}/$${i} ${PREFIX}/etc/rc.d/$${i%.sh}; \ >- ${ECHO_CMD} "etc/rc.d/$${i%.sh}" >> ${TMPPLIST}; \ >- done >- .else > @for i in ${USE_RC_SUBR}; do \ >! ${INSTALL_SCRIPT} ${WRKDIR}/$${i} ${PREFIX}/etc/rc.d/$${i%.sh}.sh; \ >! ${ECHO_CMD} "etc/rc.d/$${i%.sh}.sh" >> ${TMPPLIST}; \ > done >- .endif > .endif > .else > @${DO_NADA} >--- 5267,5276 ---- > .if defined(USE_RC_SUBR) && ${USE_RC_SUBR:U} != "YES" > @${ECHO_CMD} "===> Installing rc.d startup script(s)" > @${ECHO_CMD} "@cwd ${PREFIX}" >> ${TMPPLIST} > @for i in ${USE_RC_SUBR}; do \ >! ${INSTALL_SCRIPT} ${WRKDIR}/$${i} ${PREFIX}/etc/rc.d/$${i%.sh}${RC_SUBR_SUFFIX}; \ >! ${ECHO_CMD} "etc/rc.d/$${i%.sh}${RC_SUBR_SUFFIX}" >> ${TMPPLIST}; \ > done > .endif > .else > @${DO_NADA}
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 100915
: 68694