git: 9218b918fe78 - main - devel/p5-Device-USB: Fix fetch
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 23 Sep 2026 13:20:18 UTC
The branch main has been updated by bofh:
URL: https://cgit.FreeBSD.org/ports/commit/?id=9218b918fe78ca657a2d4679f174a85965a402e9
commit 9218b918fe78ca657a2d4679f174a85965a402e9
Author: Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2026-09-23 12:27:04 +0000
Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2026-09-23 13:19:50 +0000
devel/p5-Device-USB: Fix fetch
- Switch to DISTVERSION while I am here
Approved by: portmgr (just-fix-it)
---
devel/p5-Device-USB/Makefile | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/devel/p5-Device-USB/Makefile b/devel/p5-Device-USB/Makefile
index 14fe6e6a5bd4..9324592bec75 100644
--- a/devel/p5-Device-USB/Makefile
+++ b/devel/p5-Device-USB/Makefile
@@ -1,8 +1,9 @@
PORTNAME= Device-USB
-PORTVERSION= 0.35
+DISTVERSION= 0.35
PORTREVISION= 2
CATEGORIES= devel perl5
MASTER_SITES= CPAN
+MASTER_SITE_SUBDIR= CPAN:GWADEJ
PKGNAMEPREFIX= p5-
MAINTAINER= josh.carroll@gmail.com
@@ -16,10 +17,11 @@ BUILD_DEPENDS= ${RUN_DEPENDS}
RUN_DEPENDS= p5-Inline>=0:devel/p5-Inline \
p5-Inline-C>=0:devel/p5-Inline-C
-MAKE_JOBS_UNSAFE=yes
USES= perl5
USE_PERL5= configure
+MAKE_JOBS_UNSAFE=yes
+
post-patch:
@${REINPLACE_CMD} -e 's|dump_usb.pl|lib/Device/&|' ${WRKSRC}/MANIFEST
@${MV} ${WRKSRC}/dump_usb.pl ${WRKSRC}/lib/Device/