40 Commits

Author SHA1 Message Date
David Chisnall
d4a4068a53 Bump libobjc2 port to latest git head.
Fixes an issue where programs with long double ivars when compiled with the old
ABI would crash on load.
2019-02-10 18:08:12 +00:00
David Chisnall
3f627ab4ce Move Objective-C ports to the v2 GNUstep ABI.
* Bump the LLVM revision used for GNUstep to 7, the minimum to support
   the new ABI.
 * GNUstep-back does not work with lld, so mark it to use Gold (BFD LD
   doesn't seem able to link Objective-C things).
 * Turn off some annoying debug logs in GNUstep back, which generate
   several messages per second when you move the mouse.  These should
   never have been enabled in a release build anyway.
 * Downgrade Cenon to 4.0.2.  This was the last version to actually work
   with GNUstep (the later ones use XCode >= 5 .xib files, which GNUstep
   can't parse).
 * Update gorm to git head. The current release doesn't work with the
   new Objective-C ABI, but -head has the patches to fix it.
 * Update PikoPixel and add it to the gnustep-app meta-package.
 * Update the three core GNUstep packages to the latest release.
 * Update gnumail and pantomime to the latest release and fix a linking
   error with the new ABI.
 * Update GNUstep FTP to the latest version.

Reviewed by:	bapt (previous version)
2019-02-03 15:37:58 +00:00
Mark Linimon
ebebccafcf Switch the libstdc++ flag to be dependent on an existance test. This
will be more robust if the quoted archs switch to libc++ in the future.

Reported by:	jbeich
Approved by:	portmgr (tier-2 blanket)
2018-11-27 16:40:33 +00:00
Mark Linimon
6f129cadcb USES=objc:compiler sets the compiler, but then USES=compiler:c++11-lang
overwrites it.  Remove the latter to use the proper compiler. Also use
libstdc++ on GCC architectures to fix build.

While here, pet portlint.

PR:		232386
Submitted by:	Piotr Kubaj
Approved by:	portmgr (tier-2 blanket)
2018-11-02 01:54:07 +00:00
Brooks Davis
3a34ffa58f Update Objective-C LLVM version to 6.0.
Fixes aarch64 build.  Reduces depends on obsolete LLVM 4.0.

PR:		230116
Submitted by:	mikael.urankar@gmail.com
Approved by:	theraven (prior version)
Sponsored by:	DARPA, AFRL
2018-09-26 15:23:37 +00:00
Gerald Pfeifer
09f9633cb6 Bump PORTREVISION for ports depending on the canonical version of GCC
in the ports tree (via Mk/bsd.default-versions.mk and lang/gcc) which
has now moved from GCC 6 to GCC 7 by default.

This includes ports
 - featuring USE_GCC=yes or USE_GCC=any,
 - featuring USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and those
 - with USES=compiler specifying one of openmp, nestedfct, c11, c++0x,
   c++11-lib, c++11-lang, c++14-lang, c++17-lang, or gcc-c++11-lib.

PR:		222542
2018-07-29 22:18:44 +00:00
Mark Linimon
9fa05cbab2 Adjust USES to fix building on gcc-based archs (in particular, powerpc64).
On the clang architectures, these changes have no effect: the baser
compiler already includes the needed features.

While here, remove now-redundant CXXFLAGS statements and pet portlint
(no other content change).

Tested on both powerpc64 and amd64.

Approved by:	portmgr (tier-2 blanket)
2018-06-02 19:40:59 +00:00
Dmitry Marakasov
627a39ada0 - Remove long dead FreeBSD 9.2 related conditions
Approved by:	portmgr blanket
2017-01-12 13:50:09 +00:00
Mathieu Arnold
77f8276a88 Github cleanup.
- Use the version tag instead of commit hash when they're the same.
- Remove unnneeded variables.
- Simplify go- ports when possible.
- Various fixes.

Sponsored by:	Absolight
2016-06-01 13:15:36 +00:00
Mathieu Arnold
7823fa4b7e Cleanup GH_* and variables order.
Sponsored by:	Absolight
2015-12-29 14:30:46 +00:00
Mark Linimon
8c26b8cbf9 Mark as broken on sparc64: fails to build.
Approved by:	portmgr (sparc64 blanket)
2015-09-25 21:18:53 +00:00
David Chisnall
a5fbb8be2b Update libobjc2 to the latest release.
Approved by:	bapt (mentor, implicit)
2015-08-07 14:07:45 +00:00
David Chisnall
4c63e31df1 Bump port revision (forgot to do this when updating).
Approved by:	bapt (mentor)
2015-07-04 12:34:49 +00:00
David Chisnall
b6546ca2ca Update GNUstep ports to their latest versions.
Also fix a few bits of generic infrastructure along the way.

Approved by:	bapt (mentor)
Differential Revision:	https://reviews.freebsd.org/D2961
2015-07-01 13:50:28 +00:00
Antoine Brodin
da4156e14e Enforce clang 3.4 in USES=c*11*,objc,gnustep as clang 3.3 has some bugs
Requested by:	bapt
PR:		ports/195122
Differential Revision:	https://reviews.freebsd.org/D1181
Exp-run by:	self
With hat:	portmgr
2014-11-21 17:22:06 +00:00
Baptiste Daroussin
77cba41a62 Cleanup plist 2014-10-27 15:23:30 +00:00
Antoine Brodin
ccb7128a1c Switch from clang33 to clang34 for ports using compiler:*11*, objc or
gnustep on freebsd 8.4 and 9.1

PR:		ports/193555
Differential Revision:	https://reviews.freebsd.org/D935
Reviewed by:	bapt
Exp-run:	self
2014-10-18 18:13:58 +00:00
Adam Weinberger
bbc8c4d740 Convert a bunch of USE_BZIP2 to USES=tar:bzip2
Approved by:	portmgr (not really, but touches unstaged ports)
2014-07-29 18:41:15 +00:00
Baptiste Daroussin
57d55e9569 Use regular CC and CXX instead of custom CLANGXX/CLANG
That fixes build after .pre.mk removal as well as simplify the makefile

Reported by:	tijl
2014-02-03 10:34:08 +00:00
Baptiste Daroussin
0de261a765 Support stage
Respect prefix
2014-01-28 08:13:37 +00:00
David Chisnall
257af15518 Backport bug fix from r37605 upstream. This fixes crashing when
Objective-C++ programs use Objective-C types in static constructors.

Approved by:	bapt (mentor)
2014-01-15 19:10:16 +00:00
Baptiste Daroussin
888ab73a81 Add NO_STAGE all over the place in preparation for the staging support (cat: lang) 2013-09-20 19:53:09 +00:00
Bryan Drewery
c93dfc2e9f SSP support has been added to ports with WITH_SSP for i386 and amd64
on FreeBSD 10, and amd64 on earlier versions.

SSP_UNSAFE is added to disable in a port if it fails to build, but
this should only be used in rare circumstances such as kernel modules.
Otherwise, the port may just be failing due to lack of respecting
LDFLAGS.

On FreeBSD 10, this uses an ldscript in /usr/lib/libc.so to pull in
libssp_nonshared.a to address issues linking on i386 [1].

On earlier FreeBSD versions the WITH_SSP knob will add -lssp_nonshared
to LDFLAGS on i386. This is not needed on amd64. However, several hundred
ports do not currently respect LDFLAGS, so this support is disabled currently
as it causes build failures if a dependency is looking for the stack_chk
symbols.

Many thanks to jlh@ for this as he had many years of patience in getting
all of the necessary pieces [1][2] in.

[1] http://svnweb.freebsd.org/base/head/lib/libc/libc.ldscript?revision=251668&view=markup

PR:		ports/138228 [2]
Submitted by:	jlh (bsd.ssp.mk based on)
Reviewed by:	bapt
With hat:	portmgr
exp-runs done:	37 over a month on 91i386,91amd64,10i386,10amd64
2013-09-20 12:54:54 +00:00
David Chisnall
3bec8741ff Update to latest GNUstep core libraries.
Update dependent packages with more recent releases.
Remove old and bit-rotted ones.
Switch to using clang 3.3 and libobjc2 1.7 by default, so modern Objective-C features work out of the box and remove a lot of configurable options for sub-optimal (and, often, unsupported / deprecated upstream) configurations.
Take maintainership of GNUstep-related ports.

Several of the ports left in have scary warnings which mean that they are likely broken in lots of cases.  Future commits will fix them.

Approved by:	bapt
2013-08-28 18:26:01 +00:00
Baptiste Daroussin
9dc0f62a37 Convert to new options framework 2012-10-04 07:21:06 +00:00
Dirk Meyer
79ed41a8a0 - reset MAINTAINER 2012-06-26 05:44:19 +00:00
Mark Linimon
87be40b965 Mark as broken on powerpc: Unsupported relocation type 10.
Hat:		portmgr
2012-05-27 06:56:59 +00:00
Dirk Meyer
49694d8f83 - force build with clang 2012-02-19 10:28:29 +00:00
Pav Lucistnik
5226e021ba - Mark BROKEN on 9.X:
gcc46: error: unrecognized option '-no-integrated-as'

Reported by:	pointyhat
2012-01-28 20:22:19 +00:00
Dirk Meyer
65aaf90ab1 - make check safer 2012-01-13 17:02:24 +00:00
Dirk Meyer
fa7b1d21de - add USE_GCC 2012-01-12 06:22:36 +00:00
Dirk Meyer
89f151ea47 - update to 1.6
- fix build with clang
2011-12-13 18:05:25 +00:00
Dirk Meyer
9bb4db40e1 - fix build for FreeBSD-9 2011-10-29 20:41:06 +00:00
Dirk Meyer
a41cd833bd - honor LDFLAGS 2011-10-29 20:40:15 +00:00
Dirk Meyer
c6b74337ad Replacement for the GNU Objective-C runtime supporting the features
of Objective-C 2 for use with GNUstep and other Objective-C programs.
This runtime is based on the Etoile Objective-C Runtime, an earlier
research prototype, and includes support for non-fragile instance
variables, type-dependent dispatch, and object planes. It is fully
compatible with the FSF's GCC Objective-C ABI and also implements
a new ABI that is supported by Clang and is required for some of
the newer features.
2011-10-19 18:56:47 +00:00
Pav Lucistnik
e3cabba08b - Remove lang/libobjc2, it's duplicate of gnustep-libobjc
Submitted by:	Pete French <pete@twisted.org.uk> (maintainer)
2011-06-02 20:06:44 +00:00
Pav Lucistnik
eb1f09c273 - Mark BROKEN on 9.X: does not compile
cc: NSBlocks.m: Objective-C compiler not installed on this system

Reported by:	pointyhat
2011-05-17 22:20:58 +00:00
Dirk Meyer
0cfa8fd6a6 - add new option WITHOUT_NSOBJECT_ROOT
Submitted by:	Pete French (maintainer)
Reviewed by:	dinoex
2010-11-13 22:06:23 +00:00
Pav Lucistnik
e9cc7471f8 - Mark BROKEN on 6.X: does not compile
Reported by:	pointyhat
2010-10-24 21:59:42 +00:00
Dirk Meyer
a3c3969371 Replacement for the GNU Objective-C runtime supporting the features
of Objective-C 2 for use with GNUstep and other Objective-C programs.
This runtime is based on the Etoile Objective-C Runtime, an earlier
research prototype, and includes support for non-fragile instance
variables, type-dependent dispatch, and object planes. It is fully
compatible with the FSF's GCC Objective-C ABI and also implements
a new ABI that is supported by Clang and is required for some of
the newer features.

Submitted by:	Pete French
Reviewed by:	dinoex
2010-10-13 16:41:24 +00:00