From owner-freebsd-ports Sun Mar 7 20:30:16 1999 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id E567914E04 for ; Sun, 7 Mar 1999 20:30:15 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.2/8.9.2) id UAA34281; Sun, 7 Mar 1999 20:30:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Date: Sun, 7 Mar 1999 20:30:01 -0800 (PST) Message-Id: <199903080430.UAA34281@freefall.freebsd.org> To: freebsd-ports@FreeBSD.org Cc: From: Takayuki Tamura Subject: Re: ports/10477: The fakemail in lib-src fails to link (needs -lcompat) Reply-To: Takayuki Tamura Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR ports/10477; it has been noted by GNATS. From: Takayuki Tamura To: root@test2.gsoft.com.au Cc: FreeBSD-gnats-submit@freebsd.org Subject: Re: ports/10477: The fakemail in lib-src fails to link (needs -lcompat) Date: Mon, 08 Mar 1999 13:21:46 +0900 (JST) Hi, > >Fix: > Edit the makefile and add -lcompat to the link line The true fix is to define BSD_SYSTEM in src/s/freebsd.h. I've fixed the same problem with emacs20 by adding the following to the file. #elif __FreeBSD__ == 4 #define BSD_SYSTEM 199901 But if the value of BSD_SYSTEM is not significant, we'd better have #elif __FreeBSD__ >= 3 #define BSD_SYSTEM 199506 instead according to Satoshi's recent request. Regards, --------------- Takayuki TAMURA Information & Communication Systems Development Center, Mitsubishi Electric Corporation To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message