From owner-freebsd-ports@FreeBSD.ORG Sat Oct 28 13:05:06 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 4AFD416A417 for ; Sat, 28 Oct 2006 13:05:06 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id A0C0443D6E for ; Sat, 28 Oct 2006 13:04:46 +0000 (GMT) (envelope-from avg@icyb.net.ua) Received: from [212.40.38.87] (oddity-e.topspin.kiev.ua [212.40.38.87]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id QAA09606; Sat, 28 Oct 2006 16:04:41 +0300 (EEST) (envelope-from avg@icyb.net.ua) Message-ID: <45435569.3020305@icyb.net.ua> Date: Sat, 28 Oct 2006 16:04:41 +0300 From: Andriy Gapon User-Agent: Thunderbird 1.5.0.7 (X11/20061017) MIME-Version: 1.0 To: freebsd-ports@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: Mikhail Teterin , Kris Kennaway Subject: festival+OGI brokenness: reason found 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: Sat, 28 Oct 2006 13:05:06 -0000 I think I found a reason why build of audio/festival+OGI touches LOCALBASE fs before installation (during regular build). I think it is the following line in speech_tools/config/rules/install.mak: PROJECT_HOME_PATH := $(shell mkdir -p $($(PROJECT_PREFIX)_HOME); cd $($(PROJECT_PREFIX)_HOME); pwd) Here $(PROJECT_PREFIX) is "FESTIVAL" and $(FESTIVAL_HOME) is assigned from $(PKG_FESTIVAL_HOME) [in festival/config/config] which passed to gmake through environment from the port's Makefile and it is ${PREFIX}/share/festival. That file, tools/config/rules/install.mak, is included into speech_tools/Makefile and thus mkdir+cd are executed by mere makefile inclusion and variable assignment. I think that this way "they" were trying to do some realpath-ish thing, but I believe that this is totally unnecessary. So, I think, that we can fix the port by changing the offending assignment to a simple: PROJECT_HOME_PATH := $($(PROJECT_PREFIX)_HOME) P.S. I see that "regular" festival is at version 1.95, maybe festival+OGI could be updated to that too ? Or is OGI stuff already integrated into festival 1.95 and this festival+OGI port is obsolete ? I am not sure that I understand how OpenBSD ports are organized, but they might have done festival+OGI 1.9.5: http://www.openbsd.org/cgi-bin/cvsweb/ports/audio/festival/ Personally I am using festival+OGI because of festvox-mwm. -- Andriy Gapon