1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00
Commit Graph

52 Commits

Author SHA1 Message Date
Mathieu Arnold
21a283f3be Remove UNIQUENAME and LATEST_LINK.
UNIQUENAME was never unique, it was only used by USE_LDCONFIG and now,
we won't have conflicts there.

Use PKGBASE instead of LATEST_LINK in PKGLATESTFILE, the *only* consumer
is pkg-devel, and it works just fine without LATEST_LINK as pkg-devel
has the correct PKGNAME anyway.

Now that UNIQUENAME is gone, OPTIONSFILE is too. (it's been called
OPTIONS_FILE now.)

Reviewed by:	antoine, bapt
Exp-run by:	antoine
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D3336
2015-08-17 14:20:40 +00:00
Tijl Coosemans
a374acb969 By default libtool replaces -export-symbols <file> with -retain-symbols-file
<file> on ELF systems, but this doesn't really do what -export-symbols is
meant to do.  On GNU ELF systems it converts <file> to a simple version
script first and then uses -version-script instead of -retain-symbols-file.
Let USES=libtool patch libtool scripts to do this on all systems with GNU
ld(1).

Bump PORTREVISION on all ports where the build log contains -export-symbols.

audio/calf: This port builds a module that now exports only one function,
but it also builds a number of executables that link to this module and
expect to see other functions.  Because it's already a bit dodgy to link to
a module (libtool warns about this) let the module continue to export only
one function and instead build an ordinary library from the same source that
the executables can link to.  Fix a number of other issues in the same
Makefile.am and clean up the port Makefile.

japanese/scim-honoka: Tries to hide all symbols that start with an
underscore, but because this library is written in C++ all symbols start
with _Z so it ends up hiding everything.  Just don't hide anything at all
like the textproc/scim configure script does.

multimedia/schroedinger: Apply an upstream patch.

textproc/scim-input-pad: Same as japanese/scim-honoka.

PR:		201922
Approved by:	portmgr (antoine)
Exp-run by:	antoine
2015-08-02 15:03:19 +00:00
Gerald Pfeifer
d6c14f2586 Update from GCC 5.1 (the first release of GCC 5) to GCC 5.2.
This mostly brings bug fixes across teh board plus, thanks to
andreast@, support for position independent code directly upstream,
so we can remove files/patch-pie-support.
2015-07-24 23:43:26 +00:00
Andreas Tobler
7c4201492d Backport PIE support for FreeBSD from GCC trunk.
Approved by:	gerald
2015-06-09 20:01:00 +00:00
Gerald Pfeifer
116733644e Merge MASTER_SITES and MASTER_SITE_SUBDIR into just the former.
Suggested by:	mat
2015-04-28 20:11:07 +00:00
Gerald Pfeifer
1e75b9ebaf Fix MASTER_SITE_SUBDIR.
Reported by:	jbeich
Pointy Hat to:	whatever injects distcache.FreeBSD.org into my testing
2015-04-28 14:01:38 +00:00
John Marino
33b254a7d0 lang/gcc5: Remove Dragonfly's Makefile; it's no longer needed
Now that the JAVA exclusion is part of the main Makefile, the only thing
Makefile.DragonFly was doing was supporting pre-gcc5 dev branch.  Those
users have a static package available to them, and in general they are
expected to upgrade to post-gcc5 in base anyway.  Thus the DF makefile
is no longer necessary.
2015-04-28 06:32:23 +00:00
Gerald Pfeifer
45a4754eff Update to the 5.1 release, the first release of the GCC 5 series.
The default mode for C is now -std=gnu11 instead of -std=gnu89.
New warning options -Wc90-c99-compat and -Wc99-c11-compat may
prove useful on that front.

The C++ front end now has full C++14 language support including
C++14 variable templates, C++14 aggregates with non-static data
member initializers, C++14 extended constexpr, and more.
The Standard C++ Library (libstdc++) has full C++11 support and
experimental full C++14 support.  It uses a new ABI by default.

There have been significant improvements to inter-procedural optimizations
and link-time optimization such as One Definition Rule based merging of C++
types as well as register allocation.

OpenMP 4.0 specification offloading features are now supported by the C,
C++, and Fortran compilers.  Cilk Plus, an extension to the C and C++
languages to support data and task parallelism, has been added as well.

New warning options -Wswitch-bool, -Wlogical-not-parentheses,
-Wbool-compare and -Wsizeof-array-argument may prove useful as
may new preprocessor directives __has_include, __has_include_next,
and __has_attribute.

GCC can now be built as a shared library for embedding in other processes
(such as interpreters), suitable for Just-In-Time compilation to machine
code.  This provides a C API and a C++ wrapper API.

Many code generation improvements for AArch64, ARM, support for
AVX-512{BW,DQ,VL,IFMA,VBMI} and Intel MPX on x86-64, and generally
improvements on many targets.

