Commit graph

66 commits

Author SHA1 Message Date
Ade Lovett
dbd39ca660 Migration from bison 1.x to 2.x
PR:		117086
Tested by:	-exp runs
2007-10-17 10:13:01 +00:00
Mark Linimon
9839011ec3 Welcome bsd.perl.mk. Add support for constructs such as USE_PERL5=5.8.0+.
Drop support for antique perl.

Work done by:	gabor
Sponsored by:	Google Summer of Code 2007
Hat:		portmgr
2007-09-08 01:12:10 +00:00
Joerg Wunsch
1556833e60 Fix DISTNAME after renaming from avr-gcc into avr-gcc-3.
Submitted by:	Bill Fenner's distfile survey
Approved by:	portmgr (erwin)
2006-10-21 19:59:18 +00:00
Joerg Wunsch
0a30125298 Fix CONFLICTS after renaming avr-gcc*.
Approved by:	portmgr (clement)
2006-10-16 13:46:42 +00:00
Joerg Wunsch
1e797b46c4 devel/avr-gcc has been repocopied to devel/avr-gcc-3, so to make room
for devel/avr-gcc-devel taking over the role of the default AVR-GCC
port now.
2006-10-05 21:56:21 +00:00
Joerg Wunsch
39b22ee0a4 Fix the link specification in the patch so ATmega*P devices will get
their correct -Tdata option passed down.

Submitted by:	Anatoly Sokolov
2006-04-20 20:32:32 +00:00
Joerg Wunsch
f7dfe1d53a Rename ATmega164/324 to ATmega164P/324P, add support for ATmega644P,
ATmega165P, and ATmega169P.
2006-04-19 10:48:48 +00:00
Joerg Wunsch
0a21728cdf Upgrade to GCC 3.4.6.
Add support for ATmega406 and AT90USB646/647/1286/1286 devices.
Register conflict for avr-gcc-devel port (GCC 4.1-based, to come soon).
2006-03-19 22:38:09 +00:00
Joerg Wunsch
fb2d1c1563 Fix the severe bug (faulty code generation) reported in
<http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26118>

by reverting the GCC change that obviously caused it.

Approved by:	portmgr (krion)
2006-03-02 10:51:55 +00:00
Edwin Groothuis
acd87b4ad8 SHA256ify
Approved by:    krion@
2006-01-22 08:34:46 +00:00
Joerg Wunsch
aed756d9c9 Add support for ATtiny261/461/861. 2006-01-04 23:17:26 +00:00
Joerg Wunsch
4df6ca67ac Upgrade to GCC 3.4.5, and add support for ATtiny24/44/84 devices. 2005-12-14 22:42:16 +00:00
Ade Lovett
54a0b86543 Mass-conversion to the USE_AUTOTOOLS New World Order. The code present
in bsd.autotools.mk essentially makes this a no-op given that all the
old variables set a USE_AUTOTOOLS_COMPAT variable, which is parsed in
exactly the same way as USE_AUTOTOOLS itself.

Moreover, USE_AUTOTOOLS has already been extensively tested by the GNOME
team -- all GNOME 2.12.x ports use it.

Preliminary documentation can be found at:
	http://people.FreeBSD.org/~ade/autotools.txt

which is in the process of being SGMLized before introduction into the
Porters Handbook.

