From owner-freebsd-ports Sat May 24 23:33:49 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id XAA10820 for ports-outgoing; Sat, 24 May 1997 23:33:49 -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 XAA10815 for ; Sat, 24 May 1997 23:33:47 -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 CAA14499; Sun, 25 May 1997 02:33:58 -0400 (EDT) Received: from localhost (ac199@localhost) by james.freenet.hamilton.on.ca (8.8.5/8.8.5) with SMTP id CAA02391; Sun, 25 May 1997 02:36:17 -0400 (EDT) X-Authentication-Warning: james.freenet.hamilton.on.ca: ac199 owned process doing -bs Date: Sun, 25 May 1997 02:36:16 -0400 (EDT) From: Tim Vanderhoek X-Sender: ac199@james.freenet.hamilton.on.ca Reply-To: Tim Vanderhoek To: "Pedro F. Giffuni" cc: Tim Vanderhoek , ports@FreeBSD.ORG Subject: Re: Porting (stupid) doubt In-Reply-To: <33879642.5DAD@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: > 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