aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authormi <mi@FreeBSD.org>2014-10-04 03:40:51 +0800
committermi <mi@FreeBSD.org>2014-10-04 03:40:51 +0800
commitd40df58aa4eb1583ffc16f7e426b1a48f8d7affa (patch)
tree128911aaa4029af24195d758be81a2d3721412d0 /www
parent1da387cc7c4bc853fa42ba0f327d6674e71f84b5 (diff)
downloadfreebsd-ports-gnome-d40df58aa4eb1583ffc16f7e426b1a48f8d7affa.tar.gz
freebsd-ports-gnome-d40df58aa4eb1583ffc16f7e426b1a48f8d7affa.tar.zst
freebsd-ports-gnome-d40df58aa4eb1583ffc16f7e426b1a48f8d7affa.zip
Make sure, ${PREFIX}/etc/ is searched for config-files, rather than the
/etc
Diffstat (limited to 'www')
-rw-r--r--www/groupoffice/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/www/groupoffice/Makefile b/www/groupoffice/Makefile
index a1ffc93971cb..1f44083fb12b 100644
--- a/www/groupoffice/Makefile
+++ b/www/groupoffice/Makefile
@@ -30,6 +30,12 @@ WBXML_DESC= Synchronization Support
post-patch:
${REINPLACE_CMD} 's|%%LOCALBASE%%|${LOCALBASE}|g' \
${WRKSRC}/go/base/Config.php
+ ${REINPLACE_CMD} 's|/etc/groupoffice|${PREFIX}&|g' \
+ ${WRKSRC}/go/base/Config.php \
+ ${WRKSRC}/install/configFile.php \
+ ${WRKSRC}/modules/serverclient/HttpClient.php \
+ ${WRKSRC}/modules/serverclient/ServerclientModule.php \
+ ${WRKSRC}/modules/site/index.php
.include <bsd.port.options.mk>