Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 May 1997 02:36:16 -0400 (EDT)
From:      Tim Vanderhoek <hoek@hwcn.org>
To:        "Pedro F. Giffuni" <pgiffuni@fps.biblos.unal.edu.co>
Cc:        Tim Vanderhoek <hoek@hwcn.org>, ports@FreeBSD.ORG
Subject:   Re: Porting (stupid) doubt
Message-ID:  <Pine.GSO.3.96.970525021859.466A-100000@james.freenet.hamilton.on.ca>
In-Reply-To: <33879642.5DAD@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:

> The problem is not that one: When I type "make install" from the top
> makefile , everything builds well, but the installation breaks. I have
> to  cd to $(WRKSRC)/xbl*/ and type make install there (weird isn't it?).

Careful!  ${WRKSRC}=="work/xbl-1.00/".  Do you mean you have to
cd to ``work/xbl-1.00/xbl*/'' or ``work/xbl-1.00/'' (which is
what you have in the do-install target quoted below)?

> Perhaps something like
> ...
> do-install:
> 	@(cd work/xbl-1.00; make install)

This is what the do-install target in bsd.port.mk should be
doing...

	@(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} \
	    ${MAKE_FLAGS}  ${MAKEFILE} ${INSTALL_TARGET})

After variable-substitution, this should work-out to be something
like...

@(cd work/xbl-1.00 && env CFLAGS=-O2 make -f Makefile install)

Which is functionally equivalent to what you want.

Hmm...  I'm curious now...  :)  Do you have the port available
somewhere to grab and look at?


--
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.970525021859.466A-100000>