FreeBSD Bugzilla – Attachment 138111 Details for
Bug 183961
Add staging support to mail/dbmail22
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
dbmail22-staging.diff
dbmail22-staging.diff (text/plain), 1.65 KB, created by
Alan Hicks
on 2013-11-14 18:10:00 UTC
(
hide
)
Description:
dbmail22-staging.diff
Filename:
MIME Type:
Creator:
Alan Hicks
Created:
2013-11-14 18:10:00 UTC
Size:
1.65 KB
patch
obsolete
>diff -ur dbmail22/Makefile dbmail22/Makefile >--- dbmail22/Makefile 2013-11-06 17:52:42.000000000 +0000 >+++ dbmail22/Makefile 2013-11-14 17:19:53.000000000 +0000 >@@ -56,7 +56,6 @@ > PLIST_SUB+= PORTDOCS="" > .endif > >-NO_STAGE= yes > .include <bsd.port.options.mk> > > .if ${PORT_OPTIONS:MMYSQL} >@@ -114,24 +113,24 @@ > # fixes the `Shared object "libpgsqldbmail.so.0" not found, required by "libdbmail.so.0"' error. > pre-install: > @for f in 'a' 'la' 'so' 'so.0'; do \ >- if [ -f ${PREFIX}/lib/libdbmail.$$f ] ; then \ >- ${RM} ${PREFIX}/lib/libdbmail.$$f; \ >+ if [ -f ${STAGEDIR}${PREFIX}/lib/libdbmail.$$f ] ; then \ >+ ${RM} ${STAGEDIR}${PREFIX}/lib/libdbmail.$$f; \ > fi; \ > done > > post-install: >- @${INSTALL_DATA} ${WRKSRC}/dbmail.conf ${PREFIX}/etc/dbmail.conf-dist >- @if [ ! -f ${PREFIX}/etc/dbmail.conf ] ; then \ >- ${CP} -p ${PREFIX}/etc/dbmail.conf-dist ${PREFIX}/etc/dbmail.conf; \ >+ @${INSTALL_DATA} ${WRKSRC}/dbmail.conf ${STAGEDIR}${PREFIX}/etc/dbmail.conf-dist >+ @if [ ! -f ${STAGEDIR}${PREFIX}/etc/dbmail.conf ] ; then \ >+ ${CP} -p ${STAGEDIR}${PREFIX}/etc/dbmail.conf-dist ${STAGEDIR}${PREFIX}/etc/dbmail.conf; \ > fi >- @${MKDIR} ${DATADIR} >+ @${MKDIR} ${STAGEDIR}${DATADIR} > @for f in ${DATABASE}; do \ >- ${MKDIR} ${DATADIR}/$$f ; \ >- ${INSTALL_DATA} ${WRKSRC}/sql/$$f/* ${DATADIR}/$$f; \ >+ ${MKDIR} ${STAGEDIR}${DATADIR}/$$f ; \ >+ ${INSTALL_DATA} ${WRKSRC}/sql/$$f/* ${STAGEDIR}${DATADIR}/$$f; \ > done > .if ${PORT_OPTIONS:MDOCS} >- @${MKDIR} ${DOCSDIR} >- @cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR} >+ @${MKDIR} ${STAGEDIR}${DOCSDIR} >+ @cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} > .endif > @${CAT} ${PKGMESSAGE}
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 183961
: 138111