ports/63420: amd64-fix: prevent building palm/uppc-kmod
Hendrik Scholz
hendrik at scholz.net
Thu Feb 26 23:10:24 UTC 2004
>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 at 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:
More information about the freebsd-ports-bugs
mailing list