pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/tavrasm



Module Name:    pkgsrc
Committed By:   joerg
Date:           Thu Dec 19 22:13:49 UTC 2019

Modified Files:
        pkgsrc/devel/tavrasm: Makefile distinfo
        pkgsrc/devel/tavrasm/patches: patch-aa

Log Message:
Add missing dependency on generated files. Build as C++03.


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 pkgsrc/devel/tavrasm/Makefile
cvs rdiff -u -r1.11 -r1.12 pkgsrc/devel/tavrasm/distinfo
cvs rdiff -u -r1.4 -r1.5 pkgsrc/devel/tavrasm/patches/patch-aa

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/tavrasm/Makefile
diff -u pkgsrc/devel/tavrasm/Makefile:1.21 pkgsrc/devel/tavrasm/Makefile:1.22
--- pkgsrc/devel/tavrasm/Makefile:1.21  Sun Apr 26 13:26:32 2015
+++ pkgsrc/devel/tavrasm/Makefile       Thu Dec 19 22:13:48 2019
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.21 2015/04/26 13:26:32 joerg Exp $
+# $NetBSD: Makefile,v 1.22 2019/12/19 22:13:48 joerg Exp $
 #
 
 DISTNAME=      tavrasm
@@ -10,7 +10,7 @@ MAINTAINER=   pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=      http://www.tavrasm.org/
 COMMENT=       Assembler for the Atmel AVR series of microcontrollers
 
-MAKE_JOBS_SAFE=                no
+USE_LANGUAGES= c++03
 
 WRKSRC=                ${WRKDIR}/${PKGNAME_NOREV:S/.//:S/-/./}
 BUILD_DIRS=    src

Index: pkgsrc/devel/tavrasm/distinfo
diff -u pkgsrc/devel/tavrasm/distinfo:1.11 pkgsrc/devel/tavrasm/distinfo:1.12
--- pkgsrc/devel/tavrasm/distinfo:1.11  Tue Nov  3 03:29:34 2015
+++ pkgsrc/devel/tavrasm/distinfo       Thu Dec 19 22:13:48 2019
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.11 2015/11/03 03:29:34 agc Exp $
+$NetBSD: distinfo,v 1.12 2019/12/19 22:13:48 joerg Exp $
 
 SHA1 (tavrasm-1.22/tavrasm.tar.gz) = 9d19035b9fcc460a33a85338010541824633c417
 RMD160 (tavrasm-1.22/tavrasm.tar.gz) = 1e0f4553be660ebcfa44b2a9d81b3936997492e2
 SHA512 (tavrasm-1.22/tavrasm.tar.gz) = 0f33607e2ffbe8c56268b15dc62fe6c2b565bf898c68e198846f11fb30da4da3f398d07ef7ac16050dbc92ffcb04612459027a2c27cf48fc7d74392c5f6a38dc
 Size (tavrasm-1.22/tavrasm.tar.gz) = 65685 bytes
-SHA1 (patch-aa) = 45442e39cee3daaf08361811ec8607b59c223a2c
+SHA1 (patch-aa) = d2e8d79bd5a92beb19fff3235efd948d841905e7
 SHA1 (patch-ab) = 209bbf9f2ce809d0d7460355258ab5b6d955d9a6

Index: pkgsrc/devel/tavrasm/patches/patch-aa
diff -u pkgsrc/devel/tavrasm/patches/patch-aa:1.4 pkgsrc/devel/tavrasm/patches/patch-aa:1.5
--- pkgsrc/devel/tavrasm/patches/patch-aa:1.4   Sun Oct  1 21:03:36 2006
+++ pkgsrc/devel/tavrasm/patches/patch-aa       Thu Dec 19 22:13:48 2019
@@ -1,15 +1,14 @@
-$NetBSD: patch-aa,v 1.4 2006/10/01 21:03:36 dillo Exp $
+$NetBSD: patch-aa,v 1.5 2019/12/19 22:13:48 joerg Exp $
 
---- src/makefile.orig  2003-03-12 01:56:02.000000000 +0100
+--- src/makefile.orig  2004-12-11 23:51:29.000000000 +0000
 +++ src/makefile
-@@ -24,12 +24,14 @@ VERSION            = 117
+@@ -24,27 +24,30 @@ VERSION            = 122
  
  ### Compiler options #########################################################
  
 -CC            = gcc
 -CFLAGS          = -O2 -Wall -DAVRLANG=LANGUAGE_$(LANGUAGE)
 -CPPFLAGS      =
-+CC            ?= gcc
 +CFLAGS          += -DAVRLANG=LANGUAGE_$(LANGUAGE)
 +CPPFLAGS      ?=
  CCFLAGS         = $(CFLAGS) $(CPPFLAGS)
@@ -21,14 +20,17 @@ $NetBSD: patch-aa,v 1.4 2006/10/01 21:03
  
  ### Defaul CC files #########################################################
  
-@@ -38,13 +40,15 @@ OBJS               = avrparse.o avrlex.o avrasm.o sym
+ .cc.o:
+-              $(CC) -c $(CCFLAGS) $<
++              $(CXX) -c $(CCFLAGS) $<
  
  ### Executable ##############################################################
  
 +all:  $(EXENAME)
 +
  $(EXENAME):   $(OBJS)
-               $(CC) $(CCFLAGS) $(OBJS) $(LINK) -o $@
+-              $(CC) $(CCFLAGS) $(OBJS) $(LINK) -o $@
++              $(CXX) $(CCFLAGS) $(OBJS) $(LINK) -o $@
  
  ### Parser file #############################################################
  
@@ -38,7 +40,7 @@ $NetBSD: patch-aa,v 1.4 2006/10/01 21:03
                mv avrparse avrparse.cc
                mv avrparse.h avrparse.hh
  
-@@ -52,12 +56,12 @@ avrparse.cc:       avrparse.y avrasm.hh symbol
+@@ -52,12 +55,13 @@ avrparse.cc:       avrparse.y avrasm.hh symbol
  
  avrlex.cc:    avrparse.cc avrlex.l symbol.hh semantic.hh avrparse.hh \
                opcodes.hh avrasm.hh messages.hh
@@ -49,6 +51,7 @@ $NetBSD: patch-aa,v 1.4 2006/10/01 21:03
  
 -avrlex.o:     avrlex.l
 -avrparse.o:   avrparse.y
++avrparse.hh:  avrparse.cc
 +avrlex.o:     avrlex.cc
 +avrparse.o:   avrparse.cc
  avrasm.o:     avrasm.cc avrasm.hh symbol.hh devices.hh messages.hh



Home | Main Index | Thread Index | Old Index