pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/cross/avr-gcc cross/avr-gcc: Update to 10.3.0nb1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b0d9c4923ba3
branches:  trunk
changeset: 458403:b0d9c4923ba3
user:      micha <micha%pkgsrc.org@localhost>
date:      Wed Sep 15 12:20:14 2021 +0000

description:
cross/avr-gcc: Update to 10.3.0nb1

Deleting the unwanted libcc1 after installation failed on some OS (because
they use non-standard paths for the library directory). The configure option
"--disable-libcc1" is now used instead.
Bump PKGREVISION because this change removes 2 plugins from the PLIST too.

Mention the C++ compiler in DESCR again.

diffstat:

 cross/avr-gcc/DESCR    |  2 +-
 cross/avr-gcc/Makefile |  7 ++++---
 cross/avr-gcc/PLIST    |  4 +---
 3 files changed, 6 insertions(+), 7 deletions(-)

diffs (59 lines):

diff -r b6e2b1aed25d -r b0d9c4923ba3 cross/avr-gcc/DESCR
--- a/cross/avr-gcc/DESCR       Wed Sep 15 12:07:23 2021 +0000
+++ b/cross/avr-gcc/DESCR       Wed Sep 15 12:20:14 2021 +0000
@@ -1,4 +1,4 @@
 GCC configured as cross-compiler for Atmel AVR 8-bit RISC
 microcontrollers.
 
-This package includes a C compiler.
+This package includes C and C++ compilers.
diff -r b6e2b1aed25d -r b0d9c4923ba3 cross/avr-gcc/Makefile
--- a/cross/avr-gcc/Makefile    Wed Sep 15 12:07:23 2021 +0000
+++ b/cross/avr-gcc/Makefile    Wed Sep 15 12:20:14 2021 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.47 2021/09/08 12:07:06 micha Exp $
+# $NetBSD: Makefile,v 1.48 2021/09/15 12:20:15 micha Exp $
 
 DISTNAME=              gcc-10.3.0
+PKGREVISION=           1
 PKGNAME=               ${DISTNAME:C/^/avr-/}
 CATEGORIES=            cross
 MASTER_SITES=          ${MASTER_SITE_GNU:=gcc/${DISTNAME}/}
@@ -32,6 +33,7 @@
 
 CONFIGURE_ARGS+=       --enable-languages='c c++'
 CONFIGURE_ARGS+=       --enable-multilib
+CONFIGURE_ARGS+=       --disable-libcc1
 CONFIGURE_ARGS+=       --disable-libquadmath-support
 CONFIGURE_ARGS+=       --disable-lto
 CONFIGURE_ARGS+=       --disable-nls
@@ -58,10 +60,9 @@
 pre-configure:
        ${RUN} cd ${WRKSRC} && ${MKDIR} ${OBJDIR}
 
-# Remove libcc1 and some manual pages from generic locations
+# Remove some manual pages from generic locations
 # File paths from this package should not overlap with other GCC packages
 post-install:
-       ${RM} -f ${DESTDIR}${PREFIX}/lib/libcc1.*
        ${RM} -rf ${DESTDIR}${PREFIX}/${PKGMANDIR}/man7
 
 BUILDLINK_API_DEPENDS.zlib+=   zlib>=1.2.3
diff -r b6e2b1aed25d -r b0d9c4923ba3 cross/avr-gcc/PLIST
--- a/cross/avr-gcc/PLIST       Wed Sep 15 12:07:23 2021 +0000
+++ b/cross/avr-gcc/PLIST       Wed Sep 15 12:20:14 2021 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.7 2021/09/08 12:07:06 micha Exp $
+@comment $NetBSD: PLIST,v 1.8 2021/09/15 12:20:15 micha Exp $
 bin/avr-c++
 bin/avr-cpp
 bin/avr-g++
@@ -877,8 +877,6 @@
 lib/gcc/avr/${PKGVERSION}/plugin/include/wide-int.h
 lib/gcc/avr/${PKGVERSION}/plugin/include/xcoff.h
 lib/gcc/avr/${PKGVERSION}/plugin/include/xcoffout.h
-lib/gcc/avr/${PKGVERSION}/plugin/libcc1plugin.la
-lib/gcc/avr/${PKGVERSION}/plugin/libcp1plugin.la
 lib/gcc/avr/${PKGVERSION}/tiny-stack/double64/libgcc.a
 lib/gcc/avr/${PKGVERSION}/tiny-stack/double64/libgcov.a
 lib/gcc/avr/${PKGVERSION}/tiny-stack/libgcc.a



Home | Main Index | Thread Index | Old Index