Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Dec 1998 01:14:59 -0700
From:      Warner Losh <imp@village.org>
To:        Brian Handy <handy@lambic.physics.montana.edu>
Cc:        asami@FreeBSD.ORG, alpha@FreeBSD.ORG
Subject:   Re: Alpha ports collection? 
Message-ID:  <199812310815.BAA61494@harmony.village.org>
In-Reply-To: Your message of "Wed, 30 Dec 1998 23:16:10 MST." <Pine.BSF.4.05.9812302308530.14312-100000@lambic.physics.montana.edu> 
References:  <Pine.BSF.4.05.9812302308530.14312-100000@lambic.physics.montana.edu>  

next in thread | previous in thread | raw e-mail | index | archive | help
In message <Pine.BSF.4.05.9812302308530.14312-100000@lambic.physics.montana.edu> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199812310815.BAA61494>