Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Sep 2009 08:34:29 GMT
From:      "barbara.xxx1975@libero.it" <Barbara@FreeBSD.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/139175: games/vavoom-extras: make config overwrites options for games/vavoom
Message-ID:  <200909270834.n8R8YTwc016857@www.freebsd.org>
Resent-Message-ID: <200909270840.n8R8e014087298@freefall.freebsd.org>

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

>Number:         139175
>Category:       ports
>Synopsis:       games/vavoom-extras: make config overwrites options for games/vavoom
>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:   Sun Sep 27 08:40:00 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     barbara.xxx1975@libero.it
>Release:        RELENG_7
>Organization:
>Environment:
FreeBSD satanasso.local.net 7.2-STABLE FreeBSD 7.2-STABLE #0: Sat Sep 26 21:00:11 CEST 2009     root@satanasso.local.net:/usr/obj/usr/src/sys/SATANASSO  i386

>Description:
Running make config in /usr/ports/games/vavoom-extras results in options for games/vavoom being overwritten.
This is caused by the fact that both ports have the same PORTNAME.
I thought that the solution was appending -extras to PORTNAME and removing PKGNAMESUFFIX.
After asking to alepulver@, he suggested to use LATEST_LINK.

>How-To-Repeat:
# cd /usr/ports/games/vavoom && make config
set some options
# cd /usr/ports/games/vavoom-extras && make config
# cd /usr/ports/games/vavoom && make config
the previously set options are gone, as the file contains options for vavoom-extras now

>Fix:
in makefile, set
LATEST_LINK=	${PORTNAME}${PKGNAMESUFFIX}


Patch attached with submission follows:

--- Makefile.orig	2009-08-22 02:22:36.000000000 +0200
+++ Makefile	2009-09-26 11:02:36.000000000 +0200
@@ -13,6 +13,7 @@
 		http://doomtextures.freelanzer.com/:dt
 
 PKGNAMESUFFIX=	-extras
+LATEST_LINK=	${PORTNAME}${PKGNAMESUFFIX}
 DISTFILES=	#
 
 MAINTAINER=	ports@FreeBSD.org


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



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