Light blue touch-paper.  Run.
2005-11-15 06:52:12 +00:00
Joerg Wunsch
55cd38c9e0 Add support for the AT90CAN32/64 controllers.
By the same time, also drag in the patch for catching
misspelled interrupt vector names from the 4.x branch of
GCC.
2005-11-04 20:51:33 +00:00
Joerg Wunsch
6e31127d60 Add support for the ATmega640/1280/1281 family. 2005-09-12 22:03:43 +00:00
Joerg Wunsch
c02fa49b4d Oops, a double slash sneaked into the linker spec, causing GCC to
recurse infinitely, until it hit an abort().
2005-09-01 20:52:38 +00:00
Joerg Wunsch
d704479608 Add back support for the ATmega165. 2005-09-01 05:22:23 +00:00
Joerg Wunsch
d57a2a1f0b Fix the linker command (in GCC's specs file) for the AT90PWM2/3
controllers.

Approved by:	portmgr (linimon)
2005-08-17 14:41:01 +00:00
Joerg Wunsch
dabc6d3c63 Remove a superfluous part of a patch (patching a .orig file resulting from
a previous patch).

No PORTREVISION bump as the resulting binaries are identical.
2005-08-01 13:48:52 +00:00
Joerg Wunsch
4f725f7b2f Upgrade AVR-GCC to GCC-3.4.4.
By the same time, combine all the patches that add support for new AVR
devices into a single patch, as they all touch the same three source
files.  In total, add support for the following AVR devices that were
not supported by the stock GCC 3.4.x:

  ATtiny13/ATtiny2313
  ATtiny25/ATtiny45/ATtiny85
  ATmega48/ATmega88/ATmega168
  AT90PWM2/AT90PWM3
  ATmega164/ATmega324/ATmega644
  ATmega325/ATmega3250/ATmega645/ATmega6450
  ATmega329/ATmega3290/ATmega649/ATmega6490
  AT90CAN128

(This is now documented in pkg-descr as well.)
2005-07-30 21:28:49 +00:00
David E. O'Brien
c3d8037aeb At Kris's request, back out the MACHINE_ARCH spelling correction until
after 5.4-RELEASE.
2005-04-12 03:26:56 +00:00
David E. O'Brien
f2fc2d60ae Assist getting more ports working on AMD64 by obeying the
Ports Collection documentation and use 'ARCH' rather than 'MACHINE_ARCH'.
2005-04-11 08:04:41 +00:00
Joerg Wunsch
96fe03484f Bring in some patches from the head of GCC's CVS back to the latest
released version, 3.4.3.  This mainly adds support for new AVR devices
that appeared on the market recently, and fixes a bug related to the
order of assignments for volatile uint16_t * objects (in the
assumption they might point to IO space where the order of two 8-bit
operations can be important).
2005-03-10 21:14:44 +00:00
Joerg Wunsch
9fb4769a6a Do also set IGNORE when running against a too old version of Perl
where we can't build the docs.

Hinted by:	kris
2005-01-27 22:56:11 +00:00
Joerg Wunsch
58d1f498c1 Require a sufficiently current Perl to be installed, as opposed to a
sufficiently current version of FreeBSD.

Submitted by:	vs
2005-01-27 14:50:57 +00:00
Joerg Wunsch
498f4c719f Upgrade to GCC version 3.4.3.
Note that I do not longer support FreeBSD 4.x at this point, as their
system-provided Pod::Man is way too old, and I'm tired of rolling that
extra man page tarball.  Software developers can IMHO reasonably be
expected to run some version of FreeBSD 5.x these days.
2005-01-27 09:51:36 +00:00
Joerg Wunsch
b2c7001f56 Fix pkg-plist. (Remove two shared directories.) 2004-12-27 15:47:51 +00:00
Joerg Wunsch
464f3cfdfa Switch from MASTER_SITE_GNU to MASTER_SITE_GCC; it seems the GNU mirrors
aren't up-to-date for GCC these days.

Also, document the 0b binary constants hack committed a few hours ago.
2004-07-07 19:49:07 +00:00
Joerg Wunsch
d04fd3fae8 Upgrade AVR-GCC to GCC 3.4.1.
Also included is a local hack to allow for 0bXXX binary constants,
since this appears to be a frequently requested item in the AVR
developers community.

The GCC configuration is tuned to allow for both, -gstabs [the default
if only -g is given], and -gdwarf-2 debugging options.  ELF/DWARF-2 is
the emerging format as promoted by Atmel, and is intented to be
directly usable in their AVR Studio simulator in future.  Eventually,
AVR-GDB will fully support DWARF-2 debugging as well some day.
2004-07-07 11:29:23 +00:00
Ade Lovett
1a628ded35 Sync with new bsd.autotools.mk 2004-06-04 17:29:38 +00:00
Joerg Wunsch
a147ec1d20 Upgrade to GCC 3.4.0.
This also makes the port compile (again) under all 64-bit archs.  For
amd64, patch-ad modifies config.guess to match GCC's expectation of
x86_64.
2004-04-28 20:53:33 +00:00
Kris Kennaway
c590828233 BROKEN on !i386 and !alpha: Does not build 2004-03-29 07:04:47 +00:00
Joerg Wunsch
8c2f3a42b2 Upgrade to version 3.3.2. 2004-03-03 21:23:29 +00:00
Joe Marcus Clarke
186b8ba82f Add USE_GETTEXT and bump PORTREVISION.
Submitted by:	trevor
Tested by:	bento
2004-02-04 04:36:30 +00:00
Trevor Johnson
78da40aa98 Now gettext 0.12.1 is gettext-old. 2004-01-23 18:12:26 +00:00
Joerg Wunsch
7273f535bc Update this port to the released version 3.3.1 of gcc.
Utilize INFO while i was at it.

Some minor cosmetic issues are still open with this port, but i won't
be able to catch that before the ports freeze.
2003-09-09 21:16:21 +00:00
Gerald Pfeifer
ee9d9081d4 Fix COMMENT.
Approved by:	joerg (maintainer)
2003-08-24 16:46:06 +00:00
Joerg Wunsch
700aaf68e2 Update to a recent snapshot. Some AVR-related bugs have been fixed since. 2003-07-20 19:35:27 +00:00
Joerg Wunsch
61b78439f1 Update this suite to a current snapshot of gcc 3.3. Quite a few AVR-related
fixes have been made to gcc recently.
2003-05-11 19:32:20 +00:00
Ade Lovett
7e52725f2a Clear moonlight beckons.
Requiem mors pacem pkg-comment,
And be calm ports tree.

E Nomini Patri, E Fili, E Spiritu Sancti.
2003-03-07 06:14:21 +00:00
Joerg Wunsch
0baf37d9f9 Replace my old 16 bit IO register assignment hack by an authoritative
patch by the avr-gcc maintainers.

Bump portrevision for that.
2003-01-20 09:32:48 +00:00
Joerg Wunsch
4310ca870e Update to a more recent snapshot, now taken from gcc's 3.3 branch instead
of the head of CVS.
2003-01-08 22:44:41 +00:00
Maxim Sobolev
499f6035b3 Use USE_PERL5_BUILD where appropriate, instead of hardcoding
${PORTSDIR}/lang/perl5 as a dependency.

Sponsored by:	Porta Software Ltd
Approved by:	portmgr
2002-11-28 18:05:49 +00:00
Joerg Wunsch
ef9626d6e2 Add the forgotten dependency to gettext. This fixes the complaint
about the incorrect pkg-plist made in rev 1.17.
2002-10-10 10:47:27 +00:00
Joerg Wunsch
0c7b82aff6 Update to a recent snapshot. Among others, this fixes an issue with
the generation of code that fed up recent versions of gas.  The
pseudo-symbol _PC_ is now completely eliminated from the generated
code, and replaced by the location counter `.'.
2002-10-06 18:21:40 +00:00
Kris Kennaway
eb3a58784d BROKEN: pkg-plist is incorrect 2002-10-05 22:35:01 +00:00
Joerg Wunsch
4302aff0b1 Fix the documentation build process. We need to depend it on perl.
Since the system's perl in -stable is too old (pod2man), we supply
pregenerated man pages in a separate distfile to help them out.
2002-09-01 19:46:49 +00:00
Joerg Wunsch
49ba60eebe Update to version 2002.09.01. Included are a couple of private
patches that were floating through the avr-gcc and avr-libc
mailinglists, just for the time being until they might have been
integrated into gcc's CVS.

Portname changed from dashes in the snap date to dots so portupgrade
doesn't get confused about it.  Thanks to Brian Dean for the hint.
2002-09-01 12:13:57 +00:00
Joerg Wunsch
d447dfda79 Now that gcc renamed the head of their CVS from 3.2 to 3.3, update this
port since avr-libc-current has avr-gcc 3.3 as their prerequisite.
2002-08-12 14:04:09 +00:00
Joerg Wunsch
d7e48044a5 Forgot to cvs add this patch in the previous commit. It (finally!) omits
re-installing avr-c++filt which is already present from avr-binutils.
2002-07-03 19:33:43 +00:00