Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Nov 2013 01:17:52 +0100 (CET)
From:      Gerald Pfeifer <gerald@pfeifer.com>
To:        Mathieu Arnold <mat@mat.cc>
Cc:        svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, Gerald Pfeifer <gerald@FreeBSD.org>, ports-committers@freebsd.org
Subject:   Re: svn commit: r334796 - head/lang/gcc44
Message-ID:  <alpine.LNX.2.00.1311250113570.1711@tuna.site>
In-Reply-To: <0A5CE73D095D35D1C1F04476@atuin.in.mat.cc>
References:  <201311242311.rAONBAn2059702@svn.freebsd.org> <0A5CE73D095D35D1C1F04476@atuin.in.mat.cc>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 25 Nov 2013, Mathieu Arnold wrote:
> | +PORTNAME=	gcc47
> |  PORTVERSION=	4.4.7
> 
> You meant gcc44, right ?

Oops, right.  All the full fledged testing unfortunately did not
catch this kind of silly mistake.  Thanks for raising it (and sorry
for committing the fix so quickly that I failed to acknowledge that
in the commit log).

> BTW, why not use PKGNAMESUFFIX= 44 here (and in the other ports) so 
> that you don't have to add distname ?

Bapt asked the same. :-)  Below is what I responded.

FWIW the description of UNIQUENAME does not mention PKGNAMESUFFIX either:

   # UNIQUENAME - A name for your port that is globally unique.  By default,
   #              this is set to ${LATEST_LINK} when LATEST_LINK is set,
   #              and to ${PKGNAMEPREFIX}${PORTNAME} otherwise.

Gerald

==== forwarded message ====
From: Gerald Pfeifer <gerald@pfeifer.com>
Date: Sun, 24 Nov 2013 22:21:19 +0100 (CET)
Subject: Re: Package name collision
:
Looking at it from a distance, it felt a bit wrong to me to have
PORTNAME for lang/gcc48 read gcc, not gcc48.

And Mk/bsd.port.mk did not properly document that.

The latter we can address, of course.  Do you approve the patch
below?

Gerald

Index: bsd.port.mk
===================================================================
--- bsd.port.mk	(revision 334791)
+++ bsd.port.mk	(working copy)
@@ -68,9 +68,11 @@
 #				  Do not define this in your Makefile.
 # PKGNAMEPREFIX	- Prefix to specify that port is language-specific, etc.
 #				  Optional.
-# PKGNAMESUFFIX	- Suffix to specify compilation options.  Optional.
-# PKGVERSION		- Always defined as
-#				  ${PORTVERSION}.
+# PKGNAMESUFFIX	- Suffix to specify compilation options or a version
+#				  designator (in case there are different versions of 
+#				  one port as is the case for Tcl).
+#				  Optional.
+# PKGVERSION	- Always defined as ${PORTVERSION}.
 #				  Do not define this in your Makefile.
 # UNIQUENAME	- A name for your port that is globally unique.  By default,
 #				  this is set to ${LATEST_LINK} when LATEST_LINK is set,



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