From owner-freebsd-ports@FreeBSD.ORG Tue Mar 14 10:31:36 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 163A516A401 for ; Tue, 14 Mar 2006 10:31:36 +0000 (UTC) (envelope-from edwin@mavetju.org) Received: from mail2out.barnet.com.au (mail2out.barnet.com.au [202.83.176.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8B2C443D4C for ; Tue, 14 Mar 2006 10:31:34 +0000 (GMT) (envelope-from edwin@mavetju.org) Received: by mail2out.barnet.com.au (Postfix, from userid 27) id 0C1807073C9; Tue, 14 Mar 2006 21:31:33 +1100 (EST) X-Viruscan-Id: <44169B84000116DCA16AD8@BarNet> Received: from mail2-auth.barnet.com.au (mail2.barnet.com.au [202.83.176.13]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.barnet.com.au", Issuer "BarNet Root Certificate Authority" (verified OK)) by mail2.barnet.com.au (Postfix) with ESMTP id CA08D7073C5; Tue, 14 Mar 2006 21:31:31 +1100 (EST) Received: from k7.mavetju (edwin-3.int.barnet.com.au [10.10.12.2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mail2-auth.barnet.com.au (Postfix) with ESMTP id 126867073B0; Tue, 14 Mar 2006 21:31:30 +1100 (EST) Received: by k7.mavetju (Postfix, from userid 1001) id 062A3265; Tue, 14 Mar 2006 21:31:30 +1100 (EST) Date: Tue, 14 Mar 2006 21:31:30 +1100 From: Edwin Groothuis To: freebsd-ports@freebsd.org Message-ID: <20060314103129.GA953@k7.mavetju> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i Cc: steve@energistic.com Subject: Strange pwlib common.mak experience 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: Tue, 14 Mar 2006 10:31:36 -0000 Hi, I'm trying to compile OPAL (Open Phone Abstraction Library, available from http://www.mavetju.org/~edwin/opal.shar and pwlib.shar). Everything compiles fine, but at the end it says... gmake[1]: Entering directory `/usr/home/edwin/cvs/ports/NEW/opal/work/opal-2.2.0' set -e; for i in /usr/home/edwin/cvs/ports/NEW/opal/work/opal-2.2.0 /usr/local/share/pwlib/; do gmake -C $i debugdepend debug; done gmake[2]: Entering directory `/usr/home/edwin/cvs/ports/NEW/opal/work/opal-2.2.0' Created dependencies. set -e; set -e; gmake[2]: Leaving directory `/usr/home/edwin/cvs/ports/NEW/opal/work/opal-2.2.0' gmake[2]: Entering directory `/usr/local/share/pwlib' gmake[2]: *** No rule to make target `debugdepend'. Stop. gmake[2]: Leaving directory `/usr/local/share/pwlib' gmake[1]: *** [libs] Error 2 What? Who? Where? Why is it going to /usr/local/share/pwlib. A quick check later and it seems that the inclusion of /usr/local/share/pwlib//make/common.mak, the definition of LIBDIRS in there and the executing of "gmake -C $i debugdepend debug" there confuses somewhere the whole system. Is there somebody with a little bit more clue than me who understands what is going wrong here and how to resolve it? Edwin -- Edwin Groothuis | Personal website: http://www.mavetju.org edwin@mavetju.org | Weblog: http://weblog.barnet.com.au/edwin/