Commit Graph

53 Commits

Author SHA1 Message Date
Mathieu Arnold
305f148f48 Remove # $FreeBSD$ from Makefiles. 2021-04-06 16:31:07 +02:00
Mark Linimon
6b189b0fc4 Mark as BROKEN on riscv64. 2020-12-06 17:06:19 +00:00
Stefan Eßer
9ddffc16db Bump PORTREVISION to rebuild this port for the updated security/openvpn
This has been reported to fix a run-time error affecting openvpn-2.5.0:

"2020-11-06 02:37:05 PLUGIN_INIT: could not load plugin shared object
/usr/local/lib/openvpn-auth-ldap.so: /usr/local/lib/libobjc.so.4.6:
Undefined symbol "ceilf"
2020-11-06 02:37:05 Exiting due to fatal error"

Reported by:	admin@npo-lencor.ru (Nikita Druba)
2020-11-06 19:39:53 +00:00
Fernando Apesteguía
79f23d9e59 lang/libobjc2: Fix build in 11.3
We need -lm in order to use the ceilf function.

PR:	249046
Reported by:	brad@facefault.org
MFH:	2020Q3 (blanket, build fix)
2020-09-01 16:41:37 +00:00
Alexey Dokuchaev
27b279413e Now that tests are built after r546301, hook them to our framework
so "make test" would work.  Currently 99% tests pass, 2 tests fail
out of 186 (on amd64).
2020-08-27 08:01:14 +00:00
Niclas Zeising
6869b1db1a lang/libobjc2: Fix linking against
Pull in a patch from upstream to fix generation of eh_trampoline().
Without this patch linking against libobjc sometimes failes with
undefined reference to `eh_trampoline()'.
Build tests by default.

MFH:		2020Q3
X-MFH-With:	546146
2020-08-26 21:41:45 +00:00
Niclas Zeising
d81d4f546d lang/libobjc2: Update to 2.1
Properly update lang/libobjc2 to 2.1.
It now builds with -fno-common.

Releas announcement:
https://github.com/gnustep/libobjc2/releases/tag/v2.1
2020-08-25 09:37:58 +00:00
Fernando Apesteguía
32be5870ce lang/libobjc2: update to 2.1
ChangeLog: https://github.com/gnustep/libobjc2/releases/tag/v2.1

While here:

 * Reorder variables
 * Add missing USE_LDCONFIG since the port installs shared libraries

Reported by:	portscout
2020-08-24 18:11:24 +00:00
Niclas Zeising
6d32a82ea2 lang/libobjc2: Add -fcommon to CFLAGS
Fix the build of lang/libobjc2 after the llvm 11 import by adding -fcommon
to CFLAGS.  There are several patches needed to get this to build with
-fno-common, and I'm unsure about some of the changes I needed to make, so
build with -fcommon for now, until upstream can have a look as well.

MFH:		2020Q3 (implicit, -fno-common fixes, ok by joenum)
2020-08-22 13:55:19 +00:00
Piotr Kubaj
190bbb69f7 lang/libobjc2: unbreak on powerpc
Builds fine.
2020-06-11 03:15:26 +00:00
Rene Ladan
7fc8f970bb Return theraven's ports to the pool after safekeeping his commit bit. 2020-03-05 20:49:05 +00:00
Piotr Kubaj
c7e23ade67 lang/libobjc2: fix build on armv7
armv7 needs LDFLAGS+=-Wl,-znotext.

PR:		239744
Approved by:	theraven (maintainer timeout), tcberner (mentor)
Differential Revision:	https://reviews.freebsd.org/D21429
2019-08-28 17:17:13 +00:00
Mark Linimon
7bfae932f7 Prepare for powerpc-on-clang by deleting hard-coded tests for libstdc++.so
as a stand-in for "are we running on gcc".

For people already testing powerpc on clang, it is possible that they
already have both compilers in base.  Thus, the assumption that "gcc is
in base" (e.g.  libstdc++.so exists) always means "force use of GCC" is
already broken.  It will be for everyone on -CURRENT once the switch is
made.

While here, standardize on compiler:c++11-lang instead of -lib (they are
equivalent these days), pet portlint, and do some other cleanup.

Approved by:	portmgr (tier-2 blanket)
2019-07-12 02:25:07 +00:00
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