Commit graph

94 commits

Author SHA1 Message Date
Gerald Pfeifer
3be3e90f93 Update to libmpc version 1.0.1 which brings the following fixes:
- Switched to automake 1.11.6, see CVE-2012-3386.
 - #14669: Fixed extraction of CC from gmp.h.
 - Fixed case of intermediate zero real or imaginary part in mpc_fma,
   found by hydra with GMP_CHECK_RANDOMIZE=1346362345.

This is on top of the following changes from version 1.0

 - Licence change towards LGPLv3+ for the code and GFDLv1.3+ (with no
   invariant sections) for the documentation.
 - 100% of all lines are covered by tests
 - Renamed functions
   . mpc_mul_2exp to mpc_mul_2ui
   . mpc_div_2exp to mpc_div_2ui
 - 0^0, which returned (NaN,NaN) previously, now returns (1,+0).
 - Removed compatibility with K&R compilers, which was untestable due
   to lack of such compilers.
 - New functions
   . mpc_log10
   . mpc_mul_2si, mpc_div_2si
 - Speed-ups
   . mpc_fma
 - Bug fixes
   . mpc_div and mpc_norm now return a value indicating the effective
     rounding direction, as the other functions.
   . mpc_mul, mpc_sqr and mpc_norm now return correct results even if
     there are over- or underflows during the computation.
   . mpc_asin, mpc_proj, mpc_sqr: Wrong result when input variable has
     infinite part and equals output variable is corrected.
   . mpc_fr_sub: Wrong return value for imaginary part is corrected.

Convert to the new LIB_DEPENDS standard and remove hard-coded
.so versions from a couple of dependent ports.

Bump PORTREVISIONS of all dependent ports.

PR:		183141
Approved by:	portmgr (bdrewery)
2013-10-26 00:52:33 +00:00
Baptiste Daroussin
857aec5d6b Add NO_STAGE all over the place in preparation for the staging support (cat: devel part 1) 2013-09-20 17:03:26 +00:00
Andrej Zverev
6600d6be8a - convert to the new perl5 framework
- convert USE_GMAKE to Uses

Approved by:	portmgr (bapt@, blanket)
2013-09-16 08:39:20 +00:00
Baptiste Daroussin
a8ef5f2b48 Attempt to fix building on recent head 2013-09-06 22:04:10 +00:00
Alex Kozlov
83f02b963c - Convert USE_GETTEXT to USES (part 4)
Approved by:	portmgr (bapt)
2013-04-26 10:44:28 +00:00
Pawel Pekala
8fdb1da1d0 Fix build with clang
PR:		ports/176961
Submitted by:	myself
Approved by:	maintainer timeout
2013-03-29 21:20:37 +00:00
Baptiste Daroussin
9250d94365 Convert USE_BISON to USES= bison
It brings bison as a build dependency in case it is set the following way:
USES= bison or USES= bison:build

it brings bison as a run dependency in case it is set the following way:
USES= bison:run

it brings bison both as a run and build dependency in case it the set the following way:
USES= bison:both

While here trim some headers
Convert some USE_GNOME= gnomehack to USES= pathfix
2013-03-08 11:32:11 +00:00
Joerg Wunsch
d75e64d554 Unbreak devel/avr-gcc:
. fix pkg-plist
. mention gettext prerequisite
. use the correct objdump utility

PR:		ports/164874
Submitted by:	Michael Scheidell
Approved by:	portmgr (erwin)
Feature safe:	yes
2012-03-09 17:14:15 +00:00
Pav Lucistnik
5f21245445 - Mark BROKEN (at least) on amd64: does not package
Reported by:	pointyhat
2011-12-30 19:25:08 +00:00
Joerg Wunsch
0c19ecdca8 Upgrade to GCC 4.5.1.
Completely reorganize the patches for this port.

Patches for new devices are now synchronized with the Atmel AVR tools.
The main difference is the naming scheme, as FreeBSD patches start
with "patch-", while the Atmel AVR Tools patches end up in ".patch".
2011-12-17 09:56:31 +00:00
Sunpoet Po-Chuan Hsieh
a32defea5d - Use canonical format for FreeBSD.org MAINTAINER addresses
- Remove obsolete MD5 checksum while I'm here

