Date: Wed, 18 May 2011 19:44:25 GMT From: Chris Rees <utisoft@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/157158: Fix port: net/mpd-l2tp-ipv6pd-client uses CONF_FILES internally Message-ID: <201105181944.p4IJiPx4032473@red.freebsd.org> Resent-Message-ID: <201105181950.p4IJoAT6033859@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 157158 >Category: ports >Synopsis: Fix port: net/mpd-l2tp-ipv6pd-client 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:10 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/net/iet/Makefile,v retrieving revision 1.6 diff -u -r1.6 Makefile --- Makefile 1 Apr 2011 17:34:44 -0000 1.6 +++ Makefile 18 May 2011 19:03:18 -0000 @@ -35,8 +35,7 @@ PLIST_SUB+= KMODDIR=${KMODDIR} MAKE_ENV+= KMODDIR=${KMODDIR} DATADIR=${DATADIR} SYSDIR="${SRC_BASE}/sys" -CONFDIR= ${PREFIX}/etc/iet -CONF_FILES= ietd.conf initiators.allow initiators.deny targets.allow +IET_CONF_FILES= ietd.conf initiators.allow initiators.deny targets.allow .if !exists(${SRC_BASE}/sys/Makefile) IGNORE= requires kernel sources to build @@ -49,11 +48,11 @@ .endif pre-install: - ${MKDIR} ${DATADIR} ${KMODDIR} ${CONFDIR} + ${MKDIR} ${DATADIR} ${KMODDIR} ${ETCDIR} post-install: -.for f in ${CONF_FILES} - @[ -f ${CONFDIR}/${f} ] || ${CP} ${DATADIR}/${f} ${CONFDIR}/ +.for f in ${IET_CONF_FILES} + @[ -f ${ETCDIR}/${f} ] || ${CP} ${DATADIR}/${f} ${ETCDIR}/ .endfor .include <bsd.port.post.mk> >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201105181944.p4IJiPx4032473>