summaryrefslogtreecommitdiff
path: root/devel/tavrasm
diff options
context:
space:
mode:
authorjmmv <jmmv@pkgsrc.org>2003-09-11 18:08:44 +0000
committerjmmv <jmmv@pkgsrc.org>2003-09-11 18:08:44 +0000
commit6c08f5c8e7167223449f4e5ce2bd1a1c8b726f8c (patch)
treefd5b3176bcfc4e22f3c8b699feca779a8e2a6487 /devel/tavrasm
parent038398ced6ae309097d53a72918248f580a8e8f0 (diff)
downloadpkgsrc-6c08f5c8e7167223449f4e5ce2bd1a1c8b726f8c.tar.gz
Update to 1.19. Closes PR pkg/22711 by Lloyd Parkes. Changes since 1.17:
1.19 - Messed up applying some of the patches in 1.18 :-( 1.18 - Added support for specifying unsigned integer values [0; 2^32-1] Thanks to Richard Gerrits for pointing out the problem. Added support for specifying Z/Y/Z for adiw, sbiw and movw. Thanks to Richard Barrington for suggesting this. Added support for a bunch of Mega devices. Thanks to Andreas Schwarz for supplying a patch with these. Fixed problems compiling with GCC 3.2 Several people supplied patches, but I was just too busy integrating them. Thanks to Patrick Dreker for supplying the final patch.
Diffstat (limited to 'devel/tavrasm')
-rw-r--r--devel/tavrasm/Makefile6
-rw-r--r--devel/tavrasm/distinfo8
-rw-r--r--devel/tavrasm/patches/patch-aa18
3 files changed, 21 insertions, 11 deletions
diff --git a/devel/tavrasm/Makefile b/devel/tavrasm/Makefile
index a8e89dab518..e714e9fcd35 100644
--- a/devel/tavrasm/Makefile
+++ b/devel/tavrasm/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.7 2003/07/21 16:43:47 martti Exp $
+# $NetBSD: Makefile,v 1.8 2003/09/11 18:08:44 jmmv Exp $
#
DISTNAME= tavrasm
-PKGNAME= ${DISTNAME}-1.17
+PKGNAME= ${DISTNAME}-1.19
CATEGORIES= devel
MASTER_SITES= http://www.tavrasm.org/
@@ -12,7 +12,7 @@ COMMENT= Assembler for the Atmel AVR series of microcontrollers
BUILD_DEPENDS+= bison-[0-9]*:../../devel/bison
-WRKSRCTOP= ${WRKDIR}/tavrasm.117
+WRKSRCTOP= ${WRKDIR}/${PKGNAME_NOREV:S/.//:S/-/./}
WRKSRC= ${WRKSRCTOP}/src
MAKEFILE= makefile
diff --git a/devel/tavrasm/distinfo b/devel/tavrasm/distinfo
index c686f09db5b..42e5a376ea3 100644
--- a/devel/tavrasm/distinfo
+++ b/devel/tavrasm/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.3 2002/08/20 08:30:46 dillo Exp $
+$NetBSD: distinfo,v 1.4 2003/09/11 18:08:44 jmmv Exp $
-SHA1 (tavrasm-1.17/tavrasm.tar.gz) = 08b1a789d6cbcabd3d4aa04dd2376fa9bf7a5dee
-Size (tavrasm-1.17/tavrasm.tar.gz) = 61047 bytes
-SHA1 (patch-aa) = 610a9d14c1ca7ae245cebd72b326fb6ad8f3ef4f
+SHA1 (tavrasm-1.19/tavrasm.tar.gz) = ad51147bf58c96c13a0a579b3626054a054ea173
+Size (tavrasm-1.19/tavrasm.tar.gz) = 62065 bytes
+SHA1 (patch-aa) = 22024df9375acc24663db6cc625893140e3bf6ac
diff --git a/devel/tavrasm/patches/patch-aa b/devel/tavrasm/patches/patch-aa
index a907758391f..11ba9697b7d 100644
--- a/devel/tavrasm/patches/patch-aa
+++ b/devel/tavrasm/patches/patch-aa
@@ -1,10 +1,20 @@
-$NetBSD: patch-aa,v 1.2 2002/08/20 08:30:46 dillo Exp $
+$NetBSD: patch-aa,v 1.3 2003/09/11 18:08:45 jmmv Exp $
---- makefile.orig Tue Apr 3 10:27:39 2001
+--- makefile.orig 2003-03-12 01:56:02.000000000 +0100
+++ makefile
-@@ -30,6 +30,8 @@ CPPFLAGS =
+@@ -24,12 +24,14 @@ VERSION = 117
+
+ ### Compiler options #########################################################
+
+-CC = gcc
+-CFLAGS = -O2 -Wall -DAVRLANG=LANGUAGE_$(LANGUAGE)
+-CPPFLAGS =
++CC ?= gcc
++CFLAGS += -DAVRLANG=LANGUAGE_$(LANGUAGE)
++CPPFLAGS ?=
CCFLAGS = $(CFLAGS) $(CPPFLAGS)
- LINK = -lm
+-LINK = -lm -lstdc++
++LINK = $(LDFLAGS) $(LIBS) -lm -lstdc++
OBJS = avrparse.o avrlex.o avrasm.o symbol.o semantic.o utils.o
+LEX = lex
+YACC = bison