PR:		ports/152844
Submitted by:	sunpoet (myself)
Approved by:	miwi (with portmgr hat)
2010-12-25 16:55:41 +00:00
Alex Dupre
8cbf48bd4b Chase mpfr library and bump PORTREVISION. 2010-06-11 15:09:45 +00:00
Alex Dupre
bf330a57d4 Switch to use newer GMP version.
PR:		ports/144487
Submitted by:	ale
Approved by:	portmgr (-exp run by erwin)
2010-04-19 10:43:42 +00:00
Joerg Wunsch
39ccf57d02 Upgrade to GCC 4.3.4, as well as to the patches from WinAVR 20100110 2010-03-08 19:53:44 +00:00
Joerg Wunsch
eb5a25e56f Yet another forgotten line, sigh. 2009-08-12 19:36:53 +00:00
Joerg Wunsch
c442d607f4 Add two entries I forgot previously. 2009-08-12 19:34:44 +00:00
Joerg Wunsch
045744a953 Update the Xmega patch. Among adding support for some newer
Xmega MCU types, this adds an important bugfix for printf & Co.
functions.
2009-08-12 19:27:23 +00:00
Joerg Wunsch
7ebf80a848 Use the undocumented feature WITHOUT_CPU_CFLAGS rather than MAKE_ENV
to avoid application of the host's CPU architecture options to the
cross-compilation environment.

Found by:	Dominic Fandrey
2009-06-28 20:58:46 +00:00
Joerg Wunsch
54b0b2e541 Update to GCC 4.3.2.
(The old port will be migrated to devel/avr-gcc-42 within the next
days.)
2009-06-11 21:39:08 +00:00
Joerg Wunsch
b5673ef415 Add plist files forgotten in last update.
Reminded by:	pav
2007-12-21 21:28:25 +00:00
Joerg Wunsch
a523b50096 Add support for ATtiny88, ATmega32HVB, ATmega1284P.
Fix support for AT90USB82/162, move them into "avr35" architecture.
Add support for the OS_main and OS_task attributes.

Integrate some more bugfixes from the WinAVR patch list.
2007-12-20 06:43:20 +00:00
Joerg Wunsch
d9ba8c2135 Upgrade to GCC 4.2.2 2007-10-28 10:01:30 +00:00
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
16aee5cd10 Add device support for ATmega8HVA/ATmega16HVA.
Change AT90USB82 from avr5 to avr5.
2007-06-23 21:30:40 +00:00
Joerg Wunsch
63ce34d6a5 Add the Russian message catalog file to pkg-plist. 2007-04-14 20:10:19 +00:00
Joerg Wunsch
3996c2c926 Minor fix for AT90USB* devices.
Submitted by:	Anatoly Sokolov

Also spell-fix `PORTREVISION' *blush*.
2007-04-11 16:08:18 +00:00
Joerg Wunsch
a054f47abd Fix pkg-plist after version upgrade.
Reminded by: pointyhat.
2007-04-09 19:29:25 +00:00
Joerg Wunsch
6cc7ee7ef2 Upgrade to GCC 4.1.2.
Add support for AT90PWM1, ATmega32[59]0?P, AT90USB82/162.
2007-04-07 05:37:51 +00:00
Joerg Wunsch
60ba18f36c OK, I bite. Implement the patch from PR ports/96407, to avoid the
-mcpu=foobar braindeadness.

There's a GCC bug open for this:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25672
so at least, the issue is being dealt with in its origin.

Submitted by:	Alex Mogilnikov <alx@intellectronika.ru>
PR:		ports/96407
2006-10-10 10:24:51 +00:00
Joerg Wunsch
c8a0c2c044 Change private hack into @dirrmtry. 2006-10-08 21:25:50 +00:00
Joerg Wunsch
48e98e9e98 Copy over the avr-gcc-devel port to avr-gcc, so this will become the
default AVR-GCC version now.

No repocopy as this port used to exist before.  For the history details,
see the old avr-gcc-devel port (going to be moved to Attic now).
2006-10-06 20:43:57 +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