Commit graph

112 commits

Author SHA1 Message Date
Gerald Pfeifer
8d7cdb156b Prepare for the inclusion of lang/gcc, which is going to track our
preferred version of GCC (usually based on a release) starting with
GCC 4.6.1, and add a proper CONFLICTS.

On the way rename %%GCC_VER%% in pkg-plist to %%GCC_VERSION%% and
make the Makefile machinery a bit more generic to minimize differences
between lang/gcc ports based on releases and those based on snapshots.

PR:		156857
2011-09-25 14:58:08 +00:00
Gerald Pfeifer
713f39149d Also update ccache links (when appropriate) in case of package
installation and deinstallation.

My code for handling the port installation case sneaked in via
the previous commit.

PR:		155568
Submitted by:	ehaupt
2011-09-10 13:36:48 +00:00
Gerald Pfeifer
c083471e66 Complete Java support by providing a pre-built copy of ecj.jar.
PR:		157115
Tested by:	joerg, mandree
2011-06-02 22:11:48 +00:00
Gerald Pfeifer
13f863d3af Update to the 20110219 snapshot of GCC 4.6.0.
This addresses the pollution of common namespace by
share/python/aotcompile.py and share/python/classfile.py which now
go into version-specific directories.

By means of an extra patch default code generation on i386 defaults
to i486 on FreeBSD 6 and above. [1]

Submitted by:	tijl [1]
Reported by:	Yuri Karaban <tech@askold.net> [1]
PR:		154364 [1]
2011-02-22 18:56:53 +00:00
Gerald Pfeifer
f3997da48a Update to the 20101225 snapshot of GCC 4.6.0. This addresses the
original pollution of include file namespace around libquadmath and
adds a GNU info file for libquadmath.
2010-12-26 20:55:59 +00:00
Gerald Pfeifer
190aae9821 Update to the 20101120 snapshot of GCC 4.6.0. This brings libquadmath
(better support for 128 bit floating point types, which for now poisons
global include file namespace though this won't be an issue before GCC
4.7 and I have reported it upstream).
2010-11-22 05:45:17 +00:00
Gerald Pfeifer
4e1ea4476d Update to the 20101023 snapshot of GCC 4.6.0. This removes the gccbug
script which had allowed submitting bugs like send-pr in FreeBSD.
2010-10-24 15:19:27 +00:00
Gerald Pfeifer
52014a4f79 Complete the creation of this port by adjusting it from GCC 4.5 to the
20100424 snapshot of GCC 4.6.0, which is a very, very early version of
said release which likely won't happen before 2011.
2010-04-25 23:46:25 +00:00
Gerald Pfeifer
81416ae21a Update to the 20091224 snapshot of GCC 4.5.0. On the way, sort pkg-plist
a bit differently.
2009-12-28 11:39:48 +00:00
Gerald Pfeifer
28db2f2cf9 Update to the 20090618 snapshot of GCC 4.5.0. Tweak pkg-descr "footer".
Add hack for non-default LOCALBASE until the ports infrastructure has
been fixed. [1]

The new share/libstdc++/python/libstdcxx has now moved to a version
specific location based on an upstream report of mine.

And there are now three new ffi related man pages.

Dedicated to:
2009-06-19 16:28:03 +00:00
Gerald Pfeifer
75fbad65cc Update to the 20090528 snapshot of GCC 4.5.0.
Move the snapshot date from PORTREVISION to being a part of PORTVERSION
to allow for PORTREVISION bumps.

Simplify pre-everything and adjust PLIST_SUB accordingly.

