Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Feb 1996 13:49:31 +0000 (GMT)
From:      "Adam David" <adam@veda.is>
To:        freebsd-ports@freebsd.org
Subject:   LIB_DEPENDS
Message-ID:  <199602121349.NAA00624@veda.is>

next in thread | raw e-mail | index | archive | help
LIB_DEPENDS currently requires "\\." instead of the simpler "." because in the
lib_depends: target, the string is passed to grep and the "." therefore needs
to be escaped. This produces bogus output such as the following:

===>  ssh-1.2.12.92 depends on shared library: z\.0\. - not found
===>  Verifying build for z\.0\. in /usr/ports/devel/libz

Since there is no need to handle regular expressions for the purpose intended
here, would it not make better sense to use fgrep instead of grep and do away
with this extra complication and bogosity?

--
Adam David <adam@veda.is>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199602121349.NAA00624>