From owner-freebsd-ports@FreeBSD.ORG Mon May 12 00:18:10 2003 Return-Path: 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 2104C37B401 for ; Mon, 12 May 2003 00:18:10 -0700 (PDT) Received: from mail.bellavista.cz (mail.bellavista.cz [213.235.167.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id C990043FDF for ; Mon, 12 May 2003 00:18:07 -0700 (PDT) (envelope-from neuhauser@bellavista.cz) Received: from freepuppy.bellavista.cz (freepuppy.bellavista.cz [10.0.0.10]) by mail.bellavista.cz (Postfix) with ESMTP id 5614D58B for ; Mon, 12 May 2003 09:18:00 +0200 (CEST) Received: by freepuppy.bellavista.cz (Postfix, from userid 1001) id 724B32FDB06; Sat, 10 May 2003 11:33:29 +0200 (CEST) Date: Sat, 10 May 2003 11:33:29 +0200 From: Roman Neuhauser To: freebsd-ports Message-ID: <20030510093329.GB373@freepuppy.bellavista.cz> Mail-Followup-To: freebsd-ports References: <20030422095141.GH13541@freepuppy.bellavista.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030422095141.GH13541@freepuppy.bellavista.cz> User-Agent: Mutt/1.5.1i Subject: Re: *_DEPENDS, and getting the wrong versions X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 May 2003 07:18:10 -0000 # neuhauser@bellavista.cz / 2003-04-22 11:51:41 +0200: > I'm proposing this "macro" to be put in bsd.port.mk: > > GET_INSTALLED_LIBRARY=myLib=`${LDCONFIG} -r | ${GREP} -Fwe l${CHECKLIB} | \ > ${SED} -E 's/^.+:-l${CHECKLIB}\.([[:digit:]]+) =>.+/\1/'`; \ > xLib=-1; for l in $${myLib}; do \ > if [ $${xLib} -lt $${l} ]; then xLib=$${l}; fi \ > done; \ > if [ -1 -eq $${xLib} ]; then xLib=${DEFLTVER}; fi; echo $${xLib} This seems to have fallen into IMO undeserved oblivion. Given that the regexp support in ${LIB_DEPENDS} only helps in a subset of the problems this "macro" solves, I'd like to get an "official" and explicit yes or no. Anyone? -- If you cc me or remove the list(s) completely I'll most likely ignore your message. see http://www.eyrie.org./~eagle/faqs/questions.html