]> xenbits.xensource.com Git - freebsd.git/commitdiff
Remove useless extra definition of libedit flags
authorbapt <bapt@FreeBSD.org>
Thu, 12 Sep 2019 15:44:53 +0000 (15:44 +0000)
committerbapt <bapt@FreeBSD.org>
Thu, 12 Sep 2019 15:44:53 +0000 (15:44 +0000)
Note that all the line editor part is done in the libntp

usr.sbin/ntp/ntpdc/Makefile
usr.sbin/ntp/ntpq/Makefile

index 3406e5015d15dae0b230f4d55a13ca39ed008010..1e363a3e2a8324451fe8d95f8ff84d716eb93b5b 100644 (file)
@@ -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
index 9435d224ebd51a7aa9f93d855e9e8687a116c114..3efa1e149a5dd9195f2666ae7a5ff8b9cc61bf39 100644 (file)
@@ -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: