ports/170289: [patch] use one version for x11/nvidia-driver x11/nvidia-xconfig x11/nvidia-settings

4721 at hushmail.com 4721 at hushmail.com
Tue Jul 31 01:30:04 UTC 2012


>Number:         170289
>Category:       ports
>Synopsis:       [patch] use one version for x11/nvidia-driver x11/nvidia-xconfig x11/nvidia-settings
>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:   Tue Jul 31 01:30:04 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     4721 at hushmail.com
>Release:        
>Organization:
>Environment:
>Description:
patch puts version in one file, instead of 3 duplicate versions in 3 files.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

Index: x11/nvidia-driver/Makefile.common
===================================================================
--- x11/nvidia-driver/Makefile.common	(revision 0)
+++ x11/nvidia-driver/Makefile.common	(working copy)
@@ -0,0 +1 @@
+DISTVERSION?=	295.59
Index: x11/nvidia-driver/Makefile
===================================================================
--- x11/nvidia-driver/Makefile	(revision 301689)
+++ x11/nvidia-driver/Makefile	(working copy)
@@ -6,7 +6,6 @@
 #
 
 PORTNAME=	nvidia-driver
-DISTVERSION?=	295.59
 PORTREVISION?=	0			# As a reminder it can be overridden
 CATEGORIES=	x11 kld
 MASTER_SITES=	${MASTER_SITE_NVIDIA}
@@ -21,6 +20,8 @@
 LICENSE_FILE=	${WRKSRC}/doc/license.txt
 LICENSE_PERMS=	dist-mirror no-dist-sell pkg-mirror no-pkg-sell auto-accept
 
+.include "${.CURDIR}/Makefile.common"
+
 ARCH_SUFX=	${ARCH:S/i386//:S/amd/_/}
 USE_XORG=	xorg-server
 USE_GL=		gl
Index: x11/nvidia-settings/Makefile
===================================================================
--- x11/nvidia-settings/Makefile	(revision 301689)
+++ x11/nvidia-settings/Makefile	(working copy)
@@ -6,7 +6,6 @@
 #
 
 PORTNAME=	nvidia-settings
-PORTVERSION=	295.59
 CATEGORIES=	x11
 MASTER_SITES=	ftp://download.nvidia.com/XFree86/nvidia-settings/ \
 		ftp://download1.nvidia.com/XFree86/nvidia-settings/
@@ -16,6 +15,8 @@
 
 LICENSE=	GPLv2
 
+.include "${.CURDIR}/../nvidia-driver/Makefile.common"
+
 USE_BZIP2=	yes
 USE_GNOME=	gtk20
 USE_GMAKE=	yes
Index: x11/nvidia-xconfig/Makefile
===================================================================
--- x11/nvidia-xconfig/Makefile	(revision 301689)
+++ x11/nvidia-xconfig/Makefile	(working copy)
@@ -6,7 +6,6 @@
 #
 
 PORTNAME=	nvidia-xconfig
-PORTVERSION=	295.59
 CATEGORIES=	x11
 MASTER_SITES=	ftp://download.nvidia.com/XFree86/nvidia-xconfig/ \
 		ftp://download1.nvidia.com/XFree86/nvidia-xconfig/
@@ -16,6 +15,8 @@
 
 LICENSE=	GPLv2
 
+.include "${.CURDIR}/../nvidia-driver/Makefile.common"
+
 USE_BZIP2=	yes
 USE_GMAKE=	yes
 


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



More information about the freebsd-ports-bugs mailing list