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;
-
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to