pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc (cross/avr-binutls, emulater/simulvar) Fix libiberty i...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/192fb3e74e32
branches:  trunk
changeset: 458874:192fb3e74e32
user:      mef <mef%pkgsrc.org@localhost>
date:      Wed Sep 22 02:35:40 2021 +0000

description:
(cross/avr-binutls, emulater/simulvar) Fix libiberty issue

diffstat:

 cross/avr-binutils/Makefile |  7 ++++++-
 cross/avr-binutils/PLIST    |  4 +++-
 emulators/simulavr/Makefile |  4 ++--
 3 files changed, 11 insertions(+), 4 deletions(-)

diffs (60 lines):

diff -r e88d9bc8c51c -r 192fb3e74e32 cross/avr-binutils/Makefile
--- a/cross/avr-binutils/Makefile       Tue Sep 21 23:26:02 2021 +0000
+++ b/cross/avr-binutils/Makefile       Wed Sep 22 02:35:40 2021 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.32 2021/09/08 12:02:59 micha Exp $
+# $NetBSD: Makefile,v 1.33 2021/09/22 02:35:40 mef Exp $
 
 DISTNAME=              binutils-2.37
 PKGNAME=               ${DISTNAME:S/^/avr-/}
+PKGREVISION=           1
 CATEGORIES=            cross
 MASTER_SITES=          ${MASTER_SITE_GNU:=binutils/}
 EXTRACT_SUFX=          .tar.bz2
@@ -55,6 +56,10 @@
          ${DESTDIR}${PREFIX}/avr/lib;                          \
        ${INSTALL_DATA} bfd.h ${DESTDIR}${PREFIX}/avr/include;  \
        )
+       # emulators/simulavr wants libiberty
+       (cd ${WRKSRC}/libiberty ;                               \
+       ${INSTALL_DATA} libiberty.* ${DESTDIR}${PREFIX}/avr/lib/libiberty       \
+       )
        # emulators/simulavr wants following header files
        (cd ${WRKSRC}/include;                                  \
        for f in ansidecl.h symcat.h; do                        \
diff -r e88d9bc8c51c -r 192fb3e74e32 cross/avr-binutils/PLIST
--- a/cross/avr-binutils/PLIST  Tue Sep 21 23:26:02 2021 +0000
+++ b/cross/avr-binutils/PLIST  Wed Sep 22 02:35:40 2021 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.11 2021/09/08 12:02:59 micha Exp $
+@comment $NetBSD: PLIST,v 1.12 2021/09/22 02:35:40 mef Exp $
 avr/bin/ar
 avr/bin/as
 avr/bin/ld
@@ -122,6 +122,8 @@
 avr/lib/ldscripts/avrxmega7.xr
 avr/lib/ldscripts/avrxmega7.xu
 avr/lib/libbfd.la
+avr/lib/libiberty/libiberty.a
+avr/lib/libiberty/libiberty.texi
 bin/avr-addr2line
 bin/avr-ar
 bin/avr-as
diff -r e88d9bc8c51c -r 192fb3e74e32 emulators/simulavr/Makefile
--- a/emulators/simulavr/Makefile       Tue Sep 21 23:26:02 2021 +0000
+++ b/emulators/simulavr/Makefile       Wed Sep 22 02:35:40 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.31 2020/05/31 14:11:42 mef Exp $
+# $NetBSD: Makefile,v 1.32 2021/09/22 02:35:40 mef Exp $
 #
 DISTNAME=              simulavr-1.0.0
 PKGREVISION=           5
@@ -16,7 +16,7 @@
 CONFIGURE_ARGS+=       --disable-tests
 CONFIGURE_ARGS+=       --enable-python=python${PYVERSSUFFIX}
 CONFIGURE_ARGS+=       --with-bfd=${PREFIX}/avr
-CONFIGURE_ARGS+=       --with-libiberty=${PREFIX}/lib/gcc/avr
+CONFIGURE_ARGS+=       --with-libiberty=${PREFIX}/avr/lib/libiberty
 CONFIGURE_ENV+=                TEX=no
 
 # Following line does not work yet (examples/python directory)



Home | Main Index | Thread Index | Old Index