diff options
author | mm <mm@FreeBSD.org> | 2012-10-24 03:51:19 +0800 |
---|---|---|
committer | mm <mm@FreeBSD.org> | 2012-10-24 03:51:19 +0800 |
commit | 667dba9a38afc7780a2c369ca490a3b7053d5efe (patch) | |
tree | dc8e40ff399876bc3b30335b356aade88b8867a7 /www | |
parent | 67a6b356725cc8fe2b79087e7e9b3aaf2de0f9b9 (diff) | |
download | freebsd-ports-gnome-667dba9a38afc7780a2c369ca490a3b7053d5efe.tar.gz freebsd-ports-gnome-667dba9a38afc7780a2c369ca490a3b7053d5efe.tar.zst freebsd-ports-gnome-667dba9a38afc7780a2c369ca490a3b7053d5efe.zip |
Fix python path in configuration files
PR: ports/172165
Submitted by: crees
Feature safe: yes
Diffstat (limited to 'www')
-rw-r--r-- | www/lighttpd/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/www/lighttpd/Makefile b/www/lighttpd/Makefile index 53976dd8dc80..cd668cbee022 100644 --- a/www/lighttpd/Makefile +++ b/www/lighttpd/Makefile @@ -7,7 +7,7 @@ PORTNAME?= lighttpd PORTVERSION= 1.4.31 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES?= www MASTER_SITES?= http://download.lighttpd.net/lighttpd/releases-1.4.x/ @@ -205,6 +205,9 @@ post-patch: ${WRKSRC}/doc/config/lighttpd.conf @${REINPLACE_CMD} -e "s|/etc/lighttpd|${PREFIX}/etc/lighttpd|g" \ ${WRKSRC}/doc/config/conf.d/auth.conf + @${REINPLACE_CMD} -e "s|/usr/bin/python|${LOCALBASE}/bin/python|" \ + ${WRKSRC}/doc/config/conf.d/cgi.conf \ + ${WRKSRC}/tests/*.conf @${ECHO} >> ${WRKSRC}/doc/config/lighttpd.conf @${ECHO} "# IPv4 listening socket" >> \ ${WRKSRC}/doc/config/lighttpd.conf |