Date: Sat, 10 May 2003 11:33:29 +0200 From: Roman Neuhauser <neuhauser@bellavista.cz> To: freebsd-ports <freebsd-ports@freebsd.org> Subject: Re: *_DEPENDS, and getting the wrong versions Message-ID: <20030510093329.GB373@freepuppy.bellavista.cz> In-Reply-To: <20030422095141.GH13541@freepuppy.bellavista.cz> References: <20030422095141.GH13541@freepuppy.bellavista.cz>
next in thread | previous in thread | raw e-mail | index | archive | help
# 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030510093329.GB373>