pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/cross/avr-libc Update to 1.6.7. Upstream changelog is ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e209adbb5889
branches:  trunk
changeset: 564104:e209adbb5889
user:      hasso <hasso%pkgsrc.org@localhost>
date:      Thu Aug 27 15:32:15 2009 +0000

description:
Update to 1.6.7. Upstream changelog is obviously too massive to paste it
here. All hard update work done by Simon 'corecode' Schubert and minor
modifications (DESTDIR etc) by me.

diffstat:

 cross/avr-libc/Makefile         |    50 +-
 cross/avr-libc/PLIST            |  1385 +++++++++++++++++++++++++++++++++++++-
 cross/avr-libc/distinfo         |    10 +-
 cross/avr-libc/patches/patch-aa |    58 -
 cross/avr-libc/patches/patch-ab |    15 -
 5 files changed, 1335 insertions(+), 183 deletions(-)

diffs (truncated from 1702 to 300 lines):

diff -r 24a05f391377 -r e209adbb5889 cross/avr-libc/Makefile
--- a/cross/avr-libc/Makefile   Thu Aug 27 15:29:37 2009 +0000
+++ b/cross/avr-libc/Makefile   Thu Aug 27 15:32:15 2009 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.14 2009/05/28 20:59:54 zafer Exp $
+# $NetBSD: Makefile,v 1.15 2009/08/27 15:32:15 hasso Exp $
 
-DISTNAME=              avr-libc-1.2.5
-PKGREVISION=           4
+DISTNAME=              avr-libc-1.6.7
 CATEGORIES=            cross
 MASTER_SITES=          http://savannah.nongnu.org/download/avr-libc/
 EXTRACT_SUFX=          .tar.bz2
@@ -10,6 +9,8 @@
 HOMEPAGE=              http://savannah.nongnu.org/projects/avr-libc
 COMMENT=               C and math library for Atmel AVR 8-bit microcontrollers
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 BUILD_DEPENDS+=                avr-binutils-[0-9]*:../../cross/avr-binutils
 BUILD_DEPENDS+=                avr-gcc-[0-9]*:../../cross/avr-gcc
 BUILD_DEPENDS+=                doxygen>=1.4.7:../../devel/doxygen
@@ -18,52 +19,33 @@
 
 USE_TOOLS+=            gmake
 USE_TOOLS+=            perl
-HAS_CONFIGURE=         yes
+GNU_CONFIGURE=         yes
+USE_GNU_CONFIGURE_HOST= no
 CONFIGURE_ENV+=                AS=${PREFIX}/bin/avr-as
 CONFIGURE_ENV+=                AR=${PREFIX}/bin/avr-ar
 CONFIGURE_ENV+=                RANLIB=${PREFIX}/bin/avr-ranlib
 CONFIGURE_ENV+=                CC=${PREFIX}/bin/avr-gcc
+CONFIGURE_ARGS+=       --build=${MACHINE_GNU_PLATFORM:Q} --host=avr
 CONFIGURE_ARGS+=       --enable-doc
 CONFIGURE_ARGS+=       --disable-versioned-doc
-# avr-libc's method to build the man pages seems to be broken
-CONFIGURE_ARGS+=       --disable-man-doc
-CONFIGURE_SCRIPT=      ${SRCDIR}/doconf
-SRCDIR=                        ${WRKDIR}/${DISTNAME}
-
-post-extract:
-       ${INSTALL} -m 755 ${PKGSRCDIR}/mk/gnu-config/config.guess ${WRKSRC}/config.guess
 
-do-build:
-       cd ${WRKSRC} && ./domake MAKE=${GMAKE:Q}
+post-build:
+       cd ${WRKSRC}/doc/examples/demo && ${GMAKE}
+       cd ${WRKSRC}/doc/examples/demo && ${GMAKE} dox
 
-do-install:
-       cd ${WRKSRC} && ./domake MAKE=${GMAKE:Q} install
-       ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/avr-libc
-       ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/avr-libc/examples
-       ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/avr-libc/examples/demo
-       ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/avr-libc/examples/twitest
+post-install:
        ${INSTALL_DATA} \
                ${WRKSRC}/LICENSE \
                ${WRKSRC}/AUTHORS \
-               ${PREFIX}/share/doc/avr-libc
-       for f in avr-recv.c io.c prg printf.h progmem.c \
-               send_byte.s signal.c;\
-       do \
-               ${INSTALL_DATA} ${WRKSRC}/doc/examples/$$f \
-                       ${PREFIX}/share/doc/avr-libc/examples; \
-       done
-       cd ${WRKSRC}/doc/examples/demo && ${GMAKE}
-       cd ${WRKSRC}/doc/examples/demo && ${GMAKE} dox
+               ${DESTDIR}${PREFIX}/share/doc/avr-libc
        for f in Makefile demo.c demo.bin demo.hex demo.pdf \
                demo.srec;\
        do \
                ${INSTALL_DATA} ${WRKSRC}/doc/examples/demo/$$f \
