From owner-freebsd-ports@FreeBSD.ORG Wed Feb 15 05:32:37 2006 Return-Path: X-Original-To: ports@freebsd.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7FFE116A420 for ; Wed, 15 Feb 2006 05:32:37 +0000 (GMT) (envelope-from eol1@yahoo.com) Received: from web51908.mail.yahoo.com (web51908.mail.yahoo.com [206.190.48.71]) by mx1.FreeBSD.org (Postfix) with SMTP id 0278743D49 for ; Wed, 15 Feb 2006 05:32:36 +0000 (GMT) (envelope-from eol1@yahoo.com) Received: (qmail 52923 invoked by uid 60001); 15 Feb 2006 05:32:36 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=OgpCCjObK41ylmvNBFNSZ4SW9Lm3mGegvM1nEWLb9gammdb1IX9xbMTWumcoIktzevqVDj03SiWbV96cVnmCntBkMymepG/xZTRHwlf/28XV52El+QfALbn6HR8Tov4XqfKkwHL3z3J9HiiYwL9Rg3sFXza9j1WhILkw8PDgoOs= ; Message-ID: <20060215053236.52921.qmail@web51908.mail.yahoo.com> Received: from [62.68.76.227] by web51908.mail.yahoo.com via HTTP; Tue, 14 Feb 2006 21:32:36 PST Date: Tue, 14 Feb 2006 21:32:36 -0800 (PST) From: Peter Thoenen To: ports@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Cc: Subject: Oddity with SUB_FILES= and pkg-message.in X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: eol1@yahoo.com List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Feb 2006 05:32:37 -0000 Any reason SUB_FILES= pkg-message doesn't work? (where pkg-message.in is in ${FILESDIR}) Kicks an error "unterminated newline". Thought it was just me but noticed not a single port with pkg-message.in mods it via SUB_FILES= ... they all do the following hack: post-patch: @${SED} -e "s|%%PREFIX%%|${PREFIX}|g" \ ${FILESDIR}/pkg-message.in > ${PKGMESSAGE} Seems a undeeded hack as SUB_FILES should handle.