ports/114923: emulators/kqemu-kmod remove references to FreeBSD 4.x

David Yeske dyeske at gmail.com
Thu Jul 26 06:20:02 UTC 2007


>Number:         114923
>Category:       ports
>Synopsis:       emulators/kqemu-kmod remove references to FreeBSD 4.x
>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 Jul 26 06:20:01 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     David Yeske
>Release:        HEAD
>Organization:
>Environment:
FreeBSD speed 7.0-CURRENT FreeBSD 7.0-CURRENT #1: Wed Jul 18 23:40:39 EDT 2007     root at speed:/usr/obj/usr/src/sys/SPEED  amd64

>Description:
remove references to FreeBSD 4.x since this is a noop
>How-To-Repeat:

>Fix:
see attachment

Patch attached with submission follows:

Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/emulators/kqemu-kmod/Makefile,v
retrieving revision 1.20
diff -u -r1.20 Makefile
--- Makefile	21 Jul 2007 19:38:16 -0000	1.20
+++ Makefile	26 Jul 2007 04:21:16 -0000
@@ -34,9 +34,7 @@
 PLIST_FILES+=	"@dirrm include/kqemu"
 PLIST_FILES+=	"@cwd /"
 PLIST_FILES+=	${KMODDIR:C,^/,,}/kqemu.ko
-.if ${OSVERSION} >= 500000
 PLIST_FILES+=	"@unexec kldxref ${KMODDIR}"
-.endif
 
 MAKEFILE=	Makefile.freebsd
 
@@ -45,9 +43,7 @@
 .endif
 
 # install where x11/nvidia-driver does also:
-.if ${OSVERSION} >= 500000
 KMODDIR=	/boot/modules
-.endif
 
 MAKE_ENV+=	KMODDIR="${KMODDIR}"
 
@@ -92,11 +88,5 @@
 	${INSTALL_DATA} ${WRKSRC}/kqemu-doc.html ${WRKSRC}/kqemu-tech.html \
 		${DOCSDIR}
 .endif
-.if ${OSVERSION} < 500000
-	if [ ! -e /dev/kqemu ]; then\
-		mknod /dev/kqemu c 250 0 ; \
-	fi
-	${CHMOD} 666 /dev/kqemu
-.endif
 
 .include <bsd.port.post.mk>


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list