Move VERSIONSTRING down to pacify portlint after all those years and
extract it from PORTVERSION, too.
2009-05-30 09:32:25 +00:00
Gerald Pfeifer
898dd6f9d2 Initiate lang/gcc45 by updating to the 20090402 snapshot of GCC 4.5.0.
Address a long term FIXME related to older versions of FreeBSD by
removing NOMANCOMPRESS=yes.
2009-04-07 23:39:11 +00:00
Gerald Pfeifer
610521f704 Update to the 20090213 snapshot of GCC 4.4.0.
This no longer contains bin/addr2name.awk44.  Also remove the
post-build target and its hint for running the testsuite.
2009-02-14 19:37:27 +00:00
Gerald Pfeifer
d4eb4feea1 Update to the 20080815 snapshot of GCC 4.4.0.
Remove the share/python directory if empty.
2008-08-16 16:30:13 +00:00
Gerald Pfeifer
e1f1d987f7 Update to the 20080711 snapshot of GCC 4.4.0. Among others, libgcj
now brings to additional programs, aot-compile and rebuild-gcj-db.
2008-07-12 17:34:24 +00:00
Gerald Pfeifer
82b85bc425 Now track GCC 4.4 development (currently at 4.4.0 snapshot 20080229) via
the new lang/gcc44 port.  At this point, this is mostly identical to what
we have in lang/gcc43 which is in the final stages before the GCC 4.3.0
release, but things will start diverging soon.

PR:		120984
2008-03-01 20:18:34 +00:00
Gerald Pfeifer
fc030bdc32 Update to the 20070309 snapshot of GCC 4.3.0. This brings a new gcjh43
application and man pages for gappletviewer43, gjar43, gjarsigner43,
gjavah43, gkeytool43, gnative2ascii43, gorbd43, grmid43, gserialver43,
and gtnameserv43.
2007-03-12 16:45:56 +00:00
Gerald Pfeifer
283351f1df Update to the 20070216 snapshot of GCC 4.3.0.
This has a patch of mine to account for the removal of /usr/bin/objformat
on 7-CURRENT and defaults to elf instead of aout in this case.

Add a temporary patch to fix the bootstrap on i386.
2007-02-18 21:58:37 +00:00
Gerald Pfeifer
4d3092c12b Update to the 20070209 snapshot of GCC 4.3.0.
This adds a couple of further programs related to Java language support,
specifically gjar, gjavah, gnative2ascii, gorbd, grmid, gserialver, and
gtnameserv.
2007-02-12 00:59:48 +00:00
Gerald Pfeifer
42c24f3d70 Update to the 20070202 snapshot of GCC 4.3.0.
Adjust pkg-plist to remove some secondary programs which we no longer
provide after the import of the Eclipse Java frontend.

Properly set INFO for those cases where we actually do not build libgomp,
and thus not libgomp.info either.

Move ia64 to NOT_FOR_ARCHS from BROKEN, like we did with lang/gcc43.
Remove the cklatest target and files/patch-gengtype-yacc.y.
2007-02-06 13:06:01 +00:00
Gerald Pfeifer
cade10df3e And here we go, introducing the lang/gcc43 port in form of the 20061104
snapshot of GCC 4.3.0; repocopied over from lang/gcc42.

Sadly we now have an unconditional dependency on math/libgmp4 and
math/mpfr.  On the positive side this allows us to always build the
Fortran frontend.

PR:		104683
2006-11-05 14:32:58 +00:00
Gerald Pfeifer
0dbe60dd3d Update lang/gcc42 to the 20061014 snapshot of GCC 4.2.0, which appends a
version number to libdata/pkgconfig/libgcj.pc.  Fix packaging on amd64
on the way (enabling Java actually was a noop, except for pkg-plist).

Update lang/gcc41 to the 20061013 snapshot of GCC 4.1.2.

These changes allow us to remove the CONFLICT between lang/gcc41 and
lang/gcc42 when building with Java support (the default on i386).

Approved by:	portmgr (erwin)
2006-10-19 16:43:58 +00:00
Gerald Pfeifer
136b648785 Update to the 20060915 of GCC 4.1.2. This fixes the namespace pollution
caused by include/ffi.h.

Enable libgcj on amd64 in addition to i386.

