Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 May 1997 19:24:47 -0400 (EDT)
From:      Tim Vanderhoek <hoek@hwcn.org>
To:        "Pedro F. Giffuni" <pgiffuni@fps.biblos.unal.edu.co>
Cc:        ports@FreeBSD.ORG
Subject:   Re: Porting (stupid) doubt 
Message-ID:  <Pine.GSO.3.96.970524190726.3257A-100000@james.freenet.hamilton.on.ca>
In-Reply-To: <338755C5.3416@fps.biblos.unal.edu.co>

next in thread | previous in thread | raw e-mail | index | archive | help
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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.3.96.970524190726.3257A-100000>