aboutsummaryrefslogtreecommitdiffstats
path: root/www/horde4-base/Makefile
diff options
context:
space:
mode:
authorpetef <petef@FreeBSD.org>2001-09-18 13:51:51 +0800
committerpetef <petef@FreeBSD.org>2001-09-18 13:51:51 +0800
commit3f429db709c66aee6b15d3b64d7a009030c448c7 (patch)
tree42c24bc28738592e98a920ad9d9eae19dfa7557e /www/horde4-base/Makefile
parent565119133875d366a7bcc1f25de84c012532cb6b (diff)
downloadfreebsd-ports-gnome-3f429db709c66aee6b15d3b64d7a009030c448c7.tar.gz
freebsd-ports-gnome-3f429db709c66aee6b15d3b64d7a009030c448c7.tar.zst
freebsd-ports-gnome-3f429db709c66aee6b15d3b64d7a009030c448c7.zip
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/Makefile')
-rw-r--r--www/horde4-base/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/www/horde4-base/Makefile b/www/horde4-base/Makefile
index b2bd107c79fd..ca44ebd65d3c 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) ; \