svn commit: r352121 - head/usr.sbin/apmd

Baptiste Daroussin bapt at FreeBSD.org
Tue Sep 10 07:23:02 UTC 2019


Author: bapt
Date: Tue Sep 10 07:23:01 2019
New Revision: 352121
URL: https://svnweb.freebsd.org/changeset/base/352121

Log:
  Stop linking to libl by specifying we do not need yywrap
  
  MFC after:	3 days

Modified:
  head/usr.sbin/apmd/Makefile
  head/usr.sbin/apmd/apmdlex.l

Modified: head/usr.sbin/apmd/Makefile
==============================================================================
--- head/usr.sbin/apmd/Makefile	Tue Sep 10 07:20:32 2019	(r352120)
+++ head/usr.sbin/apmd/Makefile	Tue Sep 10 07:23:01 2019	(r352121)
@@ -10,8 +10,6 @@ PACKAGE=apm
 
 WARNS?=	3
 
-LIBADD=	l
-
 CFLAGS+= -I${.CURDIR}
 
 test:

Modified: head/usr.sbin/apmd/apmdlex.l
==============================================================================
--- head/usr.sbin/apmd/apmdlex.l	Tue Sep 10 07:20:32 2019	(r352120)
+++ head/usr.sbin/apmd/apmdlex.l	Tue Sep 10 07:23:01 2019	(r352121)
@@ -44,6 +44,7 @@ int first_time;
 %}
 
 /* We don't need it, avoid the warning. */
+%option noyywrap
 %option nounput
 %option noinput
 


More information about the svn-src-head mailing list