ports/157163: Fix port: www/lighttpd uses CONF_FILES internally
Chris Rees
utisoft at gmail.com
Wed May 18 19:50:13 UTC 2011
>Number: 157163
>Category: ports
>Synopsis: Fix port: www/lighttpd uses CONF_FILES internally
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Wed May 18 19:50:12 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Chris Rees
>Release:
>Organization:
>Environment:
>Description:
As discussed on ports@ and with bapt, new variables CONF_FILES and CONF_DIRS are to be introduced to bsd.port.mk.
This causes problems in some ports, of which this is one.
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
Index: Makefile
===================================================================
RCS file: /exports/cvsroot-freebsd/ports/www/lighttpd/Makefile,v
retrieving revision 1.96
diff -u -r1.96 Makefile
--- Makefile 23 Mar 2011 15:49:11 -0000 1.96
+++ Makefile 18 May 2011 18:47:30 -0000
@@ -63,7 +63,7 @@
PORTDOCS= ${DOCS}
.endif
-CONF_FILES= lighttpd.conf modules.conf
+LIGHTTPD_CONF_FILES= lighttpd.conf modules.conf
CONFD_FILES= access_log.conf auth.conf cgi.conf cml.conf \
compress.conf debug.conf dirlisting.conf \
@@ -208,7 +208,7 @@
post-install:
@${MKDIR} ${PREFIX}/etc/lighttpd/conf.d ${PREFIX}/etc/lighttpd/vhosts.d
-.for FILE in ${CONF_FILES}
+.for FILE in ${LIGHTTPD_CONF_FILES}
@${INSTALL_DATA} ${WRKSRC}/doc/config/${FILE} \
${PREFIX}/etc/lighttpd/${FILE}.sample
.if !exists(${PREFIX}/etc/lighttpd/${FILE})
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list