From owner-freebsd-ports Mon Apr 17 15:36:32 2000 Delivered-To: freebsd-ports@freebsd.org Received: from nagual.pp.ru (pobrecita.freebsd.ru [194.87.13.42]) by hub.freebsd.org (Postfix) with ESMTP id 6ED7337B8C2; Mon, 17 Apr 2000 15:36:28 -0700 (PDT) (envelope-from ache@nagual.pp.ru) Received: (from ache@localhost) by nagual.pp.ru (8.9.3/8.9.3) id CAA56943; Tue, 18 Apr 2000 02:36:25 +0400 (MSD) (envelope-from ache) Date: Tue, 18 Apr 2000 02:36:20 +0400 From: "Andrey A. Chernov" To: Satoshi - Ports Wraith - Asami Cc: ports@freebsd.org Subject: Re: LIB_DEPENDS runs too early Message-ID: <20000418023619.A56894@nagual.pp.ru> References: <20000416053046.A27753@nagual.pp.ru> <20000416204434.A36898@nagual.pp.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <20000416204434.A36898@nagual.pp.ru>; from ache@nagual.pp.ru on Sun, Apr 16, 2000 at 08:44:34PM +0400 Organization: Biomechanoid Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Here is the patch for review. I left misc-depends in "extract" stage to allow extraction programs and move build-depends and lib-depends to "configure" stage. Extract must not depend in any way of tools and libraries needed for building. Please review this patch and tell me if it breaks something or commit it. Thanks. --- bsd.port.mk.bak Tue Apr 18 02:26:20 2000 +++ bsd.port.mk Tue Apr 18 02:28:11 2000 @@ -1848,7 +1848,10 @@ .endif .if make(real-extract) @cd ${.CURDIR} && ${MAKE} ${__softMAKEFLAGS} checksum REAL_EXTRACT=yes - @cd ${.CURDIR} && ${MAKE} ${__softMAKEFLAGS} build-depends lib-depends misc-depends + @cd ${.CURDIR} && ${MAKE} ${__softMAKEFLAGS} misc-depends +.endif +.if make(real-configure) + @cd ${.CURDIR} && ${MAKE} ${__softMAKEFLAGS} build-depends lib-depends .endif .if make(real-install) @cd ${.CURDIR} && ${MAKE} ${__softMAKEFLAGS} check-categories -- Andrey A. Chernov http://nagual.pp.ru/~ache/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message