Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Sep 2019 07:23:01 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r352121 - head/usr.sbin/apmd
Message-ID:  <201909100723.x8A7N1lf085092@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
 



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