diff options
author | petef <petef@FreeBSD.org> | 2001-09-18 05:51:51 +0000 |
---|---|---|
committer | petef <petef@FreeBSD.org> | 2001-09-18 05:51:51 +0000 |
commit | 3f429db709c66aee6b15d3b64d7a009030c448c7 (patch) | |
tree | 42c24bc28738592e98a920ad9d9eae19dfa7557e /www/horde4-base | |
parent | 565119133875d366a7bcc1f25de84c012532cb6b (diff) | |
download | FreeBSD-ports-3f429db709c66aee6b15d3b64d7a009030c448c7.zip FreeBSD-ports-3f429db709c66aee6b15d3b64d7a009030c448c7.tar.gz |
Attempt to fix bento build by manipulating httpd.conf.phplib in WRKDIR,
not the main port directory.
Noticed by: bento
Approved by: maintainer
Diffstat (limited to 'www/horde4-base')
-rw-r--r-- | www/horde4-base/Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/www/horde4-base/Makefile b/www/horde4-base/Makefile index b2bd107..ca44ebd 100644 --- a/www/horde4-base/Makefile +++ b/www/horde4-base/Makefile @@ -108,11 +108,11 @@ do-install: @(if [ -f ${APACHE_CONF} ] ; then \ (if [ ! -f ${APACHE_CONF}.beforeHorde ] ; then \ ${ECHO} "===> Updating httpd.conf..." ; \ - ${CP} -p ${.CURDIR}/httpd.conf.phplib ${.CURDIR}/httpd.conf.phplib.orig ; \ - ${PERL} -pi -e "s:/home/httpd/html/horde:${HORDEDIR}:g" ${.CURDIR}/httpd.conf.phplib ; \ - ${PERL} -pi -e "s:/home/httpd/phplib:${PHPLIBDIR}:g" ${.CURDIR}/httpd.conf.phplib ; \ + ${CP} -p ${.CURDIR}/httpd.conf.phplib ${WRKDIR}/httpd.conf.phplib.orig ; \ + ${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} ${.CURDIR}/httpd.conf.phplib >> ${APACHE_CONF} ; \ + ${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) ; \ |