ports/157161: Fix port: security/clamav-devel uses CONF_FILES internally
Chris Rees
utisoft at gmail.com
Wed May 18 19:50:12 UTC 2011
>Number: 157161
>Category: ports
>Synopsis: Fix port: security/clamav-devel 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:11 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/security/clamav-devel/Makefile,v
retrieving revision 1.203
diff -u -r1.203 Makefile
--- Makefile 23 Feb 2011 15:32:46 -0000 1.203
+++ Makefile 18 May 2011 18:34:47 -0000
@@ -33,7 +33,7 @@
MAKE_JOBS_SAFE= yes
USE_LDCONFIG= yes
USE_RC_SUBR= clamav-clamd clamav-freshclam
-CONF_FILES= clamd freshclam
+CLAM_CONF_FILES= clamd freshclam
LICENSE= GPLv2
@@ -164,7 +164,7 @@
.if defined(WITH_MILTER)
USE_RC_SUBR+= clamav-milter
-CONF_FILES+= clamav-milter
+CLAM_CONF_FILES+= clamav-milter
. if defined(WITH_LDAP) && exists(${LOCALBASE}/lib/libldap.so)
USE_OPENLDAP= yes
LDFLAGS+= -lldap
@@ -237,7 +237,7 @@
post-install:
${INSTALL_DATA} ${WRKSRC}/clamav-config.h ${PREFIX}/include
-.for c in ${CONF_FILES}
+.for c in ${CLAM_CONF_FILES}
@[ -f ${PREFIX}/etc/${c}.conf ] || \
${CP} -v ${PREFIX}/etc/${c}.conf.default ${PREFIX}/etc/${c}.conf
.endfor
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list