From 7305bcf9132c83752b5bd9ffb86dfa22967b5830 Mon Sep 17 00:00:00 2001 From: bapt Date: Thu, 12 Sep 2019 15:44:53 +0000 Subject: [PATCH] Remove useless extra definition of libedit flags Note that all the line editor part is done in the libntp --- usr.sbin/ntp/ntpdc/Makefile | 2 -- usr.sbin/ntp/ntpq/Makefile | 3 --- 2 files changed, 5 deletions(-) diff --git a/usr.sbin/ntp/ntpdc/Makefile b/usr.sbin/ntp/ntpdc/Makefile index 3406e5015d1..1e363a3e2a8 100644 --- a/usr.sbin/ntp/ntpdc/Makefile +++ b/usr.sbin/ntp/ntpdc/Makefile @@ -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 diff --git a/usr.sbin/ntp/ntpq/Makefile b/usr.sbin/ntp/ntpq/Makefile index 9435d224ebd..3efa1e149a5 100644 --- a/usr.sbin/ntp/ntpq/Makefile +++ b/usr.sbin/ntp/ntpq/Makefile @@ -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: -- 2.39.5