Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Dec 2000 12:40:03 -0800 (PST)
From:      Marc van Woerkom <marc.vanwoerkom@science-factory.com>
To:        freebsd-ports@FreeBSD.org
Subject:   Re: ports/23301: ports/graphics/opendx does not compile due to bug in package
Message-ID:  <200012052040.eB5Ke3L28035@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/23301; it has been noted by GNATS.

From: Marc van Woerkom <marc.vanwoerkom@science-factory.com>
To: freebsd-gnats-submit@FreeBSD.org
Cc: 3d@FreeBSD.org
Subject: Re: ports/23301: ports/graphics/opendx does not compile due to bug in package
Date: Tue, 5 Dec 2000 21:30:48 +0100 (CET)

 OK, it compiles through with the aforementioned hack
 to aclocal.m4.
 
 So these two patches to be put in ports/graphics/opendx/files should 
 suffice for now:
 
 ----------------------------------------------------------------------
 
 --- aclocal.m4.orig	Fri Mar 31 22:06:54 2000
 +++ aclocal.m4	Tue Dec  5 21:18:30 2000
 @@ -717,7 +717,7 @@
  AC_CACHE_VAL(ac_cv_type_$1,
  [AC_EGREP_CPP(dnl
  changequote(<<,>>)dnl
 -<<$1[^a-zA-Z_0-9]>>dnl
 +<<typedef.*[^a-zA-Z_0-9]$1[\\t ]*;>>dnl
  changequote([,]), [#include <sys/types.h>
  #if STDC_HEADERS
  #include <stdlib.h>
 
 ----------------------------------------------------------------------
 
 --- configure.orig	Fri Mar 31 22:07:21 2000
 +++ configure	Tue Dec  5 21:18:25 2000
 @@ -7729,7 +7729,7 @@
  #endif
  EOF
  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 -  egrep "caddr_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
 +  egrep "typedef.*[^a-zA-Z_0-9]caddr_t[\\t ]*;" >/dev/null 2>&1; then
    rm -rf conftest*
    ac_cv_type_caddr_t=yes
  else
 @@ -7765,7 +7765,7 @@
  #endif
  EOF
  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 -  egrep "uint[^a-zA-Z_0-9]" >/dev/null 2>&1; then
 +  egrep "typedef.*[^a-zA-Z_0-9]uint[\\t ]*;" >/dev/null 2>&1; then
    rm -rf conftest*
    ac_cv_type_uint=yes
  else
 @@ -7801,7 +7801,7 @@
  #endif
  EOF
  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 -  egrep "byte[^a-zA-Z_0-9]" >/dev/null 2>&1; then
 +  egrep "typedef.*[^a-zA-Z_0-9]byte[\\t ]*;" >/dev/null 2>&1; then
    rm -rf conftest*
    ac_cv_type_byte=yes
  else
 @@ -7837,7 +7837,7 @@
  #endif
  EOF
  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 -  egrep "ubyte[^a-zA-Z_0-9]" >/dev/null 2>&1; then
 +  egrep "typedef.*[^a-zA-Z_0-9]ubyte[\\t ]*;" >/dev/null 2>&1; then
    rm -rf conftest*
    ac_cv_type_ubyte=yes
  else
 @@ -7873,7 +7873,7 @@
  #endif
  EOF
  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 -  egrep "short[^a-zA-Z_0-9]" >/dev/null 2>&1; then
 +  egrep "typedef.*[^a-zA-Z_0-9]short[\\t ]*;" >/dev/null 2>&1; then
    rm -rf conftest*
    ac_cv_type_short=yes
  else
 @@ -7909,7 +7909,7 @@
  #endif
  EOF
  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 -  egrep "ushort[^a-zA-Z_0-9]" >/dev/null 2>&1; then
 +  egrep "typedef.*[^a-zA-Z_0-9]ushort[\\t ]*;" >/dev/null 2>&1; then
    rm -rf conftest*
    ac_cv_type_ushort=yes
  else
 @@ -7945,7 +7945,7 @@
  #endif
  EOF
  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 -  egrep "ulong[^a-zA-Z_0-9]" >/dev/null 2>&1; then
 +  egrep "typedef.*[^a-zA-Z_0-9]ulong[\\t ]*;" >/dev/null 2>&1; then
    rm -rf conftest*
    ac_cv_type_ulong=yes
  else
 @@ -7981,7 +7981,7 @@
  #endif
  EOF
  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 -  egrep "int8[^a-zA-Z_0-9]" >/dev/null 2>&1; then
 +  egrep "typedef.*[^a-zA-Z_0-9]int8[\\t ]*;" >/dev/null 2>&1; then
    rm -rf conftest*
    ac_cv_type_int8=yes
  else
 @@ -8017,7 +8017,7 @@
  #endif
  EOF
  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 -  egrep "uint8[^a-zA-Z_0-9]" >/dev/null 2>&1; then
 +  egrep "typedef.*[^a-zA-Z_0-9]uint8[\\t ]*;" >/dev/null 2>&1; then
    rm -rf conftest*
    ac_cv_type_uint8=yes
  else
 @@ -8053,7 +8053,7 @@
  #endif
  EOF
  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 -  egrep "int16[^a-zA-Z_0-9]" >/dev/null 2>&1; then
 +  egrep "typedef.*[^a-zA-Z_0-9]int16[\\t ]*;" >/dev/null 2>&1; then
    rm -rf conftest*
    ac_cv_type_int16=yes
  else
 @@ -8089,7 +8089,7 @@
  #endif
  EOF
  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 -  egrep "uint16[^a-zA-Z_0-9]" >/dev/null 2>&1; then
 +  egrep "typedef.*[^a-zA-Z_0-9]uint16[\\t ]*;" >/dev/null 2>&1; then
    rm -rf conftest*
    ac_cv_type_uint16=yes
  else
 @@ -8125,7 +8125,7 @@
  #endif
  EOF
  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 -  egrep "int32[^a-zA-Z_0-9]" >/dev/null 2>&1; then
 +  egrep "typedef.*[^a-zA-Z_0-9]int32[\\t ]*;" >/dev/null 2>&1; then
    rm -rf conftest*
    ac_cv_type_int32=yes
  else
 @@ -8161,7 +8161,7 @@
  #endif
  EOF
  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 -  egrep "uint32[^a-zA-Z_0-9]" >/dev/null 2>&1; then
 +  egrep "typedef.*[^a-zA-Z_0-9]uint32[\\t ]*;" >/dev/null 2>&1; then
    rm -rf conftest*
    ac_cv_type_uint32=yes
  else
 @@ -8197,7 +8197,7 @@
  #endif
  EOF
  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 -  egrep "int64[^a-zA-Z_0-9]" >/dev/null 2>&1; then
 +  egrep "typedef.*[^a-zA-Z_0-9]int64[\\t ]*;" >/dev/null 2>&1; then
    rm -rf conftest*
    ac_cv_type_int64=yes
  else
 @@ -8233,7 +8233,7 @@
  #endif
  EOF
  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 -  egrep "__int64[^a-zA-Z_0-9]" >/dev/null 2>&1; then
 +  egrep "typedef.*[^a-zA-Z_0-9]__int64[\\t ]*;" >/dev/null 2>&1; then
    rm -rf conftest*
    ac_cv_type___int64=yes
  else
 @@ -8269,7 +8269,7 @@
  #endif
  EOF
  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 -  egrep "uint64[^a-zA-Z_0-9]" >/dev/null 2>&1; then
 +  egrep "typedef.*[^a-zA-Z_0-9]uint64[\\t ]*;" >/dev/null 2>&1; then
    rm -rf conftest*
    ac_cv_type_uint64=yes
  else
 @@ -8305,7 +8305,7 @@
  #endif
  EOF
  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 -  egrep "float32[^a-zA-Z_0-9]" >/dev/null 2>&1; then
 +  egrep "typedef.*[^a-zA-Z_0-9]float32[\\t ]*;" >/dev/null 2>&1; then
    rm -rf conftest*
    ac_cv_type_float32=yes
  else
 @@ -8341,7 +8341,7 @@
  #endif
  EOF
  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 -  egrep "float64[^a-zA-Z_0-9]" >/dev/null 2>&1; then
 +  egrep "typedef.*[^a-zA-Z_0-9]float64[\\t ]*;" >/dev/null 2>&1; then
    rm -rf conftest*
    ac_cv_type_float64=yes
  else
 
 ----------------------------------------------------------------------
 
 However the resulting installation is not clean yet.
  
     mvw@nil$ dx
     /usr/local/dx/bin_i386/startupui: Command not found.
 
 but rather
 
     mvw@nil$ bin_freebsd/startupui 
   
 and the welcome graphics pops up.
 
 Perhaps I can fix that tomorrow.. :)
 
 Regards,
 Marc
 
 
 


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?200012052040.eB5Ke3L28035>