Date: Sat, 3 Jan 2015 00:31:53 +0000 (UTC) From: Dag-Erling Smørgrav <des@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r276599 - head/contrib/unbound Message-ID: <201501030031.t030VrF2056649@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: des Date: Sat Jan 3 00:31:52 2015 New Revision: 276599 URL: https://svnweb.freebsd.org/changeset/base/276599 Log: Recognize the lexer and parser sources. Modified: head/contrib/unbound/freebsd-sources.pl Modified: head/contrib/unbound/freebsd-sources.pl ============================================================================== --- head/contrib/unbound/freebsd-sources.pl Sat Jan 3 00:26:21 2015 (r276598) +++ head/contrib/unbound/freebsd-sources.pl Sat Jan 3 00:31:52 2015 (r276599) @@ -51,7 +51,11 @@ sub get_sources($) { close(MAKE); chomp($objs); $objs =~ s/\.l?o\b/.c/g; - return (split(/\s+/, $objs)); + return map { + /lexer/ && s/c$/l/; + /parser/ && s/c$/y/; + $_; + } split(/\s+/, $objs); } MAIN:{ @@ -70,4 +74,3 @@ MAIN:{ } 1; -
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201501030031.t030VrF2056649>