svn commit: r352247 - in head/usr.sbin/ntp: ntpdc ntpq

Baptiste Daroussin bapt at FreeBSD.org
Thu Sep 12 15:44:54 UTC 2019


Author: bapt
Date: Thu Sep 12 15:44:53 2019
New Revision: 352247
URL: https://svnweb.freebsd.org/changeset/base/352247

Log:
  Remove useless extra definition of libedit flags
  
  Note that all the line editor part is done in the libntp

Modified:
  head/usr.sbin/ntp/ntpdc/Makefile
  head/usr.sbin/ntp/ntpq/Makefile

Modified: head/usr.sbin/ntp/ntpdc/Makefile
==============================================================================
--- head/usr.sbin/ntp/ntpdc/Makefile	Thu Sep 12 15:36:48 2019	(r352246)
+++ head/usr.sbin/ntp/ntpdc/Makefile	Thu Sep 12 15:44:53 2019	(r352247)
@@ -18,8 +18,6 @@ CFLAGS+= -I${SRCTOP}/contrib/ntp/include \
 	-I${.CURDIR:H} -I${.CURDIR}
 
 LIBADD=	edit ntp m opts pthread
-CFLAGS+=	-DHAVE_LIBEDIT -DHAVE_READLINE_READLINE_H \
-		-I${SYSROOT:U${DESTDIR}}/${INCLUDEDIR}/edit
 
 .if ${MK_OPENSSL} != "no"
 LIBADD+=	crypto

Modified: head/usr.sbin/ntp/ntpq/Makefile
==============================================================================
--- head/usr.sbin/ntp/ntpq/Makefile	Thu Sep 12 15:36:48 2019	(r352246)
+++ head/usr.sbin/ntp/ntpq/Makefile	Thu Sep 12 15:44:53 2019	(r352247)
@@ -28,9 +28,6 @@ LIBADD+=	crypto
 LIBADD+=	md
 .endif
 
-CFLAGS+=	-DHAVE_LIBEDIT -DHAVE_READLINE_READLINE_H \
-		-I${SYSROOT:U${DESTDIR}}/${INCLUDEDIR}/edit
-
 CLEANFILES+= .version version.c
 
 version.c:


More information about the svn-src-all mailing list