Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Jul 2005 15:57:05 -0400
From:      Mikhail Teterin <Mikhail.Teterin@murex.com>
To:        "Jeremy Messenger" <mezz7@cox.net>
Cc:        Alexey Dokuchaev <danfe@freebsd.org>, doc@freebsd.org, cvs-all@freebsd.org, ports-committers@freebsd.org, Pav Lucistnik <pav@freebsd.org>, knu@freebsd.org, Alexander Leidinger <Alexander@leidinger.net>, cvs-ports@freebsd.org
Subject:   Re: cvs commit: ports/graphics/djvulibre Makefile ports/textproc/wordnet Makefile
Message-ID:  <200507141557.06236.Mikhail.Teterin@murex.com>
In-Reply-To: <op.stw3utta9aq2h7@mezz.mezzweb.com>
References:  <200507132352.j6DNqtUS011697@repoman.freebsd.org> <200507141330.03721.mi%2Bmx@aldan.algebra.com> <op.stw3utta9aq2h7@mezz.mezzweb.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/makefile-depend.html#AEN1934

Your link provides an outdated example. Thanks for bringing it up. The ability 
to use regular expressions exists since:

revision 1.439
date: 2003/02/12 05:15:03;  author: knu;  state: Exp;  lines: +3 -3
Fix comment.  LIB_DEPENDS can contain extended regular expressions.

That was 2.5 years ago. Since then, there appeared special tricks in 
bsd.progs.mk, like:

revision 1.491
date: 2004/06/10 07:30:19;  author: kris;  state: Exp;  lines: +29 -30
[...]
* Support glob expressions in USE_GETTEXT to allow more flexibility
  in the face of future gratuitous library version bumps by the gettext
  developers [3]:

  USE_GETTEXT=yEs   # Works as before (case-insensitive)
  USE_GETTEXT=[5-7] # Accepts any of those libintl.so.x versions
                    # in the LIB_DEPENDS
[...]

Doc-team (CC-ed) should fix the documentation:

	-There shall be no regular expressions in this variable.
	+lib can be an extended regular expression

> BTW: portmgr, want to take care of this thread? End it now is better than  
> later.

Jeremy, all technical arguments against my idea, which you brought up 
yesterday on the gnome@ (viz. non-existent potential for API/ABI 
incompatibilities), were wrong. And now you are appealing to "authority"?.. 
Do not turn this into an ego contest.

	-mi



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