Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 May 2011 19:46:53 GMT
From:      Chris Rees <utisoft@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/157163: Fix port: www/lighttpd uses CONF_FILES internally
Message-ID:  <201105181946.p4IJkr6p032744@red.freebsd.org>
Resent-Message-ID: <201105181950.p4IJoCW4033965@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201105181946.p4IJkr6p032744>