Remove the hack we had used to rename man pages to match the actual
names of binaries (back when GCCs configure mechanism failed to do so).
2006-09-17 18:27:16 +00:00
Gerald Pfeifer
e87e3d893f Update to the 20060906 snapshot of GCC 4.2.0. This is getting pretty close
to the start of the GCC 4.2 release branch, and removes another namespace
pollution issue.
2006-09-06 19:32:44 +00:00
Gerald Pfeifer
4901f1e647 Update to the 20060826 snapshot of GCC 4.2.0. Among others, this fixes
two cases where the common (file) namespace was polluted by Java-specific
files.

Disable building libgomp on FreeBSD 4.x and early versions of FreeBSD 5.0
due to pthread-related build issues there.[1]

Reported by:	kris (pointyhat) [1]
2006-08-30 10:29:53 +00:00
Gerald Pfeifer
5d654c47e4 Update to the 20060701 snapshot of GCC 4.2.0.
bootstrap-lean is back, which means quite a bit less disk space used when
building this port.  Also, Java comes with new applications gappletviewer42,
gjarsigner42, and gkeytool42 and a new libgcj-tools-4.2.0.jar.
2006-07-03 21:18:10 +00:00
Gerald Pfeifer
313c6c2e9c Update to the 20060617 snapshot of GCC 4.2.0.
Employ the new USE_LDCONFIG feature, which allows us to get rid of the
various, much more manual and error-prone hacks we needed so far.

Reviewed by:	flz (for lang/gcc40)
2006-06-18 06:39:28 +00:00
Gerald Pfeifer
41592459c5 Update to the 20060610 snapshot of GCC 4.2.0.
Add zip as a build dependency of Java (libgcj). [1]

Reported by:	kris (pointyhat) [1]
2006-06-11 15:42:59 +00:00
Gerald Pfeifer
8e5af82931 Update to the 20060603 snapshot of GCC 4.2.0.
Java support is back (on i386), and all those additional libtool
files we are currently installing as part of libgcj will be gone
with next week's snapshot.
2006-06-05 19:20:32 +00:00
Dirk Meyer
989fbabdf9 - add RC_D_SH to keep shared libs working after reboot 2006-03-26 05:16:44 +00:00
Gerald Pfeifer
4f5c18a510 Update to the 20060311 snapshot of GCC 4.2.0.
The spamming of $PREFIX/include/ssp is now finally gone after my reports
upstream, which allows us to restrict the conflict with gcc-4.1.* to the
case where we build Java.

Convert the build-time dependency on math/mpfr to a full one, since the
Fortran frontend also needs this at run time.

Always build both shared and static libraries instead of having these as
two exclusive options defaulting to the former.

Remove bogus USE_X11 (which was not used by default nor any other port).

No longer hardcode the version number in LATEST_LINK.
2006-03-15 22:42:16 +00:00
Gerald Pfeifer
529ed7dc50 Update to the 20060218 snapshot of GCC 4.2.0.
Remove USE_REINPLACE= as advised by new portlint.  Also note that at
least some of the installation hierarchy problems with libgomp have
been fixed now due to my report upstream.
2006-02-21 21:34:01 +00:00
Gerald Pfeifer
4adfb3ff55 Update to the 20060121 snapshot of GCC 4.2.0, which now includes libgomp. 2006-01-27 01:55:53 +00:00
Gerald Pfeifer
a438fc49de Update to the 20051224 snapshot of GCC 4.2.0.
Improve packaging by using @dirrm include/ssp instead of speculative
removal.  Remove broken removal of the info/gcc42 directory; this has
to be handled by Mk/bsd.ports.mk.
2005-12-28 14:31:05 +00:00
Gerald Pfeifer
10290a3326 Install the .info files of the lang/gcc42 port in a port-specific
subdirectory, which allows us to remove the conflicts with lang/gcc33
and lang/gcc34.

Dedicated to:	obrien
2005-12-21 21:14:08 +00:00
Gerald Pfeifer
b240fc287c Complete the repocopy of lang/gcc41 to lang/gcc42 and update to the 20051210
snapshot of GCC 4.2.0.

Change pkg-plist to avoid hardcoding any version number.

