From owner-freebsd-alpha Thu Dec 31 00:17:34 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA07377 for freebsd-alpha-outgoing; Thu, 31 Dec 1998 00:17:34 -0800 (PST) (envelope-from owner-freebsd-alpha@FreeBSD.ORG) Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id AAA07371; Thu, 31 Dec 1998 00:17:32 -0800 (PST) (envelope-from imp@village.org) Received: from harmony [10.0.0.6] by rover.village.org with esmtp (Exim 1.71 #1) id 0zvdI0-00005b-00; Thu, 31 Dec 1998 01:17:04 -0700 Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.1/8.8.3) with ESMTP id BAA61494; Thu, 31 Dec 1998 01:15:00 -0700 (MST) Message-Id: <199812310815.BAA61494@harmony.village.org> To: Brian Handy Subject: Re: Alpha ports collection? Cc: asami@FreeBSD.ORG, alpha@FreeBSD.ORG In-reply-to: Your message of "Wed, 30 Dec 1998 23:16:10 MST." References: Date: Thu, 31 Dec 1998 01:14:59 -0700 From: Warner Losh Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In message Brian Handy writes: : ===> Building for asapm-2.3 : cc -O -pipe -I/usr/X11R6/include -c apm_react.c : cc -O -pipe -I/usr/X11R6/include -c apm_rc.c : cc -O -pipe -I/usr/X11R6/include -c apm_read.c : apm_read.c:24: machine/apm_bios.h: No such file or directory This file doesn't exist on the alpha because APM is x86 specific. : I don't see any hope for fixing this. (A cursory browse of the OpenBSD : Alpha source tree confirmed they don't have this file either.) I don't : know if there's been some sort of BROKEN_ALPHA flag invented yet, but this : port is a strong candidate for that if it becomes the case. NetBSD and OpenBSD both have ONLY_FOR_ARCHS - If a port only makes sense to certain architectures, this is a list containing the names for them. It is checked against the predefined ${MACHINE_ARCH} value >From looking at the last bsd.port.mk file that I have on my system, it appears that this isn't present in FreeBSD yet. For the moment, the best way to fix this is to add something like: .if ${MACHINE_ARCH} != "i386" BROKEN="Only for APM enabled Intel machines" .endif to the Makefile for the port. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message