From owner-freebsd-ports Wed May 17 13:50:47 1995 Return-Path: ports-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id NAA14140 for ports-outgoing; Wed, 17 May 1995 13:50:47 -0700 Received: (from hsu@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id NAA14132 for ports; Wed, 17 May 1995 13:50:45 -0700 Date: Wed, 17 May 1995 13:50:45 -0700 From: Jeffrey Hsu Message-Id: <199505172050.NAA14132@freefall.cdrom.com> To: ports Subject: Re: tcsh 6.06 Sender: ports-owner@FreeBSD.org Precedence: bulk >> Has anyone successfully compiled this yet? I see FreeBSD listed >> in the host.defs file (as "Free BSD", argh...), but not in the Ports >> file. Running the suggest "xmkmf ; make" produces a *lot* of errors >> and warnings. > I've never used the Imakefile for compiling tcsh. Can you try the other > method ? I believe using imake and not the supplied default Makefile.std is the correct way to build this port. Not that I have any intention of making a port out of this. However, to help someone else make a port out of this, here are my diffs to make tcsh 6.06 compile under FreeBSD. *** ./Imakefile.0 Sat May 13 13:49:14 1995 --- ./Imakefile Tue May 16 01:10:16 1995 *************** *** 170,178 **** # endif # endif /* i386Isc */ # ifdef NetBSDArchitecture # define ConfigH bsd4.4 ! # endif /* NetBsdArchitecture */ # ifdef i386SVR4Architecture # define ConfigH sysv4 --- 170,182 ---- # endif # endif /* i386Isc */ + # ifdef FreeBSDArchitecture + # define ConfigH bsd4.4 + # endif /* FreeBSDArchitecture */ + # ifdef NetBSDArchitecture # define ConfigH bsd4.4 ! # endif /* NetBSDArchitecture */ # ifdef i386SVR4Architecture # define ConfigH sysv4 *** ./sh.exp.c.0 Sat May 13 13:49:16 1995 --- ./sh.exp.c Tue May 16 01:11:51 1995 *************** *** 155,161 **** * and they define _SC_NGROUPS_MAX without having sysconf */ # undef _SC_NGROUPS_MAX ! # ifdef __NetBSD__ # define GID_T gid_t # else # define GID_T int --- 155,161 ---- * and they define _SC_NGROUPS_MAX without having sysconf */ # undef _SC_NGROUPS_MAX ! # if defined(__NetBSD__) || __FreeBSD__ == 2 # define GID_T gid_t # else # define GID_T int *** ./sh.func.c.0 Sat May 13 13:49:17 1995 --- ./sh.func.c Tue May 16 01:12:47 1995 *************** *** 1620,1626 **** # define toset(a) ((a) + 1) # endif /* aiws */ # else /* BSDLIMIT */ ! # if defined(BSD4_4) && !defined(__386BSD__) && !defined(bsdi) typedef quad_t RLIM_TYPE; # else typedef unsigned long RLIM_TYPE; --- 1620,1626 ---- # define toset(a) ((a) + 1) # endif /* aiws */ # else /* BSDLIMIT */ ! # if __FreeBSD__ == 2 || defined(BSD4_4) && !defined(__386BSD__) && !defined(bsdi) typedef quad_t RLIM_TYPE; # else typedef unsigned long RLIM_TYPE; *** ./host.defs.0 Sat May 13 13:49:15 1995 --- ./host.defs Tue May 16 01:20:54 1995 *************** *** 399,405 **** newdef : defined(__FreeBSD__) ! comment : Free BSD vendor : defined(i386) : "intel" hosttype: : "FreeBSD" ostype : : "FreeBSD" --- 399,405 ---- newdef : defined(__FreeBSD__) ! comment : FreeBSD vendor : defined(i386) : "intel" hosttype: : "FreeBSD" ostype : : "FreeBSD" *** ./config_f.h.0 Sat May 13 13:49:12 1995 --- ./config_f.h Tue May 16 01:28:12 1995 *************** *** 75,81 **** /* * VIDEFAULT Make the VI mode editor the default */ ! #undef VIDEFAULT /* * KAI use "bye" command and rename "log" to "watchlog" --- 75,81 ---- /* * VIDEFAULT Make the VI mode editor the default */ ! #define VIDEFAULT /* * KAI use "bye" command and rename "log" to "watchlog" *************** *** 92,98 **** /* * DOTLAST put "." last in the default path, for security reasons */ ! #define DOTLAST /* * NODOT Don't put "." in the default path, for security reasons --- 92,98 ---- /* * DOTLAST put "." last in the default path, for security reasons */ ! #undef DOTLAST /* * NODOT Don't put "." in the default path, for security reasons *************** *** 104,110 **** * on the name of the tty, and environment. * Does not make sense in the modern window systems! */ ! #define AUTOLOGOUT /* * SUSPENDED Newer shells say 'Suspended' instead of 'Stopped'. --- 104,110 ---- * on the name of the tty, and environment. * Does not make sense in the modern window systems! */ ! #undef AUTOLOGOUT /* * SUSPENDED Newer shells say 'Suspended' instead of 'Stopped'. *************** *** 141,147 **** * successful, set $REMOTEHOST to the name or address of the * host */ ! #define REMOTEHOST /* * RCSID This defines if we want rcs strings in the binary or not --- 141,147 ---- * successful, set $REMOTEHOST to the name or address of the * host */ ! #undef REMOTEHOST /* * RCSID This defines if we want rcs strings in the binary or not