summaryrefslogtreecommitdiffstats
path: root/devel/simulavr
diff options
context:
space:
mode:
authorjoerg <joerg@FreeBSD.org>2004-06-20 21:18:36 +0000
committerjoerg <joerg@FreeBSD.org>2004-06-20 21:18:36 +0000
commit4760bd5c702ebd19cec93c599659b41cbe20b69d (patch)
treee14c39465f283c4cae2e79ab36db38d23b4615ab /devel/simulavr
parent46f34cda2d6c28f987526683acc4ee521c728559 (diff)
downloadFreeBSD-ports-4760bd5c702ebd19cec93c599659b41cbe20b69d.zip
FreeBSD-ports-4760bd5c702ebd19cec93c599659b41cbe20b69d.tar.gz
Don't use the ancient -m avrr85xx linker `emulation' option, binutils
2.15 doesn't provide it anymore. Use -m avr2 instead now. This patch is only required as a stop-gap measure, until the official sources have fixed that.
Diffstat (limited to 'devel/simulavr')
-rw-r--r--devel/simulavr/Makefile2
-rw-r--r--devel/simulavr/files/patch-test_asm22
2 files changed, 23 insertions, 1 deletions
diff --git a/devel/simulavr/Makefile b/devel/simulavr/Makefile
index 2e32330..bd985f5 100644
--- a/devel/simulavr/Makefile
+++ b/devel/simulavr/Makefile
@@ -7,7 +7,7 @@
PORTNAME= simulavr
PORTVERSION= 0.1.2
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SAVANNAH}
MASTER_SITE_SUBDIR= ${PORTNAME}
diff --git a/devel/simulavr/files/patch-test_asm b/devel/simulavr/files/patch-test_asm
new file mode 100644
index 0000000..56a7749
--- /dev/null
+++ b/devel/simulavr/files/patch-test_asm
@@ -0,0 +1,22 @@
+--- test_asm/test_8515/Makefile.am.orig Thu Aug 14 04:35:06 2003
++++ test_asm/test_8515/Makefile.am Thu Jun 17 10:22:38 2004
+@@ -51,7 +51,7 @@
+
+ all-local: $(TEST_ELF) $(TEST_LST) $(TEST_BIN) $(TEST_HEX)
+ for prg in $(TEST_PRG); do \
+- $(AVR_LD) -m avr85xx -o $$prg $${prg}.elf || exit 1; \
++ $(AVR_LD) -m avr2 -o $$prg $${prg}.elf || exit 1; \
+ done
+
+ clean-local:
+--- test_asm/test_8515/Makefile.in.orig Mon Jan 19 00:58:31 2004
++++ test_asm/test_8515/Makefile.in Thu Jun 17 10:23:08 2004
+@@ -379,7 +379,7 @@
+
+ all-local: $(TEST_ELF) $(TEST_LST) $(TEST_BIN) $(TEST_HEX)
+ for prg in $(TEST_PRG); do \
+- $(AVR_LD) -m avr85xx -o $$prg $${prg}.elf || exit 1; \
++ $(AVR_LD) -m avr2 -o $$prg $${prg}.elf || exit 1; \
+ done
+
+ clean-local:
OpenPOWER on IntegriCloud