Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 May 2007 16:34:50 GMT
From:      "R.Mahmatkhanov"<R.Mahmatkhanov@SKYLINK.ru>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/112355: [PATCH] emulators/vmware3: cleanup non-supported FreeBSD versions
Message-ID:  <200705021634.l42GYou0035390@www.freebsd.org>
Resent-Message-ID: <200705021640.l42GeB8L024055@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         112355
>Category:       ports
>Synopsis:       [PATCH] emulators/vmware3: cleanup non-supported FreeBSD versions
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed May 02 16:40:10 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     R.Mahmatkhanov
>Release:        6.2-STABLE
>Organization:
SkyLink
>Environment:
FreeBSD 6.2-STABLE i386
>Description:
Cleanup non-supported FreeBSD versions
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

--- /usr/ports/emulators/vmware3/Makefile	Tue Feb 27 02:51:06 2007
+++ Makefile	Fri Apr 27 15:33:09 2007
@@ -54,10 +54,6 @@
 
 .include <bsd.port.pre.mk>
 
-.if ${OSVERSION} < 480102
-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)
 IGNORE=		linprocfs is required, please build the module and/or add it to your kernel
 .endif
@@ -78,20 +74,10 @@
 		VMNET1_MINOR="${VMNET1_MINOR}"
 MAKE_ARGS=	KMODDIR="${VMDIR}/modules"
 PLIST_SUB=	LINUXBASE="${LINUXBASE}" VMNET1_MINOR="${VMNET1_MINOR}"
-
-.if ${OSVERSION} < 500000
-PLIST_SUB+=	FREEBSD5="@comment "
-.else
 PLIST_SUB+=	FREEBSD5=""
-.endif
 
 pre-fetch:
-.if ${OSVERSION} < 500000 && ${OSVERSION} < 490100
-	@${ECHO}
-	@${ECHO} "You need an uncommitted kernel patch to run this port:"
-	@${ECHO} "You can get it at: http://people.freebsd.org/~fjoe/shm-freebsd4-20031105.diff"
-	@${ECHO}
-.elif ${OSVERSION} < 500113 && ${OSVERSION} > 500000
+.if ${OSVERSION} < 500113 && ${OSVERSION} > 500000
 	@${ECHO}
 	@${ECHO} "You need an uncommitted kernel patch to run this port:"
 	@${ECHO} "You can get it at: http://people.freebsd.org/~mbr/patches/"
@@ -131,9 +117,6 @@
 	${CP} ${FILESDIR}/Makefile ${WRKSRC}
 	${CP} ${FILESDIR}/Makefile.vmmon ${WRKSRC}/vmmon-only/Makefile
 	${CP} ${FILESDIR}/Makefile.vmnet ${WRKSRC}/vmnet-only/Makefile
-.if ${OSVERSION} < 500000
-	cd ${WRKSRC} && ${PATCH} < ${FILESDIR}/freebsd4.patch
-.endif
 .if ${OSVERSION} > 600000
 	cd ${WRKSRC} && ${PATCH} < ${FILESDIR}/fbsd6-1.patch
 	cd ${WRKSRC} && ${PATCH} < ${FILESDIR}/fbsd6-2.patch

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



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