ports/96543: [PATCH] emulators/vmware3: fix checking for linprocfs.ko

Alexandr Kovalenko never at nevermind.kiev.ua
Sun Apr 30 11:30:14 UTC 2006


>Number:         96543
>Category:       ports
>Synopsis:       [PATCH] emulators/vmware3: fix checking for linprocfs.ko
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Apr 30 11:30:11 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Alexandr Kovalenko
>Release:        FreeBSD 6.1-RC i386
>Organization:
PortaOne, Inc., http://www.portaone.com/
>Environment:
System: FreeBSD mile.portaone.com 6.1-RC FreeBSD 6.1-RC #0: Thu Apr 27 19:33:18 EEST 2006 root at mile.portaone.com:/usr/obj/usr/src/sys/mile i386

Latest ports collection.
>Description:
	In case of MODULES_WITH_WORLD=yes in /etc/make.conf, modules are being
	installed to /boot/modules/ and that's why existing check for linprocfs.ko
	in emulators/vmware3/Makefile says that user does not have linprocfs.ko,
	while it exists in /boot/modules/
>How-To-Repeat:
	echo MODULES_WITH_WORLD=yes >> /etc/make.conf
	cd /usr/src
	make buildworld
	make buildkernel
	make installkernel
	make installworld
	cd /usr/ports/emulators/vmware3
	make
>Fix:

Please apply patch attached.

--- Makefile.orig	Sun Apr 30 14:08:42 2006
+++ Makefile	Sun Apr 30 14:10:05 2006
@@ -52,7 +52,7 @@
 IGNORE=		systems prior to FreeBSD 480102 currently out of support
 .endif
 
-.if !defined(HAVE_LINPROCFS) && !exists(/modules/linprocfs.ko) && !exists(/boot/kernel/linprocfs.ko) && !exists(${PREFIX}/modules/linprocfs.ko) && !exists(/compat/linux/proc/version)
+.if !defined(HAVE_LINPROCFS) && !exists(/modules/linprocfs.ko) && !exists(/boot/kernel/linprocfs.ko) && !exists(${PREFIX}/modules/linprocfs.ko) && !exists(/compat/linux/proc/version) && !exists(/boot/modules/linprocfs.ko)
 IGNORE=		linprocfs is required, please build the module and/or add it to your kernel
 .endif
 
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list