From owner-freebsd-current Fri Jun 21 16:11:46 2002 Delivered-To: freebsd-current@freebsd.org Received: from corbulon.video-collage.com (corbulon.video-collage.com [64.35.99.179]) by hub.freebsd.org (Postfix) with ESMTP id 6EFC137B40A; Fri, 21 Jun 2002 16:11:39 -0700 (PDT) Received: from misha (250-217.customer.cloud9.net [168.100.250.217]) by corbulon.video-collage.com (8.12.2/8.12.2) with ESMTP id g5LNBVQC066708 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=FAIL); Fri, 21 Jun 2002 19:11:37 -0400 (EDT) (envelope-from mi+mx@aldan.algebra.com) X-Authentication-Warning: corbulon.video-collage.com: Host 250-217.customer.cloud9.net [168.100.250.217] claimed to be misha Content-Type: text/plain; charset="koi8-u" From: Mikhail Teterin Organization: Virtual Estates, Inc. To: current@FreeBSD.org, "David O'Brien" Subject: Re: recent bsd.lib.mk changes Date: Fri, 21 Jun 2002 19:11:16 -0400 X-Mailer: KMail [version 1.4] Cc: ru@FreeBSD.org References: <200206211429.33406.mi+mx@aldan.algebra.com> <200206211746.17877.mi+mx@aldan.algebra.com> <20020621150241.A34548@dragon.nuxi.com> In-Reply-To: <20020621150241.A34548@dragon.nuxi.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200206211911.16083.mi+mx@aldan.algebra.com> X-Scanned-By: MIMEDefang 2.15 (www dot roaringpenguin dot com slash mimedefang) Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Friday 21 June 2002 06:02 pm, David O'Brien wrote: = On Fri, Jun 21, 2002 at 05:46:17PM -0400, Mikhail Teterin wrote: = > Why can't we have some way to explicitly list what is and what is not = > needed? = = Feel free to send a patch adding "ONLYSHAREDLIBS". "INTERNALLIB" in no = logical way I can think of would lead someone to think that only shared = libs should be built and they should be installed. Here I agree completely. I have always been puzzled by the naming of this knob. But it was the only way to achieve the goal. It is now a different knob entirely -- but under the same name, which is quite confusing. I am thinking, however, of something explicit like: WANT_SHARED_LIB ?= yes WANT_STATIC_LIB ?= yes WANT_PIC_LIB ?= yes with the existing NOPROFILE and others to remain as "compatibility" interfaces for a while, for example: .ifndef WANT_PIC_LIB .ifndef NOPROFILE WANT_PIC_LIB = yes .else WANT_PIC_LIB = no .endif .endif The last change broke not only some ports, but who knows how many personal projects, which where doing the Right Thing (IMO) and used the bsd.*.mk I will not have time to make a patch in a while :-\, however... Any way to determine quickly from inside the Makefile, which version of the bsd.lib.mk is installed? -mi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message