-                       ${PREFIX}/share/doc/avr-libc/examples/demo; \
-       done
-       for f in Makefile twitest.c;\
-       do \
-               ${INSTALL_DATA} ${WRKSRC}/doc/examples/twitest/$$f \
-                       ${PREFIX}/share/doc/avr-libc/examples/twitest; \
+                       ${DESTDIR}${PREFIX}/share/doc/avr-libc/examples/demo; \
        done
 
 .include "../../mk/bsd.pkg.mk"
+
+# XXX: very evil hack to override CC, doing it via CONFIGURE_ENV doesn't work.
+ALL_ENV+= CC=${PREFIX}/bin/avr-gcc
diff -r 24a05f391377 -r e209adbb5889 cross/avr-libc/PLIST
--- a/cross/avr-libc/PLIST      Thu Aug 27 15:29:37 2009 +0000
+++ b/cross/avr-libc/PLIST      Thu Aug 27 15:32:15 2009 +0000
@@ -1,17 +1,12 @@
-@comment $NetBSD: PLIST,v 1.5 2009/06/14 17:39:53 joerg Exp $
-avr/include/ctype.h
-avr/include/errno.h
-avr/include/inttypes.h
-avr/include/math.h
-avr/include/setjmp.h
-avr/include/stdint.h
-avr/include/stdio.h
-avr/include/stdlib.h
-avr/include/string.h
+@comment $NetBSD: PLIST,v 1.6 2009/08/27 15:32:15 hasso Exp $
+avr/include/alloca.h
+avr/include/assert.h
 avr/include/avr/boot.h
+avr/include/avr/common.h
 avr/include/avr/crc16.h
 avr/include/avr/delay.h
 avr/include/avr/eeprom.h
+avr/include/avr/fuse.h
 avr/include/avr/interrupt.h
 avr/include/avr/io.h
 avr/include/avr/io1200.h
@@ -29,47 +24,304 @@
 avr/include/avr/io8534.h
 avr/include/avr/io8535.h
 avr/include/avr/io86r401.h
+avr/include/avr/io90pwm1.h
+avr/include/avr/io90pwm216.h
+avr/include/avr/io90pwm2b.h
+avr/include/avr/io90pwm316.h
+avr/include/avr/io90pwm3b.h
+avr/include/avr/io90pwm81.h
+avr/include/avr/io90pwmx.h
+avr/include/avr/io90scr100.h
+avr/include/avr/ioa6289.h
 avr/include/avr/ioat94k.h
 avr/include/avr/iocan128.h
+avr/include/avr/iocan32.h
+avr/include/avr/iocan64.h
+avr/include/avr/iocanxx.h
 avr/include/avr/iom103.h
 avr/include/avr/iom128.h
+avr/include/avr/iom1280.h
+avr/include/avr/iom1281.h
+avr/include/avr/iom1284p.h
+avr/include/avr/iom128rfa1.h
 avr/include/avr/iom16.h
 avr/include/avr/iom161.h
 avr/include/avr/iom162.h
 avr/include/avr/iom163.h
+avr/include/avr/iom164.h
 avr/include/avr/iom165.h
+avr/include/avr/iom165p.h
 avr/include/avr/iom168.h
+avr/include/avr/iom168p.h
 avr/include/avr/iom169.h
+avr/include/avr/iom169p.h
+avr/include/avr/iom16hva.h
+avr/include/avr/iom16m1.h
+avr/include/avr/iom16u4.h
+avr/include/avr/iom2560.h
+avr/include/avr/iom2561.h
 avr/include/avr/iom32.h
 avr/include/avr/iom323.h
+avr/include/avr/iom324.h
 avr/include/avr/iom325.h
 avr/include/avr/iom3250.h
+avr/include/avr/iom328p.h
+avr/include/avr/iom329.h
+avr/include/avr/iom3290.h
+avr/include/avr/iom32c1.h
+avr/include/avr/iom32hvb.h
+avr/include/avr/iom32m1.h
+avr/include/avr/iom32u4.h
+avr/include/avr/iom32u6.h
+avr/include/avr/iom406.h
 avr/include/avr/iom48.h
+avr/include/avr/iom48p.h
 avr/include/avr/iom64.h
+avr/include/avr/iom640.h
+avr/include/avr/iom644.h
+avr/include/avr/iom644p.h
 avr/include/avr/iom645.h
 avr/include/avr/iom6450.h
+avr/include/avr/iom649.h
+avr/include/avr/iom6490.h
+avr/include/avr/iom64c1.h
+avr/include/avr/iom64m1.h
 avr/include/avr/iom8.h
 avr/include/avr/iom8515.h
 avr/include/avr/iom8535.h
 avr/include/avr/iom88.h
