svn commit: r306323 - head/www/lighttpd

Martin Matuska mm at FreeBSD.org
Tue Oct 23 19:51:20 UTC 2012


Author: mm
Date: Tue Oct 23 19:51:19 2012
New Revision: 306323
URL: http://svn.freebsd.org/changeset/ports/306323

Log:
  Fix python path in configuration files
  
  PR:		ports/172165
  Submitted by:	crees
  Feature safe:	yes

Modified:
  head/www/lighttpd/Makefile

Modified: head/www/lighttpd/Makefile
==============================================================================
--- head/www/lighttpd/Makefile	Tue Oct 23 19:04:19 2012	(r306322)
+++ head/www/lighttpd/Makefile	Tue Oct 23 19:51:19 2012	(r306323)
@@ -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


More information about the svn-ports-all mailing list