Date: Thu, 26 Feb 2004 18:09:57 -0500 (EST) From: Hendrik Scholz <hendrik@scholz.net> To: FreeBSD-gnats-submit@FreeBSD.org Cc: boris@brooknet.com.au Subject: ports/63420: amd64-fix: prevent building palm/uppc-kmod Message-ID: <20040226230957.CF95639819@slurmcan.wormulon.net> Resent-Message-ID: <200402262310.i1QNANjL037626@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 63420 >Category: ports >Synopsis: amd64-fix: prevent building palm/uppc-kmod >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Feb 26 15:10:23 PST 2004 >Closed-Date: >Last-Modified: >Originator: Hendrik Scholz >Release: FreeBSD 5.2.1-RC amd64 >Organization: >Environment: System: FreeBSD slurmcan.wormulon.net 5.2.1-RC FreeBSD 5.2.1-RC #0: Sat Jan 31 12:38:34 GMT 2004 root@ngoc.NUXI.com:/usr/obj/usr/src/sys/GENERIC amd64 >Description: Bento reports: http://bento.freebsd.org/errorlogs/amd64-5-full/uppc-kmod-0.4.log This is the usual -fPIC problem but since the whole port just offers a kernel module and kernel modules are not supported on amd64 (see makeoptions NO_MODULES=not_yet in GENERIC kernel config) just prevent this from being built in first place. >How-To-Repeat: >Fix: --- uppc-kmod-amd64.diff begins here --- Index: Makefile =================================================================== RCS file: /home/FreeBSD-CVS/ports/palm/uppc-kmod/Makefile,v retrieving revision 1.2 diff -u -r1.2 Makefile --- Makefile 10 Jan 2004 07:18:55 -0000 1.2 +++ Makefile 26 Feb 2004 23:05:19 -0000 @@ -18,6 +18,10 @@ WRKSRC= ${WRKDIR}/${PORTNAME} USE_REINPLACE= yes +.if ${MACHINE_ARCH:L} == "amd64" +BROKEN= kernel modules are not available on this platform yet +.endif + .if !exists(/usr/src/sys/dev/usb/usb.h) IGNORE= "Requires kernel source (/usr/src/sys) to build" .endif --- uppc-kmod-amd64.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040226230957.CF95639819>