Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/bsd/ntp/lib Change the conditional from >= 45 to !=...



details:   https://anonhg.NetBSD.org/src/rev/135ef5d1903b
branches:  trunk
changeset: 805215:135ef5d1903b
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Dec 23 20:19:08 2014 +0000

description:
Change the conditional from >= 45 to != 4 to handle the non-gcc case.

diffstat:

 external/bsd/ntp/lib/libiscntp/Makefile |  4 ++--
 external/bsd/ntp/lib/libntp/Makefile    |  4 ++--
 external/bsd/ntp/lib/libopts/Makefile   |  4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)

diffs (54 lines):

diff -r c04dadf3a5e4 -r 135ef5d1903b external/bsd/ntp/lib/libiscntp/Makefile
--- a/external/bsd/ntp/lib/libiscntp/Makefile   Tue Dec 23 19:11:14 2014 +0000
+++ b/external/bsd/ntp/lib/libiscntp/Makefile   Tue Dec 23 20:19:08 2014 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.11 2014/12/23 19:04:37 christos Exp $
+#      $NetBSD: Makefile,v 1.12 2014/12/23 20:19:08 christos Exp $
 
 LIBISPRIVATE=yes
 
@@ -44,7 +44,7 @@
         time.c                     \
         sockaddr.c
 
-.if ${HAVE_GCC} >= 45
+.if ${HAVE_GCC} != 4
 COPTS.log.c+=  -Wno-error=format-nonliteral
 .endif
 
diff -r c04dadf3a5e4 -r 135ef5d1903b external/bsd/ntp/lib/libntp/Makefile
--- a/external/bsd/ntp/lib/libntp/Makefile      Tue Dec 23 19:11:14 2014 +0000
+++ b/external/bsd/ntp/lib/libntp/Makefile      Tue Dec 23 20:19:08 2014 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.15 2014/12/23 19:04:18 christos Exp $
+#      $NetBSD: Makefile,v 1.16 2014/12/23 20:19:08 christos Exp $
 
 LIBISPRIVATE=yes
 
@@ -79,7 +79,7 @@
 
 CPPFLAGS+= -I${IDIST}/sntp/libopts
 
-.if ${HAVE_GCC} >= 45
+.if ${HAVE_GCC} != 4
 COPTS.msyslog.c+=      -Wno-error=format-nonliteral
 .else
 COPTS.systime.c+=      -Wno-uninitialized
diff -r c04dadf3a5e4 -r 135ef5d1903b external/bsd/ntp/lib/libopts/Makefile
--- a/external/bsd/ntp/lib/libopts/Makefile     Tue Dec 23 19:11:14 2014 +0000
+++ b/external/bsd/ntp/lib/libopts/Makefile     Tue Dec 23 20:19:08 2014 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.11 2014/12/23 19:05:58 christos Exp $
+#      $NetBSD: Makefile,v 1.12 2014/12/23 20:19:08 christos Exp $
 
 LIBISPRIVATE=yes
 
@@ -17,7 +17,7 @@
 SRCS=libopts.c
 
 COPTS.libopts.c += -DPOSIX_SHELL="\"/bin/sh\"" -Wno-format-nonliteral
-.if ${HAVE_GCC} >= 45
+.if ${HAVE_GCC} != 4
 COPTS.libopts.c+=      ${${ACTIVE_CC} == "gcc":? -Wno-format-contains-nul :}
 .else
 COPTS.libopts.c+=      -Wno-error



Home | Main Index | Thread Index | Old Index