summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ntp
diff options
context:
space:
mode:
authorbrooks <brooks@FreeBSD.org>2014-07-17 18:24:34 +0000
committerbrooks <brooks@FreeBSD.org>2014-07-17 18:24:34 +0000
commitea5a037d1f7b17969046da0165700dcc51245472 (patch)
tree3ff2151befbc35e13a819af1c5dc8b2239bd1183 /usr.sbin/ntp
parent1dcd5569710eaeea64703d6bb3affedc5cc74ce1 (diff)
downloadFreeBSD-src-ea5a037d1f7b17969046da0165700dcc51245472.zip
FreeBSD-src-ea5a037d1f7b17969046da0165700dcc51245472.tar.gz
Replace all uses of libncurses and libtermcap with their wide character
variants. This allows usable file system images (i.e. those with both a shell and an editor) to be created with only one copy of the curses library. Exp-run: antoine PR: 189842 Discussed with: bapt Sponsored by: DARPA, AFRL
Diffstat (limited to 'usr.sbin/ntp')
-rw-r--r--usr.sbin/ntp/ntpdc/Makefile4
-rw-r--r--usr.sbin/ntp/ntpq/Makefile4
2 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/ntp/ntpdc/Makefile b/usr.sbin/ntp/ntpdc/Makefile
index d4ea36f..e4e8960 100644
--- a/usr.sbin/ntp/ntpdc/Makefile
+++ b/usr.sbin/ntp/ntpdc/Makefile
@@ -15,8 +15,8 @@ CFLAGS+= -I${.CURDIR}/../../../contrib/ntp/include -I${.CURDIR}/../ \
DPADD= ${LIBNTP} ${LIBM} ${LIBMD} ${LIBOPTS}
LDADD= ${LIBNTP} -lm -lmd ${LIBOPTS}
-DPADD+= ${LIBEDIT} ${LIBTERMCAP}
-LDADD+= -ledit -ltermcap
+DPADD+= ${LIBEDIT} ${LIBTERMCAPW}
+LDADD+= -ledit -ltermcapw
CFLAGS+= -DHAVE_LIBEDIT -DHAVE_READLINE_READLINE_H \
-I${DESTDIR}/${INCLUDEDIR}/edit
diff --git a/usr.sbin/ntp/ntpq/Makefile b/usr.sbin/ntp/ntpq/Makefile
index 7fcdd2b..a1ddcd4 100644
--- a/usr.sbin/ntp/ntpq/Makefile
+++ b/usr.sbin/ntp/ntpq/Makefile
@@ -17,8 +17,8 @@ CFLAGS+= -I${.CURDIR}/../../../contrib/ntp/include -I${.CURDIR}/../ \
DPADD= ${LIBNTP} ${LIBM} ${LIBMD} ${LIBOPTS}
LDADD= ${LIBNTP} -lm -lmd ${LIBOPTS}
-DPADD+= ${LIBEDIT} ${LIBTERMCAP}
-LDADD+= -ledit -ltermcap
+DPADD+= ${LIBEDIT} ${LIBTERMCAPW}
+LDADD+= -ledit -ltermcapw
CFLAGS+= -DHAVE_LIBEDIT -DHAVE_READLINE_READLINE_H \
-I${DESTDIR}/${INCLUDEDIR}/edit
OpenPOWER on IntegriCloud