PR:		90253
2005-12-11 22:49:57 +00:00
Gerald Pfeifer
7013bbaf06 Add missing pkg-plist update from the previous commit. 2005-11-30 11:26:52 +00:00
Gerald Pfeifer
b4c28b1112 Update to the 20051029 snapshot of GCC 4.1. This brings many bugfixes
due to the stabilization work for the 4.1.0 release and also addresses
some hierarchy problems I had reported (and which we no longer need to
work around).
2005-11-08 22:15:53 +00:00
Gerald Pfeifer
45e8398974 Update to the 20050924 snapshot of GCC 4.1.0. This brings a huge libjava/
Classpath merger.
2005-09-25 19:35:06 +00:00
Gerald Pfeifer
8865a0da82 Update to the 20050730 snapshot of GCC 4.1.0.
Replace the WITHOUT_LIBJAVA knob by WITHOUT_JAVA which also disables
building the compiler and tools proper and avoids fetching the entire
Java frontend and library tarball.

Remove bogus ${PREFIX}/share/classpath/api directory that libjava adds
these days.

Make the (optional) handling of the Fortran and Java frontends easier
to understand.
2005-08-01 19:02:03 +00:00
Gerald Pfeifer
1d591a754e Update to the 20050723 snapshot of GCC 4.1.0. Should now work on FreeBSD 7. 2005-07-25 09:45:16 +00:00
Gerald Pfeifer
830ca14b70 GCC 4.1 currently adds an empty directory share/classpath/api und $PREFIX. 2005-07-19 14:59:42 +00:00
Gerald Pfeifer
7dd847ea0b Adjust pkg-plist to (temporary) bug which added libssp include files. 2005-07-06 20:46:23 +00:00
Gerald Pfeifer
64468fce1c Update to the 20050625 snapshot of GCC 4.1.0.
Directly install libraries into a port-specific location instead of
moving them there after the original installation.  This is simpler
and also avoids the problem where the port would overwrite/remove an
existing copy of libiberty.a, which boils down to a true conflict.
2005-06-26 11:44:16 +00:00
Gerald Pfeifer
a332da27dc Update to the 20050528 snapshot of GCC 4.1.0. Adjust the libjava-related
part of the packaging list.
2005-05-29 22:29:08 +00:00
Gerald Pfeifer
ced91ddba0 Update to the 20050522 snapshot of 4.1.0. Simplify the handling of man
pages on systems with an old version of Perl, once and for all and forever.

Reenable building libjava where appropriate, now that this has been fixed
upstream.  And treat Fortran libraries exactly like other language support
libraries, reducing conflicts with other gcc ports and getting rid of the
libtool archives on the way.
2005-05-22 23:42:53 +00:00
Gerald Pfeifer
5a7ced2020 Update to the 20050515 snapshot of GCC 4.1.0.
Add a conflict with the gcc34 port and address portlint warnings.
Simplify the handling of libraries which are not installed in all
configurations and put all libgcj libraries in the same directory
as all others, getting rid of the libtool .la archives on the way.
No longer install fsf-funding.7 gfdl.7 gpl.7, remove some cruft from
the post-install target, and simplify generation of the dynamic parts
of the packaging list.
2005-05-16 21:52:09 +00:00
Gerald Pfeifer
9843b4e433 Update to the 20050508 snapshot of GCC 4.1.0. Add the new gjnih41 program
and its man page, address some portlint warnings, and resort pkg-plist. Mark
conflicts with lang/gcc33 and lang/gcc40.
2005-05-09 20:53:40 +00:00
Gerald Pfeifer
81371a360f Complete the repocopy of gcc40 to gcc41 and update to the 20050424
snapshot of GCC 4.1.0.

PR:		80306
2005-04-25 15:05:59 +00:00
Gerald Pfeifer
b33648820f Update to the 20050220 snapshot of GCC 4.0, and mostly fix the packing list
for the libjava case (still disabled for now, though).
2005-02-21 16:40:36 +00:00