Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Mar 2014 17:02:00 +0100
From:      Christoph Moench-Tegeder <cmt@burggraben.net>
To:        johans@FreeBSD.org, FreeBSD-gnats-submit@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/187178: devel/readline : fix PKGNAME
Message-ID:  <20140301160200.GC89147@elch.exwg.net>
In-Reply-To: <201403011503.s21F3er3040216@freefall.freebsd.org>
References:  <201403011503.s21F3er3040216@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

it looks like your PATCHLEVEL change broke DISTNAME:
: cmt@reindeer:readline$ make -V DISTNAME
: readline-6
(should be "readline-6.3"),

I'm proposing this patch, which seems to work on 10.0 and 9.3:

Index: Makefile
===================================================================
--- Makefile    (revision 346634)
+++ Makefile    (working copy)
@@ -8,7 +8,7 @@
 MASTER_SITES=  GNU \
                ftp://ftp.cwru.edu/pub/bash/
 MASTER_SITE_SUBDIR=    ${PORTNAME}
-DISTNAME=      ${PORTNAME}-${PORTVERSION:R}
+DISTNAME=      ${PORTNAME}-${PORTVERSION:C/^([0-9].[0-9]).*/\1/}
 
 PATCH_SITES=   ${MASTER_SITES}
 PATCH_SITE_SUBDIR=${PORTNAME}/${PORTNAME}-${PORTVERSION:R}-patches


Regards,
Christoph

-- 
Spare Space



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