summaryrefslogtreecommitdiff
path: root/cross/avr-libc/Makefile
diff options
context:
space:
mode:
authorwennmach <wennmach>2005-08-15 08:45:54 +0000
committerwennmach <wennmach>2005-08-15 08:45:54 +0000
commit399e74f69c7cd092460ab9ec9232817941c15f8e (patch)
treee4f815d97b522cf4094ac7db882d9e4ccebdbf70 /cross/avr-libc/Makefile
parente1807993966c9c864eb87541e7f3abe783099ef7 (diff)
downloadpkgsrc-399e74f69c7cd092460ab9ec9232817941c15f8e.tar.gz
Upgrade avr-libc to version 1.2.5.
avr-libc-1.2.5 is the 5th bugfix release after 1.2. The following list shortly summarizes the changes in version 1.2.0 compared to version 1.0.5 of AVR Libc, which was the latest release from the 1.0 release line by the time 1.2.0 was released. * Removal of all items marked as deprecated in the past, namely: o all header files from the base include directory, as they have been moved to the avr/ subdirectory long time ago (e.g. <io.h> is now <avr/io.h>), o deprecated macros and functions (sbi, cbi, inb, outb, inp, outp, inw, outw, BV, PRG_RDB, eeprom_rb, eeprom_rw, eeprom_wb) o <avr/timer.h> removed completely, as it was bogus and not really useful at all * <avr/ina90.h> and <avr/twi.h> have been moved to the new <compat/...> include subdirectory, * The following new devices are supported: o ATmega165 o ATmega325 o ATmega3250 o ATmega645 o ATmega6450 o ATmega48 o ATmega88 o ATmega168 o ATtiny13 o ATtiny2313 o AT90CAN128 * realloc() is now implemented, * the boot API has been changed in a way that is incompatible with the 1.0 API, * the delay API has two new functions added to allow the specification of delays directly in microseconds, or milliseconds, * documentation changes: a newer version of Doxygen is used; Unix-style manual pages are now generated as part of the documentation; a helper script named avr-man can be used to display these manual pages, * a single unified Copyright now applies to all files in AVR Libc.
Diffstat (limited to 'cross/avr-libc/Makefile')
-rw-r--r--cross/avr-libc/Makefile18
1 files changed, 12 insertions, 6 deletions
diff --git a/cross/avr-libc/Makefile b/cross/avr-libc/Makefile
index 8831e427f11..654b31c5189 100644
--- a/cross/avr-libc/Makefile
+++ b/cross/avr-libc/Makefile
@@ -1,12 +1,12 @@
-# $NetBSD: Makefile,v 1.5 2005/03/24 21:12:52 wiz Exp $
+# $NetBSD: Makefile,v 1.6 2005/08/15 08:45:54 wennmach Exp $
-DISTNAME= avr-libc-1.0.4
+DISTNAME= avr-libc-1.2.5
CATEGORIES= cross
MASTER_SITES= http://people.freebsd.org/~joerg/ \
http://savannah.nongnu.org/download/avr-libc/
EXTRACT_SUFX= .tar.bz2
-MAINTAINER= karlj@mdstud.chalmers.se
+MAINTAINER= wennmach@NetBSD.org
HOMEPAGE= http://savannah.nongnu.org/projects/avr-libc
COMMENT= C and math library for Atmel AVR 8-bit microcontrollers
@@ -18,10 +18,16 @@ BUILD_DEPENDS+= transfig-*:../../print/transfig
BUILD_DEPENDS+= netpbm-*:../../graphics/netpbm
USE_BZIP2= yes
+USE_TOOLS+= gmake
HAS_CONFIGURE= yes
-CONFIGURE_ENV= CC=${LOCALBASE}/bin/avr-gcc PREFIX=${PREFIX}
-CONFIGURE_SCRIPT= ./doconf
-CONFIGURE_ARGS= --disable-versioned-doc --enable-html-doc --enable-doc
+CONFIGURE_ENV+= CC=${LOCALBASE}/bin/avr-gcc
+CONFIGURE_ENV+= PREFIX=${PREFIX}
+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}
do-build:
(cd ${WRKSRC}; ./domake MAKE=${GMAKE})