The Local Register Allocator (LRA) now contains a rematerialization
subpass and is able to reuse the PIC hard register on x86/x86-64 to
improve performance of position independent code.

https://gcc.gnu.org/gcc-5/changes.html has a more extensive set of
changes and https://gcc.gnu.org/gcc-5/porting_to.html has a solid
overview of issue you may encountering porting to this new version.
2015-04-27 23:42:09 +00:00
Gerald Pfeifer
6172869742 Update to the 20150421 snapshot of GCC 5.0.1 -- nearly the 5.1 release. 2015-04-22 20:11:53 +00:00
Gerald Pfeifer
c82b8f3dde Update the comment that describes the relationship of PORTVERSION and
GCC_VERSION.
2015-04-19 22:07:22 +00:00
Gerald Pfeifer
bade31e0e3 Update to the 20150414 snapshot of GCC 5.0.1 and adjust to this
particularity of the new GCC versioning scheme where the third
component of the version number is bumped when the release branches.
Use three component version numbers again.
2015-04-19 01:03:14 +00:00
Gerald Pfeifer
defd9aab77 Update to the 20150405 snapshot of GCC 5.0. 2015-04-06 14:21:56 +00:00
Gerald Pfeifer
0ff05d75c8 Update to the 20150329 snapshot of GCC 5.0. 2015-04-03 13:20:01 +00:00
John Marino
bd64a4f18c lang/gcc(46,47,48,49,5): Use OPTIONS_EXCLUDE_DragonFly to block JAVA
The JAVA frontend doesn't build on DragonFly on any release.  The new
OPTIONS_EXCLUDE_${OPSYS} feature is a nice way to avoid the use of
Makefile.DragonFly (most are in dports, but one is in lang/gcc5).

The recent addition of CXXFLAGS to lang/gcc5 prevents Makefile.DragonFly
on lang/gcc5 from being removed outright.  There are a couple of options
available to allow its removal, but I'll need to discuss with Gerald.

Approved by:	DragonFly blanket
2015-03-26 20:36:04 +00:00
Bryan Drewery
01f8b6d7d7 Fix UNIQUENAME not being unique after recent PORTNAME shuffle.
This was causing the gcc packages to be generated with a
/usr/local/libdata/ldconfig/gcc file. All were conflicting. Bump
PORTREVISION to fix packages built during this time.

With hat:	portmgr
Reported by:	sunpoet
2015-03-23 18:56:10 +00:00
Gerald Pfeifer
d319b52cc6 Update to the 20150322 snapshot of GCC 5.0. 2015-03-23 13:41:57 +00:00
Gerald Pfeifer
c78df99e25 Add CPE information. [1]
Use PKGNAMESUFFIX so that PORTNAME falls back to plain gcc and we
can avoid setting DISTNAME and CPE_PRODUCT. [2]

PR:		198260 [1]
Submitted by:	shun.fbsd.pr@dropcut.net [1]
Suggested by:	mat [2]
2015-03-22 23:11:13 +00:00
John Marino
716e5c49e9 lang/gcc5: Support DragonFly's gcc50 base compiler in specific scenario 2015-03-18 10:39:04 +00:00
Gerald Pfeifer
e3e9df93c8 Update to the 20150315 snapshot of GCC 5.0. 2015-03-16 01:03:36 +00:00
Gerald Pfeifer
268e1eea17 Update to the 20150308 snapshot of GCC 5.0. 2015-03-10 17:00:25 +00:00
Gerald Pfeifer
bf2296c873 Update to the 20150301 snapshot of GCC 5.0. 2015-03-07 20:29:14 +00:00
Gerald Pfeifer
b732c3e2fc Update to the 20150222 snapshot of GCC 5.0. 2015-02-24 18:22:40 +00:00
Gerald Pfeifer
a49f241292 Update to the 20150215 snapshot of GCC 5.0. 2015-02-16 02:17:42 +00:00
Gerald Pfeifer
bf2d09da2e Update to the 20150208 snapshot of GCC 5.0. 2015-02-10 18:03:14 +00:00
Gerald Pfeifer
cac544398e Update to the 20150201 snapshot of GCC 5.0.
This now successfully builds libffi again, so we can enable JAVA by
default on i386 and amd64.

PR:		197171
2015-02-02 00:46:28 +00:00
Gerald Pfeifer
978f07dbce Also disable Java and libffi on amd64 until the next snapshot of
GCC 5.0.

