From owner-freebsd-ports Sat May 24 16:22:15 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id QAA24884 for ports-outgoing; Sat, 24 May 1997 16:22:15 -0700 (PDT) Received: from hwcn.org (0@main.hwcn.org [199.212.94.65]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id QAA24878 for ; Sat, 24 May 1997 16:22:12 -0700 (PDT) Received: from james.freenet.hamilton.on.ca (3199@james.hwcn.org [199.212.94.66]) by hwcn.org (8.8.5/8.8.5) with ESMTP id TAA12202; Sat, 24 May 1997 19:22:35 -0400 (EDT) Received: from localhost (ac199@localhost) by james.freenet.hamilton.on.ca (8.8.5/8.8.5) with SMTP id TAA07260; Sat, 24 May 1997 19:24:49 -0400 (EDT) X-Authentication-Warning: james.freenet.hamilton.on.ca: ac199 owned process doing -bs Date: Sat, 24 May 1997 19:24:47 -0400 (EDT) From: Tim Vanderhoek X-Sender: ac199@james.freenet.hamilton.on.ca Reply-To: Tim Vanderhoek To: "Pedro F. Giffuni" cc: ports@FreeBSD.ORG Subject: Re: Porting (stupid) doubt In-Reply-To: <338755C5.3416@fps.biblos.unal.edu.co> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-ports@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Sat, 24 May 1997, Pedro F. Giffuni wrote: > I have almost finished a port of xbl (Blockout), a 3d-tetris like game. > I commented out the interactive sections in the Makefile, but the "make > install", wants to be in the source directory because it has this "cp > xbl $(PREFIX)/bin" style of commands in the Makefile. The port ends > replying "file not found" when the installation will be done. > I tried editing the source Makefile with little success; is there an > easy way of defining the dir change in the do-install of the top level > makefile. (hope I made my self clear ;-) ). Do you mean that the xbl Makefile wants to be in ${WRKSRC}/some_source_dir, but that, for the purposes of the port, you moved it to ${WRKSRC}? Rather than doing that, I would probably just leave it in ${WRKSRC}/some_source_dir, set MAKEFILE="some_source_dir/Makefile" in the port-Makefile, and then patch ${WRKSRC}/some_source_dir to include alwaysrunme:: cd some_source_dir Kludgy and hacky, but it should work... If I don't understand, feel free to clarify... :) -- Outnumbered? Maybe. Outspoken? Never! tIM...HOEk