Date: Sun, 18 Nov 2001 21:40:32 -0800 From: "John W. De Boskey" <jwd@FreeBSD.org> To: Current List <freebsd-current@FreeBSD.org> Subject: cvsup-devel port build problem (pm3-base) Message-ID: <20011118214032.A82262@FreeBSD.org>
next in thread | raw e-mail | index | archive | help
Hi, I ran into some problems building the cvsup-devel port. In one of it's dependants, the c file is attempting to include <nfs/nfs.h> which is nolonger valid. /usr/ports/lang/pm3-base/work/pm3-1.1.15/boot-FreeBSD4/m3core/FreeBSD4/RTHeapDepC.c As a quick fix I symlinked nfs.h -> ../nfsclient/nfs.h which allowed the compile to complete. The following more generic/correct fix could probably be dropped into the files directory as patch-XX: --- RTHeapDepC.c.orig Mon Nov 19 00:27:30 2001 +++ RTHeapDepC.c Mon Nov 19 00:28:21 2001 @@ -98,7 +98,11 @@ #include <sys/time.h> #include <nfs/rpcv2.h> #include <nfs/nfsproto.h> +#if __FreeBSD__ >= 5 +#include <nfsclient/nfs.h> +#else #include <nfs/nfs.h> +#endif #include <ufs/ufs/ufsmount.h> #endif -John ps: I also ran into problems with libutil.h but I haven't determined where the actual problem is coming from. Copying /usr/src/lib/libutil/libutil.h to /usr/include avoids the immediate problem. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011118214032.A82262>