From owner-freebsd-ports@FreeBSD.ORG Mon Aug 7 10:05:41 2006 Return-Path: X-Original-To: freebsd-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 4922616A4DD for ; Mon, 7 Aug 2006 10:05:41 +0000 (UTC) (envelope-from LoN_Kamikaze@gmx.de) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 5DE8F43D46 for ; Mon, 7 Aug 2006 10:05:40 +0000 (GMT) (envelope-from LoN_Kamikaze@gmx.de) Received: (qmail invoked by alias); 07 Aug 2006 10:05:38 -0000 Received: from p54A7FAAC.dip.t-dialin.net (EHLO [192.168.0.12]) [84.167.250.172] by mail.gmx.net (mp037) with SMTP; 07 Aug 2006 12:05:38 +0200 X-Authenticated: #5465401 Message-ID: <44D71068.1000102@gmx.de> Date: Mon, 07 Aug 2006 12:05:28 +0200 From: "[LoN]Kamikaze" Organization: Lords of Nightmare User-Agent: Thunderbird 1.5.0.5 (X11/20060729) MIME-Version: 1.0 To: freebsd-ports@freebsd.org References: <44D70E2F.8060008@gmx.de> <20060807100144.GG38697@graf.pompo.net> In-Reply-To: <20060807100144.GG38697@graf.pompo.net> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Y-GMX-Trusted: 0 Subject: Re: Ports defying WRKDIRPREFIX X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Aug 2006 10:05:41 -0000 Thierry Thomas wrote: > Le Lun 7 aoû 06 à 11:55:59 +0200, [LoN]Kamikaze > écrivait : >> It has come to my attention that the line >> >> ${CAT} pkg-message >> >> breaks when WRKDIRPREFIX is set, because the shell command will be invoked >> from WRKDIRPREFIX/PORTSDIR/category/port instead of PORTSDIR/category/port >> >> I think this is a new problem in bsd.port.mk, but I am not certain about >> this. A quick solution is to replace the line with >> >> ${CAT} ${.CURDIR}/pkg-message > > @${CAT} ${PKGMESSAGE} > should be sufficient. I wonder why this is not documented in chapter 8.1 of the Porter's Handbook.