Source-Changes-HG archive

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

[src/trunk]: src Revert away from automatically generating port_ipv6.h, and i...



details:   https://anonhg.NetBSD.org/src/rev/923a46dab8ed
branches:  trunk
changeset: 485822:923a46dab8ed
user:      he <he%NetBSD.org@localhost>
date:      Sat May 06 16:07:42 2000 +0000

description:
Revert away from automatically generating port_ipv6.h, and install
a static once-generated version instead.  We know we have IPv6
headers available here.

The probing was problematical for several reasons:
 o it probed the host headers, not the headers in the build or DESTDIR
   tree (could be fixed in another way)
 o the probe_ipv6 script mucks with PATH, which would be problematical
   for cross compilation.

diffstat:

 dist/bind/include/port_ipv6.h |   9 +++++++++
 usr.sbin/bind/lib/Makefile    |  13 +------------
 2 files changed, 10 insertions(+), 12 deletions(-)

diffs (38 lines):

diff -r 18267cb7c5ee -r 923a46dab8ed dist/bind/include/port_ipv6.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/dist/bind/include/port_ipv6.h     Sat May 06 16:07:42 2000 +0000
@@ -0,0 +1,9 @@
+
+/* This file is automatically generated. Do Not Edit. */
+
+#ifndef port_ipv6_h
+#define port_ipv6_h
+
+#define HAS_INET6_STRUCTS
+
+#endif
diff -r 18267cb7c5ee -r 923a46dab8ed usr.sbin/bind/lib/Makefile
--- a/usr.sbin/bind/lib/Makefile        Sat May 06 15:39:02 2000 +0000
+++ b/usr.sbin/bind/lib/Makefile        Sat May 06 16:07:42 2000 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.8 2000/03/01 10:50:02 itojun Exp $
+#      $NetBSD: Makefile,v 1.9 2000/05/06 16:07:43 he Exp $
 
 LIB=bind
 
@@ -55,15 +55,4 @@
 # only needed during build
 libinstall::
 
-port_ipv6.h:
-       env CC="${CC}" CPPFLAGS="${CPPFLAGS}" /bin/sh \
-       ${BIND_DIST_DIR}/bin/probe_ipv6
-
-CLEANFILES+=port_ipv6.h
-
-# mention explicit dependency, so port_ipv6.h will appear timely
-res_debug.c: port_ipv6.h
-
 .include <bsd.lib.mk>
-
-${OBJS}: port_ipv6.h



Home | Main Index | Thread Index | Old Index