PR:		197171
2015-01-30 00:18:46 +00:00
Andreas Tobler
0e7b60b426 Allow to build gcc for armv6(hf).
Approved by:	gerald	(maintainer)
2015-01-28 05:37:26 +00:00
Gerald Pfeifer
d33c10d634 Update to the 20150125 snapshot of GCC 5.0. Sadly libffi is still
broken thus Java remains disabled on i386.
2015-01-26 12:53:12 +00:00
Gerald Pfeifer
8ce8e4cf51 Update to the 20150118 snapshot of GCC 5.0.
libgcj-5.0.pc is now properly called libgcj-5.pc; adjust pkg-plist.

libffi is broken on FreeBSD i386 since 2015-01-11, cf.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64779, so disable it
for the time being.
2015-01-25 23:42:16 +00:00
Gerald Pfeifer
50f8a1208f Update to the 20150111 snapshot of GCC 5.0.
Welcome FreeBSD/ARM support to upstream GCC! [1]

Thanks to:	andreast [1]
2015-01-12 03:20:43 +00:00
Gerald Pfeifer
75bd5e2638 Update to the 20150104 snapshot of GCC 5.0. 2015-01-09 06:46:08 +00:00
Gerald Pfeifer
0022b7cd59 Update to the 20141228 snapshot of GCC 5.0. 2015-01-02 14:17:52 +00:00
Dimitry Andric
0e14fd9299 When building the gcc ports using a full bootstrap, tell the configure
script to assume the BUILD_CONFIG is set to bootstrap-debug, instead of
letting it auto-detect.

With clang 3.5.0 this auto-detection can fail, due to a discrepancy [1]
[2] in its debug information, when objects are produced with and without
-g.  When the auto-detection fails, gcc will compare objects with full
debug information during the stage comparisons, and this sometimes
causes those stage comparisons to fail unexpectedly.

[1] http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20141222/250134.html
[2] http://llvm.org/PR22046

Approved by:	gerald (maintainer)
2014-12-30 19:19:43 +00:00
Gerald Pfeifer
1fa2ca6050 Update to the 20141221 snapshot of GCC 5.0. 2014-12-26 08:24:11 +00:00
Gerald Pfeifer
a82b6d4b24 Update to the 20141214 snapsho of GCC 5.0. 2014-12-20 23:28:41 +00:00
Gerald Pfeifer
5ba43774d4 Update to the 20141130 snapshot of GCC 5.0. 2014-12-01 02:06:08 +00:00
Gerald Pfeifer
7955664d93 Update to the 20141123 snapshot of GCC 5.0. Keep in mind that this
now defaults to the C11 standard, not C89 any more.
2014-11-24 15:05:48 +00:00
Gerald Pfeifer
fc5fa04b79 Update to the 20141116 snapshot of GCC 5.0.
This no longer breaks on FreeBSD 10.0 and later using clang.
2014-11-22 05:48:23 +00:00
Gerald Pfeifer
707633db47 Update to the 20141109 snapshot of GCC 5.0.
Mark IGNORE on FreeBSD 10.0 and later; an upstream fix should make
it into the next snapshot.
2014-11-16 12:39:38 +00:00
Gerald Pfeifer
d92adc77b4 Update to the 20141102 snapshot of GCC 5.0. 2014-11-03 06:19:37 +00:00
Gerald Pfeifer
60e8f6b3de Update to the 20141026 snapshot of GCC 5.0.
Remove last instance of @dirrm in pkg-plist.
2014-10-27 13:54:32 +00:00
Gerald Pfeifer
4a05ef5429 Update to the 20141019 snapshot of GCC 5.0.
Remove all traces of @dirrm from pkg-plist that are dynamically generated
via the Makefile.
2014-10-20 16:15:04 +00:00
Gerald Pfeifer
2a5c152a3b Update to the 20141005 snapshot of GCC 5.0. 2014-10-07 13:55:17 +00:00
Baptiste Daroussin
e95ace05e4 Comment out info/dir files
indexinfo is taking care of generating it at package installation time

Reported by:	peter
2014-10-06 18:13:15 +00:00
Gerald Pfeifer
a3d58e17c9 Update to the 20140921 snapshot of GCC 5.0.
Remove four instances of @dirrm from pkg-plist.
2014-09-28 10:49:15 +00:00
Gerald Pfeifer
5d7853c6fb Update to the 20140914 snapshot of GCC 5.0.
On the packaging side this adds another Python script coming from
the libstdc++ side of things.
2014-09-18 14:07:17 +00:00
Tijl Coosemans
f3f5fc3b90 Add USES=libtool 2014-09-11 15:30:56 +00:00
Gerald Pfeifer
6e8e9d1cdd Update to the 20140907 snapshot of GCC 5. 2014-09-10 16:14:24 +00:00
Gerald Pfeifer
139d0fcd12 Update to the 20140831 snapshot of GCC 5. 2014-09-02 11:04:40 +00:00
Gerald Pfeifer
a0cb93541f Update to the 20140824 snapshot of GCC 5. 2014-08-25 10:09:27 +00:00