ports/187178: devel/readline : fix PKGNAME

Christoph Moench-Tegeder cmt at burggraben.net
Sat Mar 1 16:02:04 UTC 2014


Hi,

it looks like your PATCHLEVEL change broke DISTNAME:
: cmt at 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


More information about the freebsd-ports-bugs mailing list