From owner-freebsd-ports Wed Nov 7 13:20:52 2001 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 35C8E37B43F for ; Wed, 7 Nov 2001 13:20:08 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id fA7LK8H90867; Wed, 7 Nov 2001 13:20:08 -0800 (PST) (envelope-from gnats) Date: Wed, 7 Nov 2001 13:20:08 -0800 (PST) Message-Id: <200111072120.fA7LK8H90867@freefall.freebsd.org> To: freebsd-ports@FreeBSD.org Cc: From: Thierry Thomas Subject: Re: ports/31816: Port failed: mail/imp Reply-To: Thierry Thomas Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR ports/31816; it has been noted by GNATS. From: Thierry Thomas To: FreeBSD-gnats-submit@FreeBSD.ORG Cc: Ernst de Haan 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