FreeBSD Bugzilla – Attachment 23410 Details for
Bug 40289
Yet another bunch of PERL -> REINPLACE_CMD
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 3.29 KB, created by
Thierry Thomas
on 2002-07-07 14:00:04 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Thierry Thomas
Created:
2002-07-07 14:00:04 UTC
Size:
3.29 KB
patch
obsolete
>diff -urN /usr/ports/mail/imp.orig/Makefile /usr/ports/mail/imp/Makefile >--- /usr/ports/mail/imp.orig/Makefile Mon May 20 22:39:39 2002 >+++ /usr/ports/mail/imp/Makefile Sun Jul 7 12:53:30 2002 >@@ -93,6 +93,9 @@ > .endif > > NO_BUILD= yes >+USE_REINPLACE= yes >+ >+REINPLACE_ARGS= -i.beforeImp > DOCS= COPYING README docs/CHANGES docs/CREDITS docs/DATABASE \ > docs/HELP docs/INSTALL docs/SECURITY docs/KNOWN_BUGS \ > docs/PACKAGES >@@ -173,19 +176,17 @@ > ${CP} -Rp ${WRKSRC}/config ${WRKSRC}/graphics ${WRKSRC}/lib ${IMPDIR} > ${CP} -Rp ${WRKSRC}/locale ${WRKSRC}/scripts ${WRKSRC}/templates ${IMPDIR} > ${CP} -p ${WRKSRC}/*.php3 ${WRKSRC}/*.css ${IMPDIR} >- ${PERL} -pi -e "s:/usr/bin/ispell:${LOCALBASE}/bin/ispell:g" \ >- ${IMPDIR}/config/defaults.php3.dist >- ${PERL} -pi -e "s:/usr/bin/wvHtml:${LOCALBASE}/bin/wvHtml:g" \ >- ${IMPDIR}/config/defaults.php3.dist >- ${PERL} -pi -e "s:/usr/bin/xlHtml:${LOCALBASE}/bin/xlhtml:g" \ >+ ${REINPLACE_CMD} -e "s:/usr/bin/ispell:${LOCALBASE}/bin/ispell:g ; \ >+ s:/usr/bin/wvHtml:${LOCALBASE}/bin/wvHtml:g ; \ >+ s:/usr/bin/xlHtml:${LOCALBASE}/bin/xlhtml:g ; \ >+ s:/bin/tar:/usr/bin/tar:g ; \ >+ s:/usr/bin/zipinfo:${LOCALBASE}/bin/zipinfo:g" \ > ${IMPDIR}/config/defaults.php3.dist >- ${PERL} -pi -e "s:/bin/tar:/usr/bin/tar:g" ${IMPDIR}/config/defaults.php3.dist >- ${PERL} -pi -e "s:/usr/bin/zipinfo:${LOCALBASE}/bin/zipinfo:g" \ >- ${IMPDIR}/config/defaults.php3.dist >- ${PERL} -pi -e "s:sh ./secure.sh:${HORDESBIN}/horde_secure.sh:g" \ >- ${IMPDIR}/templates/index/imp_notconfigured.inc >- ${PERL} -pi -e "s:sh ./install.sh:${HORDESBIN}/horde_setup.sh:g" \ >+ @${RM} ${IMPDIR}/config/defaults.php3.dist.beforeImp >+ ${REINPLACE_CMD} -e "s:sh ./secure.sh:${HORDESBIN}/horde_secure.sh:g ; \ >+ s:sh ./install.sh:${HORDESBIN}/horde_setup.sh:g" \ > ${IMPDIR}/templates/index/imp_notconfigured.inc >+ @${RM} ${IMPDIR}/templates/index/imp_notconfigured.inc.beforeImp > @if [ ! -f ${IMPDIR}/config/defaults.php3 ]; then \ > ${CP} ${IMPDIR}/config/defaults.php3.dist ${IMPDIR}/config/defaults.php3; \ > fi >@@ -205,7 +206,7 @@ > (if [ ! -f ${APACHE_CONF}.beforeIMP ] ; then \ > ${ECHO} "===> Updating ${APACHE_CONF}..." ; \ > ${CP} -p ${.CURDIR}/httpd.conf.imp ${WRKDIR}/httpd.conf.imp ; \ >- ${PERL} -pi -e "s:/home/httpd/html/horde/imp:${IMPDIR}:g" \ >+ ${REINPLACE_CMD} -e "s:/home/httpd/html/horde/imp:${IMPDIR}:g" \ > ${WRKDIR}/httpd.conf.imp ; \ > ${CP} -p ${APACHE_CONF} ${APACHE_CONF}.beforeIMP ; \ > ${GREP} -qw 'Added for IMP' ${APACHE_CONF} || ${CAT} ${WRKDIR}/httpd.conf.imp \ >@@ -213,7 +214,10 @@ > fi) ; \ > fi) > .if !defined(NOPORTDOCS) >- ${PERL} -pi -e "s:/home/httpd/html/horde/imp:${IMPDIR}:g" ${WRKSRC}/docs/SECURITY >+ ${REINPLACE_CMD} -e "s:/home/httpd/html/horde:${HORDEDIR}:g ; \ >+ s:/home/httpd/horde-phplib:${HORDEDIR}/phplib:g ; \ >+ s:nobody:www:g" \ >+ ${WRKSRC}/docs/SECURITY > ${MKDIR} ${DOCSDIR} > .for FILE in ${DOCS} > ${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR} >@@ -248,6 +252,7 @@ > @${ECHO} "IMAP-UW; you may want to reinstall it with SSL support, or" > @${ECHO} "if you need an SSL connection to your IMAP server, you can" > @${ECHO} "install the port security/stunnel." >+ @${ECHO} "Note: without SSL, you have to choose the IMAP port 143/notls" > @${ECHO} "******************************************************************" > > .include <bsd.port.mk>
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 40289
:
23409
| 23410 |
23411
|
23412
|
23413