Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Jun 2002 11:44:42 -0700
From:      Steve Kargl <sgk@troutmask.apl.washington.edu>
To:        freebsd-ports@freebsd.org
Subject:   Ports collection and FreeBSD-current
Message-ID:  <20020629114442.A84248@troutmask.apl.washington.edu>

next in thread | raw e-mail | index | archive | help
Something is really broken in the ports collection
and FreeBSD-current.  It seems that any port that
uses a GNU configure script is broken.  A typical failure
seems to be the generation of a bad config.h file.
For example, make in ports/math/gnuplot shows

checking for float.h... yes
checking for limits.h... yes
checking for locale.h... yes
checking for math.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for time.h... yes

during the configure stage.  A check of config.cache
in work/gnuplot-3.7.1/config.cache shows

ac_cv_header_float_h=${ac_cv_header_float_h=yes}

etc.

To actually build gnuplot, one needs to patch the
generated config.h file with the patch following
the .sig.

So, the questions are:
  (1) how broken is the ports collection on -current?
  (2) should it be forked for a stable and current branch?


--
steve

root[235] diff -u config.h.orig config.h
--- config.h.orig       Sat Jun 29 11:37:50 2002
+++ config.h    Sat Jun 29 11:39:58 2002
@@ -116,34 +116,34 @@
 #define HAVE_TCGETATTR 1
 
 /* Define if you have the <errno.h> header file.  */
-/* #undef HAVE_ERRNO_H */
+#define HAVE_ERRNO_H
 
 /* Define if you have the <float.h> header file.  */
-/* #undef HAVE_FLOAT_H */
+#define HAVE_FLOAT_H
 
 /* Define if you have the <libc.h> header file.  */
 /* #undef HAVE_LIBC_H */
 
 /* Define if you have the <limits.h> header file.  */
-/* #undef HAVE_LIMITS_H */
+#define HAVE_LIMITS_H
 
 /* Define if you have the <locale.h> header file.  */
-/* #undef HAVE_LOCALE_H */
+#define HAVE_LOCALE_H
 
 /* Define if you have the <malloc.h> header file.  */
 /* #undef HAVE_MALLOC_H */
 
 /* Define if you have the <math.h> header file.  */
-/* #undef HAVE_MATH_H */
+#define HAVE_MATH_H
 
 /* Define if you have the <sgtty.h> header file.  */
 /* #undef HAVE_SGTTY_H */
 
 /* Define if you have the <stdlib.h> header file.  */
-/* #undef HAVE_STDLIB_H */
+#define HAVE_STDLIB_H
 
 /* Define if you have the <string.h> header file.  */
-/* #undef HAVE_STRING_H */
+#define HAVE_STRING_H
 
 /* Define if you have the <sys/bsdtypes.h> header file.  */
 /* #undef HAVE_SYS_BSDTYPES_H */
@@ -176,7 +176,7 @@
 /* #undef HAVE_TERMIOS_H */
 
 /* Define if you have the <time.h> header file.  */
-/* #undef HAVE_TIME_H */
+#define HAVE_TIME_H
 
 /* Define if you have the <unistd.h> header file.  */
 #define HAVE_UNISTD_H 1


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020629114442.A84248>