Date: Fri, 26 Nov 1999 23:47:14 -0800 From: Mike Haertel <mike@ducky.net> To: freebsd-ports@freebsd.org Subject: patch for ports/net/vnc Message-ID: <199911270747.XAA21929@ducky.net>
next in thread | raw e-mail | index | archive | help
The following patch is required to get Xvnc to compile properly under 4.0-CURRENT. It is very similar to a to a patch in ports/x11/XFree86. This patch causes imake to use "cc -E" instead of trying to run "cpp" manually. This is necessary because nowdays it is the "cc" driver, not /usr/libexec/cpp, that knows to define __FreeBSD__. --- Xvnc/config/imake/imakemdep.h~ Sat Jul 26 19:41:05 1997 +++ Xvnc/config/imake/imakemdep.h Fri Nov 26 23:21:33 1999 @@ -225,6 +225,9 @@ #ifdef hpux #define USE_CC_E #endif +#if defined(__FreeBSD__) +#define USE_CC_E +#endif #ifdef WIN32 #define USE_CC_E #define DEFAULT_CC "cl" @@ -253,7 +256,7 @@ #ifdef _CRAY #define DEFAULT_CPP "/lib/pcpp" #endif -#if defined(__386BSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__FreeBSD__) +#if defined(__386BSD__) || defined(__NetBSD__) || defined(__OpenBSD__) #define DEFAULT_CPP "/usr/libexec/cpp" #endif #if defined(__sgi) && defined(__ANSI_CPP__) 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?199911270747.XAA21929>