From owner-freebsd-ports-bugs@FreeBSD.ORG Wed May 18 19:50:10 2011 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EBF38106566B for ; Wed, 18 May 2011 19:50:10 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id B19608FC19 for ; Wed, 18 May 2011 19:50:10 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p4IJoAGF033851 for ; Wed, 18 May 2011 19:50:10 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p4IJoAZa033850; Wed, 18 May 2011 19:50:10 GMT (envelope-from gnats) Resent-Date: Wed, 18 May 2011 19:50:10 GMT Resent-Message-Id: <201105181950.p4IJoAZa033850@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Chris Rees Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2C23E106566C for ; Wed, 18 May 2011 19:43:57 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 1E1558FC16 for ; Wed, 18 May 2011 19:43:57 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p4IJhu9R032399 for ; Wed, 18 May 2011 19:43:56 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id p4IJhu3w032398; Wed, 18 May 2011 19:43:56 GMT (envelope-from nobody) Message-Id: <201105181943.p4IJhu3w032398@red.freebsd.org> Date: Wed, 18 May 2011 19:43:56 GMT From: Chris Rees To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/157157: Fix port: net/iet uses CONF_FILES internally X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 May 2011 19:50:11 -0000 >Number: 157157 >Category: ports >Synopsis: Fix port: net/iet 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 >Release-Note: >Audit-Trail: >Unformatted: