Page MenuHomeFreeBSD

japanese/p5-Lingua-*: fix duplicate p5-p5- PKGNAMEPREFIX

Authored by meta on Jun 25 2018, 8:13 AM.



japanese/p5-Lingua-JA-Moji had duplicate p5-p5- prefix and
japanese/p5-Lingua-JA-Numbers didn't have ja- prefix.
Set ja-p5- prefix to all Lingua ports under Japanese category.

PR: 229184
Submitted by: Tomohiro Hosaka <>
Approved by: ? (mentor)

Test Plan

portlint -AC looks fine except for false positive warnings.

$ cd ${PORTSDIR}
$ for d in $(find . -type d -depth 1 ); do (cd $d; make -VPKGNAME); done |grep Lingua

All Lingua ports now have ja-p5- prefix.

Diff Detail

rP FreeBSD ports repository
Lint Not Applicable
Tests Not Applicable

Event Timeline

It builds, the package name in the end is:


Is this what it is supposed to be ? Or should it be p5-ja-... ?

This revision is now accepted and ready to land.Jul 9 2018, 6:43 AM

ja-p5- is what I intended but I'm not pretty sure that is correct.
Many other ports have ja-p5- prefix. Just in case, I'll ask mailing list about that.

BTW, should this be recorded to MOVED? This changes PKGNAME.

No need to add it to MOVED, as the directory under /usr/ports does not change.

This is the way to do it, yes, see other p5 packages in the japanese directory.

This revision was automatically updated to reflect the committed changes.

Before renaming both package, did you check wether there were ports depending on those, which would also need to be updated?

This comment was removed by meta.

No, I didn't aware of that. I think this should be changed.

(p5-Datetime-Japanese-Era doesn't have ja- prefix.... but I don't change at this time.)

Index: japanese/p5-Date-Japanese-Era/Makefile
--- japanese/p5-Date-Japanese-Era/Makefile      (revision 474424)
+++ japanese/p5-Date-Japanese-Era/Makefile      (working copy)
@@ -11,7 +11,7 @@
 COMMENT=       Conversion between Japanese Era / Gregorian calendar
 BUILD_DEPENDS= p5-Date-Calc>=0:devel/p5-Date-Calc \
-               p5-Lingua-JA-Numbers>=0:japanese/p5-Lingua-JA-Numbers
+               ja-p5-Lingua-JA-Numbers>=0:japanese/p5-Lingua-JA-Numbers
 USES=          perl5

depends changed, so the PORTREVISION for p5-Date-Japanese-Era needs to increment. Otherwise: Approved.

p5-Datetime-Japanese-Era actually have ja- prefix already. It was my misunderstanding.
antoine already committed dependency change. I just bumped PORTREVISION. Thanks!