1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-01 10:59:55 +00:00

Fix python path in configuration files

PR:		ports/172165
Submitted by:	crees
Feature safe:	yes
This commit is contained in:
Martin Matuska 2012-10-23 19:51:19 +00:00
parent 3029da845a
commit 797854a8df
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=306323

View File

@ -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