+avr/include/avr/iom88p.h
+avr/include/avr/iom8hva.h
 avr/include/avr/iomx8.h
+avr/include/avr/iomxx0_1.h
+avr/include/avr/iomxx4.h
+avr/include/avr/iomxxhva.h
 avr/include/avr/iotn11.h
 avr/include/avr/iotn12.h
 avr/include/avr/iotn13.h
+avr/include/avr/iotn13a.h
 avr/include/avr/iotn15.h
+avr/include/avr/iotn167.h
 avr/include/avr/iotn22.h
 avr/include/avr/iotn2313.h
+avr/include/avr/iotn24.h
+avr/include/avr/iotn25.h
 avr/include/avr/iotn26.h
+avr/include/avr/iotn261.h
 avr/include/avr/iotn28.h
+avr/include/avr/iotn43u.h
+avr/include/avr/iotn44.h
+avr/include/avr/iotn45.h
+avr/include/avr/iotn461.h
+avr/include/avr/iotn48.h
+avr/include/avr/iotn84.h
+avr/include/avr/iotn85.h
+avr/include/avr/iotn861.h
+avr/include/avr/iotn87.h
+avr/include/avr/iotn88.h
+avr/include/avr/iotnx4.h
+avr/include/avr/iotnx5.h
+avr/include/avr/iotnx61.h
+avr/include/avr/iousb1286.h
+avr/include/avr/iousb1287.h
+avr/include/avr/iousb162.h
+avr/include/avr/iousb646.h
+avr/include/avr/iousb647.h
+avr/include/avr/iousb82.h
+avr/include/avr/iousbxx2.h
+avr/include/avr/iousbxx6_7.h
+avr/include/avr/iox128a1.h
+avr/include/avr/iox128a3.h
+avr/include/avr/iox128d3.h
+avr/include/avr/iox16a4.h
+avr/include/avr/iox16d4.h
+avr/include/avr/iox192a3.h
+avr/include/avr/iox256a3.h
+avr/include/avr/iox256a3b.h
+avr/include/avr/iox256d3.h
+avr/include/avr/iox32a4.h
+avr/include/avr/iox32d4.h
+avr/include/avr/iox64a1.h
+avr/include/avr/iox64a3.h
+avr/include/avr/iox64d3.h
+avr/include/avr/lock.h
 avr/include/avr/parity.h
 avr/include/avr/pgmspace.h
 avr/include/avr/portpins.h
+avr/include/avr/power.h
 avr/include/avr/sfr_defs.h
 avr/include/avr/signal.h
+avr/include/avr/signature.h
 avr/include/avr/sleep.h
+avr/include/avr/version.h
 avr/include/avr/wdt.h
+avr/include/compat/deprecated.h
 avr/include/compat/ina90.h
 avr/include/compat/twi.h
+avr/include/ctype.h
+avr/include/errno.h
+avr/include/inttypes.h
+avr/include/math.h
+avr/include/setjmp.h
+avr/include/stdint.h
+avr/include/stdio.h
+avr/include/stdlib.h
+avr/include/string.h
+avr/include/util/atomic.h
+avr/include/util/crc16.h
+avr/include/util/delay.h
+avr/include/util/delay_basic.h
+avr/include/util/parity.h
+avr/include/util/setbaud.h
+avr/include/util/twi.h
+avr/lib/avr25/crt86401.o
+avr/lib/avr25/crttn13.o
+avr/lib/avr25/crttn13a.o
+avr/lib/avr25/crttn2313.o
+avr/lib/avr25/crttn24.o
+avr/lib/avr25/crttn25.o
+avr/lib/avr25/crttn261.o
+avr/lib/avr25/crttn43u.o
+avr/lib/avr25/crttn44.o
+avr/lib/avr25/crttn45.o
+avr/lib/avr25/crttn461.o
+avr/lib/avr25/crttn48.o
+avr/lib/avr25/crttn84.o
+avr/lib/avr25/crttn85.o
+avr/lib/avr25/crttn861.o
+avr/lib/avr25/crttn88.o
+avr/lib/avr25/libc.a
+avr/lib/avr25/libm.a
+avr/lib/avr25/libprintf_flt.a
+avr/lib/avr25/libprintf_min.a
+avr/lib/avr25/libscanf_flt.a
+avr/lib/avr25/libscanf_min.a
+avr/lib/avr3/crt43320.o
+avr/lib/avr3/crt43355.o
+avr/lib/avr3/crt76711.o
+avr/lib/avr3/crtm103.o
+avr/lib/avr3/crtusb162.o
+avr/lib/avr3/crtusb82.o
+avr/lib/avr3/libc.a
+avr/lib/avr3/libm.a
+avr/lib/avr3/libprintf_flt.a
+avr/lib/avr3/libprintf_min.a
+avr/lib/avr3/libscanf_flt.a



Home | Main Index | Thread Index | Old Index