Date: Wed, 7 Nov 2001 13:20:08 -0800 (PST) From: Thierry Thomas <thierry@thomas.as> To: freebsd-ports@FreeBSD.org Subject: Re: ports/31816: Port failed: mail/imp Message-ID: <200111072120.fA7LK8H90867@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/31816; it has been noted by GNATS. From: Thierry Thomas <thierry@thomas.as> To: FreeBSD-gnats-submit@FreeBSD.ORG Cc: Ernst de Haan <ernsth@nl.euro.net> Subject: Re: ports/31816: Port failed: mail/imp Date: Wed, 7 Nov 2001 22:08:03 +0100 Le 7 Nov 01 à 12:31:09 +0000, Ernst de Haan écrivait : > >Description: > The port mail/imp fails: > > ===> Updating mime.types... > ===> Updating httpd.conf... > Can't open /usr/ports/www/horde/work/httpd.conf.phplib: No such file or directory > Can't open /usr/ports/www/horde/work/httpd.conf.phplib: No such file or directory > cat: /usr/ports/www/horde/work/httpd.conf.phplib: No such file or directory > *** Error code 1 > > >How-To-Repeat: > cd /usr/ports/mail/imp && make install Note: actually, the error was in the port www/horde. The following patch supersedes the PR ports/31089, and it should fix the bug. Please commit PR ports/31090 too. diff -urN www/horde.orig/Makefile www/horde/Makefile --- www/horde.orig/Makefile Tue Sep 18 07:51:51 2001 +++ www/horde/Makefile Wed Nov 7 21:45:20 2001 @@ -50,6 +50,8 @@ APACHE_CONF= ${APACHE_CNFDIR}/httpd.conf MIMETYPES= ${APACHE_CNFDIR}/mime.types +PHP_CNFDIR?= ${LOCALBASE}/etc + pre-everything:: .if !defined(WITHOUT_SSL) @${ECHO_MSG} "" @@ -89,6 +91,11 @@ ${CP} ${HORDEDIR}/config/horde.php3.dist ${HORDEDIR}/config/horde.php3 ${CHMOD} 444 ${HORDEDIR}/config/horde.php3 ${CHMOD} 444 ${HORDEDIR}/setup.php3 + ${PERL} -pi -e "s:/usr/local/apache/php:${PHPLIBDIR}:g" ${PHPLIBDIR}/README + ${PERL} -pi -e "s:horde/docs:${DOCSDIR}:g" ${PHPLIBDIR}/README + ${PERL} -pi -e "s:/usr/lib:${PHP_CNFDIR}:g" ${PHPLIBDIR}/README + ${PERL} -pi -e "s:horde/scripts:${HORDEDIR}/scripts:g" ${PHPLIBDIR}/README + ${PERL} -pi -e "s:horde/docs:${DOCSDIR}:g" ${HORDEDIR}/scripts/database/MYSQL .if !defined(WITH_PHP3) # Enabling execution of .php3, in case you only run php4 @(if [ -f ${MIMETYPES} ] ; then \ @@ -108,13 +115,11 @@ @(if [ -f ${APACHE_CONF} ] ; then \ (if [ ! -f ${APACHE_CONF}.beforeHorde ] ; then \ ${ECHO} "===> Updating httpd.conf..." ; \ - ${CP} -p ${.CURDIR}/httpd.conf.phplib ${WRKDIR}/httpd.conf.phplib.orig ; \ + ${CP} -p ${PORTSDIR}/www/${PORTNAME}/httpd.conf.phplib ${WRKDIR}/httpd.conf.phplib ; \ ${PERL} -pi -e "s:/home/httpd/html/horde:${HORDEDIR}:g" ${WRKDIR}/httpd.conf.phplib ; \ ${PERL} -pi -e "s:/home/httpd/phplib:${PHPLIBDIR}:g" ${WRKDIR}/httpd.conf.phplib ; \ ${CP} -p ${APACHE_CONF} ${APACHE_CONF}.beforeHorde ; \ ${GREP} -qw 'phplib' ${APACHE_CONF} || ${CAT} ${WRKDIR}/httpd.conf.phplib >> ${APACHE_CONF} ; \ - ${RM} ${.CURDIR}/httpd.conf.phplib ; \ - ${MV} ${.CURDIR}/httpd.conf.phplib.orig ${.CURDIR}/httpd.conf.phplib ; \ fi) ; \ fi) .if !defined(NOPORTDOCS) -- Th. Thomas. 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?200111072120.fA7LK8H90867>