diff options
| author | Martin Matuska <mm@FreeBSD.org> | 2012-10-23 19:51:19 +0000 |
|---|---|---|
| committer | Martin Matuska <mm@FreeBSD.org> | 2012-10-23 19:51:19 +0000 |
| commit | 797854a8df311b155399eb9aeb6f1851f3a63f6b (patch) | |
| tree | dc8e40ff399876bc3b30335b356aade88b8867a7 | |
| parent | . remove directories installed by other porst from pkg-plist; [1] (diff) | |
Fix python path in configuration files
PR: ports/172165
Submitted by: crees
Feature safe: yes
| -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 |
