Date: Wed, 18 May 2011 19:46:04 GMT From: Chris Rees <utisoft@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/157161: Fix port: security/clamav-devel uses CONF_FILES internally Message-ID: <201105181946.p4IJk4f4032647@red.freebsd.org> Resent-Message-ID: <201105181950.p4IJoBVt033944@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201105181946.p4IJk4f4032647>