From owner-freebsd-ports@FreeBSD.ORG Wed Sep 1 05:27:52 2010 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4EB93106566C; Wed, 1 Sep 2010 05:27:52 +0000 (UTC) (envelope-from bf1783@googlemail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id B02478FC1B; Wed, 1 Sep 2010 05:27:51 +0000 (UTC) Received: by wyb33 with SMTP id 33so10271568wyb.13 for ; Tue, 31 Aug 2010 22:27:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:received:reply-to :in-reply-to:references:date:message-id:subject:from:to:cc :content-type; bh=Jzz3z6TqUlgXzmpU07AwQCWfNhV3pTFUrhZqkSFcFUU=; b=mZDkjatLemD2Gx3iomyHFTQzsKdt8Fcq1XrHw51WKjqjzyWhRflhpyQJSc4fxCHehu fvuokU+5SUtFYliC0GFTziGMl03oGBl+WVfrUklqRqluIvzAo/NLep71fNZM914yjLoD 89Xtp4hyDIJhng0YR/u17OLJBH8pi1NIbNArc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; b=QVgrbzxElfeZlF4aFCei0jGRhovDlfmE7xCswKXP3VlfDSPqdDq+r0nYfdc/E9JVSn IriY5lJXZeXOq56nAC9qKsxN5SNyKolkXbNKv3Ly1wB0cmJXBOIT19QNk4XMu4RVY4SV 7tzbqHl3Ac/4Pk8+hj6xzP0cu1zeq2Z/gjZn0= MIME-Version: 1.0 Received: by 10.216.157.81 with SMTP id n59mr7336317wek.84.1283318870697; Tue, 31 Aug 2010 22:27:50 -0700 (PDT) Received: by 10.216.63.146 with HTTP; Tue, 31 Aug 2010 22:27:50 -0700 (PDT) In-Reply-To: <4C7DE153.2090901@DataIX.net> References: <4C7D76A6.7080401@DataIX.net> <4C7DE153.2090901@DataIX.net> Date: Wed, 1 Sep 2010 05:27:50 +0000 Message-ID: From: "b. f." To: jhell Content-Type: text/plain; charset=ISO-8859-1 Cc: maho@freebsd.org, Scot Hetzel , freebsd-ports@freebsd.org Subject: Re: math/blas linking to gfortran with LDADD?= -lgfortran X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: bf1783@gmail.com List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Sep 2010 05:27:52 -0000 On 9/1/10, jhell wrote: > On 09/01/2010 00:58, b. f. wrote: >> No, it will still take effect, after the math/blas Makefile is parsed, >> unless _WITHOUT_SRCCONF is defined. See bsd.own.mk. > > ports(7) pulls in src.conf ??? I hope I am not understanding this right... > In this case, yes. Because math/blas is one of a few ports that takes advantage of some base system makefiles to construct binaries and libraries. It's an old port (the software was written in the 70's and it was introduced to Ports in Oct. 1994, just a few months after the Ports repository was created), and since the needed machinery had just been constructed in the base system (this was back in the days when Fortran was still in the base system, and HPC was one of the key applications), they just used that machinery, rather than reinventing the wheel. But that means that, since it uses base system makefiles, it has inevitably been subject to some of the conventions and constructs of the base system (the latest change being the userland dtrace project, which has injected a lot of ctf stuff into the makefiles in -CURRENT), as well as those of Ports. That's not altogether bad (they influence one another, as jhell's problem with an absence of profiling libraries reminds us), but it has to be handled properly. b.