git: b261dedc5ae7 - main - devel/riscv64-none-elf-gcc: Fix PLIST

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Tue, 14 Nov 2023 17:23:37 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=b261dedc5ae7f5aeb364469441efa745fa5d8ae2

commit b261dedc5ae7f5aeb364469441efa745fa5d8ae2
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-11-14 16:53:45 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-11-14 17:16:48 +0000

    devel/riscv64-none-elf-gcc: Fix PLIST
    
    - Bump PORTREVISION for package change
    
    ====> Checking for pkg-plist issues (check-plist)
    ===> Parsing plist
    ===> Checking for items in STAGEDIR missing from pkg-plist
    Error: Orphaned: lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/rv64imafdc/lp64d/crtbegin.o
    Error: Orphaned: lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/rv64imafdc/lp64d/crtend.o
    Error: Orphaned: lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/rv64imafdc/lp64d/crti.o
    Error: Orphaned: lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/rv64imafdc/lp64d/crtn.o
    Error: Orphaned: lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/rv64imafdc/lp64d/libgcc.a
    Error: Orphaned: lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/rv64imafdc/lp64d/libgcov.a
    ===> Checking for items in pkg-plist which are not in STAGEDIR
    ===> Error: Plist issues found.
    *** Error code 1
    
    Approved by:    portmgr (blanket)
---
 devel/riscv64-none-elf-gcc/Makefile  | 1 +
 devel/riscv64-none-elf-gcc/pkg-plist | 6 ++++++
 2 files changed, 7 insertions(+)

diff --git a/devel/riscv64-none-elf-gcc/Makefile b/devel/riscv64-none-elf-gcc/Makefile
index 7b69d76aac77..d31b48436ab9 100644
--- a/devel/riscv64-none-elf-gcc/Makefile
+++ b/devel/riscv64-none-elf-gcc/Makefile
@@ -1,4 +1,5 @@
 PORTVERSION=	11.3.0
+PORTREVISION=	1
 PKGNAMEPREFIX=	riscv64-none-elf-
 GCC_TARGET=	riscv64-none-elf
 PLIST=		${.CURDIR}/pkg-plist
diff --git a/devel/riscv64-none-elf-gcc/pkg-plist b/devel/riscv64-none-elf-gcc/pkg-plist
index 77b95a5c1ec9..333316bc0b85 100644
--- a/devel/riscv64-none-elf-gcc/pkg-plist
+++ b/devel/riscv64-none-elf-gcc/pkg-plist
@@ -522,6 +522,12 @@ lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/rv64imac/lp64/crti.o
 lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/rv64imac/lp64/crtn.o
 lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/rv64imac/lp64/libgcc.a
 lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/rv64imac/lp64/libgcov.a
+lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/rv64imafdc/lp64d/crtbegin.o
+lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/rv64imafdc/lp64d/crtend.o
+lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/rv64imafdc/lp64d/crti.o
+lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/rv64imafdc/lp64d/crtn.o
+lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/rv64imafdc/lp64d/libgcc.a
+lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/rv64imafdc/lp64d/libgcov.a
 libexec/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/cc1
 libexec/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/cc1plus
 libexec/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/collect2