diff options
author | roberto <roberto@FreeBSD.org> | 2008-08-22 16:00:48 +0000 |
---|---|---|
committer | roberto <roberto@FreeBSD.org> | 2008-08-22 16:00:48 +0000 |
commit | e01fe39f04056ee9114cad5f8fcceafa3856c80c (patch) | |
tree | 09f1e02ba3375bb9d3a329705c08f20103f72e74 /usr.sbin/ntp/sntp | |
parent | b85c7169a740b2edf0106ad59fdaa1b0160f823c (diff) | |
download | FreeBSD-src-e01fe39f04056ee9114cad5f8fcceafa3856c80c.zip FreeBSD-src-e01fe39f04056ee9114cad5f8fcceafa3856c80c.tar.gz |
Update the various files to sync with vendor import of 4.2.4p5.
sntp includes a copy of libopts in itself in vendor code, rewrite the
Makefile to compile and use only one copy. It is an internal library, not
installed.
MFC after: 2 weeks
Diffstat (limited to 'usr.sbin/ntp/sntp')
-rw-r--r-- | usr.sbin/ntp/sntp/Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.sbin/ntp/sntp/Makefile b/usr.sbin/ntp/sntp/Makefile index f7a9eb9..3bc9084 100644 --- a/usr.sbin/ntp/sntp/Makefile +++ b/usr.sbin/ntp/sntp/Makefile @@ -7,9 +7,10 @@ NO_MAN= SRCS= internet.c main.c socket.c timing.c unix.c CFLAGS+= -I${.CURDIR}/../../../contrib/ntp/include -I${.CURDIR}/../ \ - -DPACKAGE=\"sntp\" -DVERSION=\"1.6\" + -DPACKAGE=\"sntp\" -DVERSION=\"1.6\" \ + -I${.CURDIR}/../../../contrib/ntp/libopts -DPADD= ${LIBM} -LDADD= -lm +DPADD= ${LIBM} ${LIBOPTS} +LDADD= -lm ${LIBOPTS} .include <bsd.prog.mk> |