Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Oct 2021 13:57:15 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 259437] devel/aarch64-none-elf-gcc: attempt to remove non-existent hiearchy
Message-ID:  <bug-259437-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D259437

            Bug ID: 259437
           Summary: devel/aarch64-none-elf-gcc: attempt to remove
                    non-existent hiearchy
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: manu@freebsd.org
          Reporter: joerg@FreeBSD.org
          Assignee: manu@freebsd.org
             Flags: maintainer-feedback?(manu@freebsd.org)

The port tries to remove
/usr/lib/gcc/${GCC_TARGET}/${PORTVERSION}/include-fixed, rather than
${PREFIX}/lib/gcc/${GCC_TARGET}/${PORTVERSION}/include-fixed.

This results in (useless) "fixed" include files remaining to be packaged.

Fix:

diff --git a/devel/aarch64-none-elf-gcc/Makefile
b/devel/aarch64-none-elf-gcc/Makefile
index e6d1e217aa33..0595520a0ca2 100644
--- a/devel/aarch64-none-elf-gcc/Makefile
+++ b/devel/aarch64-none-elf-gcc/Makefile
@@ -89,6 +89,6 @@ post-install:
 .endfor
        @${RM} ${STAGEDIR}${PREFIX}/share/info/*
        @${RM} ${STAGEDIR}${PREFIX}/man/man7/*
-       ${RM} -r
${STAGEDIR}/usr/lib/gcc/${GCC_TARGET}/${PORTVERSION}/include-fixed
+       ${RM} -r
${STAGEDIR}${PREFIX}/lib/gcc/${GCC_TARGET}/${PORTVERSION}/include-fixed

 .include <bsd.port.post.mk>

--=20
You are receiving this mail because:
You are the assignee for the bug.=



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