Commit graph

179 commits

Author SHA1 Message Date
Ed Maste
7ce8b050a2 lang/mono: set LLD_UNSAFE to avoid linking with lld
mono fails to link with lld because lld defaults to -ztext and does not
allow relocations in readonly segments (such as the one containing
.text).  For now just fall back to linking with ld.bfd if the system ld
is lld.

PR:		214864
Approved by:	portmgr (LLD_UNSAFE blanket)
Sponsored by:	The FreeBSD Foundation
2017-12-26 20:09:09 +00:00
Mark Linimon
e8210b4758 Mark more ports broken that fail on both armv6 and armv7.
Approved by:	portmgr (tier-2 blanket)
2017-12-09 00:42:05 +00:00
Mark Linimon
3ef3461740 For ports that are explicitly enabled on armv6, also enable them
on armv7.  This has not been tested with an -exp run but should
"do no harm".

PR:		221894 (partial)
2017-10-10 21:31:30 +00:00
Gerald Pfeifer
e59c88cece Bump PORTREVISION for ports depending on the canonical version of GCC
(via Mk/bsd.default-versions.mk and lang/gcc) which has moved from
GCC 5.4 to GCC 6.4 under most circumstances.

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

PR:		219275
2017-09-10 20:55:38 +00:00
Mathieu Arnold
189da2fda2 Regular USE_GITHUB cleanup.
Sponsored by:	Absolight
2017-07-27 13:57:30 +00:00
Mark Linimon
c814970936 Sort ARCHS. Pet portlint.
Approved by:	portmgr (tier-2 blanket)
2017-06-26 23:44:13 +00:00
David Naylor
d442f875f5 Update mono and related ports
USES=mono: minor fixes
 - save a copy of the nuget package in the packages directory
 - force linking of directories, allowing nuget-extract to be rerun
   without `make clean`
 - fix makenuget: nuget requires an equals to identify the version, not a dash

devel/monodevelop: update to 6.2.1.3
 - update nuget packages:
   - link older System.Collection.Immutable 1.1.37 to newer 1.3.1 (used
     by C# and F# respectively)
 - update external github repositories
 - allow post-extract target to be run multiple times
 - change MonoDevelop.Packaging to use a newer version of
   NuGet.Build.Packaging (the older version is no longer fetchable)
 - remove patch integrated upstream
 - moved `nuget restore` patching from post-patch into a patch file (the
   former broke silently)
 - ChangeLog:
   - https://developer.xamarin.com/releases/studio/xamarin.studio_6.2/xamarin.studio_6.2/

irc/smartirc4net: update to 1.1
 - add LICENSE

lang/fsharp: update to 4.1.18
 - add test dependency on libgdiplus
 - update nuget packages
 - update test paths for fsharp assemblies
 - update patches to prevent `nuget restore` from running
 - ChangeLog:
   - Set executable bit correctly on output
   - Integrate visualfsharp
   - Fix regression on binding redirects for System.Collections.Immutable
   - Fix regression in Microsoft.Build.FSharp.targets
   - Fix binding redirects for System.Collections.Immutable
   - Fix version of library going in %PREFIX/lib/mono/fsharp
   - Align fsc task and target file
   - Use install layout that includes mono/fsharp
   - Fix F# Intereactive on Mono 4.9+
   - Update compiler tools
   - Updates to FSharp.Core nuget package for F# 4.1
   - Fix #656: error FS0193: internal error: No access to the given key

lang/mono: various fixes
 - fix linking with lld [1]
 - double maximum handle size [2]
 - add option to run acceptance tests
 - allow for optional bootstrapping of mono via either installed mcs (if
   available) or via downloaded "monolite" (default)
 - add python and py-pillow as dependencies for bin/mono-heapviz
 - add armv6 as a supported architecture (untested)
 - switch to github for source code:
   - official tarball does not include tests
 - patches:
   - recognise FreeBSD for AOT suffix
   - change mono-heapviz to use pillow instead of PIL

multimedia/banshee: tell portscout to ignore this port
 - Portscout was not skipping the 2.9.1 version, and upstream appears to be
   quiet for the last few years.

x11-toolkits/gtk-sharp20: update to 2.12.43
 - ChangeLog:
   - fix compilation on mono-4.8.0 (incorrect use of sizeof())
   - correctly set owned=true on custom constructors

PR:		218885 [1]
PR:		200937 [2]
2017-05-13 07:48:27 +00:00
Dan Langille
0708b421c7 Upgrade to 4.8.1.0
Approved by:	miwi (maintainer)
2017-05-01 14:32:54 +00:00
Martin Wilke
f51091ad59 - Fix shebangs
- Fix bin/rc in lang/go since we dont have it in base or a port to support it
- While in lang/go remove WRKSRC for SHEBANG_FILES
- Bump PORTREVISION for package change
2017-04-21 10:02:27 +00:00
Gerald Pfeifer
04d6f52202 Bump PORTREVISIONs for ports depending on the canonical version of GCC and
lang/gcc which have moved from GCC 4.9.4 to GCC 5.4 (at least under some
circumstances such as versions of FreeBSD or platforms).

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

PR:		216707
2017-04-01 15:23:30 +00:00
Mark Felder
7442a4a043 lang/mono: Fix minor spelling issue in pkg-message
MFH:		2017Q1
2017-02-22 15:04:20 +00:00
Tijl Coosemans
02f27a83b4 The output of tools like awk, date, sort, tr,... depends on the current
locale set by the user.  Add LANG=C and LC_ALL=C at the beginning of
bsd.port.mk and export them so all commands are executed with the C locale.
LC_ALL=C overrides all other LC_* variables.  LANG is used by setlocale(3)
as default value for LC_* variables, so normally it isn't used when LC_ALL
is set, but there's code out there that looks at LANG directly so it's safer
to set it as well.  The only commands not captured by this are !=
assignments before any inclusion of bsd.port.*mk.

Introduce USE_LOCALE=<locale> that adds LANG=<locale> and LC_ALL=<locale> to
CONFIGURE_ENV and MAKE_ENV so upstream build systems can be executed with a
different locale (e.g. USE_LOCALE=en_US.UTF-8).

PR:		215882
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2017-01-18 13:20:31 +00:00
Dmitry Marakasov
8244fe99bc - Remove always-true/false conditions after FreeBSD 9, 10.1, 10.2 EOL
Approved by:	portmgr blanket
2017-01-11 10:08:38 +00:00
David Naylor
4de067a3d3 Fix PORTSCOUT limit for mono(develop) 2016-12-01 05:02:33 +00:00
David Naylor
4a9609d5d3 USES=mono: simplify EXTRACT_ONLY, fix nuget-extract [1]
- Instead of excluding the specific packages added to DISTFILES (but only for
   FreeBSD 9+), exclude all files with a '.nupkg' extension.
 - Move the nuget-extract command to be before post-extract, to allow the port's
   post-extract command to move packages around

audio/libgpod-sharp: add port for mono bindings for libgpod
 - audio/libgpod: [2]
   - USE_GNOME: add missing dependency
   - Remove mono files from pkg-plist (now in audio/libgpod-sharp)
   - Allow relevant variables to be overridden
   - Fix MONO options
   - Patch source to allow building with modern mono
   - Avoid post-install target for slave ports.

devel/monodevelop: update to 4.6.2.7
 - Update nuget package Fantomas to 2.4.0 (latest at time of monodevelop's
   release).
 - Downgrade nuget package FSharp.Compiler.CodeDom (per paket's specification)
 - LICENSE: Add license of LGPL21
 - LICENSE_FILE: Add license file from source
 - PORTSCOUT: Avoid checking alpha releases (aka x.y.0.z releases)

games/openra: simplify post-extract [3]
 - USES=mono:nuget allow overridding of NUGET_PACKAGEDIR
 - Set NUGET_PACKAGEDIR to correct location, fix patching accordingly

lang/fsharp: update to 4.6.2.7
 ChangeLog:
  - Fix #639: Problems with F# scripts on Mono
  - Fix FSharp.Compiler.Tools targets for .NET Core usage
  - Fix FSharp.Compiler.Tools package dependencies

lang/mono: update to 4.6.2.7
 Mono 4.6.2 is the 1st service release to the 4.6 series.
 Changes:
  - LICENSE: Add license of MIT
  - LICENSE_FILE: Add license file from source
  - PORTSCOUT: Avoid checking alpha releases (aka x.y.0.z releases)
 Bug fixes:
  - #44708 - "TrustFailure (The authentication or decryption has failed.) ...
            Invalid certificate received from server." with "Error code: 0x5"
            or "Error code: 0xffffffff800b010f" when attempting to access
            HTTPS servers on ports other than 443
  - #39832 - SIGSEGV when running roslyn

multimedia/banshee: bump port revision.
 - Update missing port dependencies
 - Convert to use option helpers
 - OPTIONS: Add APPLEDEV (missing dependency added)
 - LICENSE: Add MIT license
 - LICENSE_FILE: Add license file from source
 - PORTSCOUT: Skip alpha release (2.9.1)

x11-toolkits/gnome-sharp20: fix port dependencies
 - Add missing dependencies
 - Convert post-patch to shebangfix
 - LICENSE: add LGPL21 license
 - LICENSE_FILE: use license file from source
 - MKAE_JOBS_UNSAFE: remove, does appear to work

x11-toolkits/gtk-sharp20: update to 2.12.42.

PR:		214680 [2]
PR:		214681
Suggested by:	jbeich [1]
Submitted by:	jbeich [3]
Approved by:	avilla (maintainer; timeout) [2]
2016-11-27 17:00:08 +00:00
Gerald Pfeifer
89f8b05214 Bump PORTREVISIONS for ports depending on the canonical version of GCC and
lang/gcc which have moved from GCC 4.8.5 to GCC 4.9.4 (at least under some
circumstances such as versions of FreeBSD or platforms).

In particular that is ports with USE_GCC=yes, USE_GCC=any, or one of
gcc-c++11-lib, openmp, nestedfct, c++11-lib as well as c++14-lang,
c++11-lang, c++0x, c11 requested via USES=compiler.
2016-11-20 09:38:08 +00:00
Tom Judge
d80cc28447 Fix the patch to actually patch the file, not just create a patch file. 2016-11-14 16:33:15 +00:00
David Naylor
93273fcdf5 lang/mono: update to 4.6.1.5.
USES=mono: add nuget argument
  The nuget argument adds support for nuget packages.  The nuget
  packages must be specified in the NUGET_DEPENDS variable.

devel/monodevelop: update to 6.1.1.15
 - Switch to github.  The other official source is quite a few versions
   behind.
 - Add missing dependencies (fsharp, ssl2, curl)
 - Add required nuget packages
 - Add required external repositories
 - Drop options.  Although ./configure offers these flags, there is no
   functional change (i.e. no-op)
 - All patches have been upstreamed (and the one we need is from
   upstream).

lang/fsharp: update to 4.0.1.15
 - convert to use the nuget argument.

 ChangeLog:
   - Fix null condition in Fsc task

lang/mono-devel: update to 4.6
 - switch to new test target (currently tests the port to be installed)

www/gecko-sharp20: depreciate: broken and no-upstream
 - Give 1 month for anyone to complain that this port is being removed.

x11-toolkits/gtk-sharp30: bump PORTREVISION
 - Add LICENSE information
 - Add missing dependencies (per stage-qa)

x11-toolkits/gtk-sharp20: update to 2.12.40.
 - Add LICENSE information
 - Add missing dependencies (per stage-qa)
 - Change download location per Mono's Gtk# website.

PR:		213484
PR:		213796
Reviewed by:	mat, romain
Differential Revision:	https://reviews.freebsd.org/D8339
2016-10-31 06:58:31 +00:00
Tom Judge
d816ac3326 Fix sysctl(3) call in mono_process_list() where the MIB length argument was incorrectly passed to sysctl(3)
PR:		174216
Submitted by:	tj
Approved by:	maintainer timeout
2016-10-05 17:46:10 +00:00
Romain Tartière
8fa7432671 Fix build on FreeBSD 9.3
PR:		211696
Submitted by:	yani@pi-greece.eu
Reported by:	pkg-fallout
2016-08-17 08:23:37 +00:00
Romain Tartière
7a23d93dd0 Update to 4.4.2.11. 2016-08-08 17:48:17 +00:00
Romain Tartière
10b698e913 Update to 4.2.3.4 (latest stable release). 2016-04-11 11:10:14 +00:00
Mathieu Arnold
a9dcad2fff Remove ${PORTSDIR}/ from dependencies, categories h, i, j, k, and l.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:08:37 +00:00
Romain Tartière
e16a881178 Update to 4.2.2.10 [1]
While here, add patch to increase FD limit for kqueue-based FileSystemWatcher
[2].

PR:		205902 [1], 205919 [2]
Submitted by:	feld [1], razzfazz@gmail.com [2]
2016-01-16 12:13:44 +00:00
Romain Tartière
c845cfde98 Update to 4.2.1.124.
While here, import DNS cache fix [1].

Submitted by:	feld [1]
2015-12-18 16:29:57 +00:00
Romain Tartière
4c63218f5c Update to the now stable 4.2 branch. 2015-11-24 08:15:09 +00:00
John Marino
b2abb350a9 lang/mono: Remove $FreeBSD$ from patches
Patches aren't supposed to have $FreeBSD$ tags anymore.  The
fbsd:nokeywords property was properly set, so the $FreeBSD$ tag was not
even expanded, so these tags were removed.  Note that the mini-exceptions
patch is no longer needed.  According to the comments, it's is for
FreeBSD 8 support only.

Approved by:	portmgr (mat)
2015-09-16 12:42:00 +00:00
Romain Tartière
09dfb9fa32 Tidy-up a bit the Makefile
Reported by:	danfe
2015-08-16 09:13:56 +00:00
Romain Tartière
329511b2b7 Update to 4.0.3.20. 2015-08-16 06:54:46 +00:00
Romain Tartière
10d8d00953 Update to 4.0.1.28
Based on [1].

PR:		200118 [1]
Submitted by:	anders@jensenwaud.com [1]
2015-05-17 17:05:41 +00:00
Dmitry Marakasov
75eaa06aa3 - Add CPE info 2015-05-14 15:48:32 +00:00
Romain Tartière
91d83c66cf Fix build on FreeBSD 8.
PR:		ports/198404
Reported by:	kib
2015-03-09 15:12:26 +00:00
Romain Tartière
10cf878e61 Fix build on i386.
PR:		ports/198404
Submitted by:	wolfgang@lyxys.ka.sub.org
Obtained from:	kib
2015-03-09 14:11:01 +00:00
Romain Tartière
e41eab42da Fix build when no TimeZone is configured.
PR:		ports/198414
Submitted by:	Ting-Wei Lan <lantw44@gmail.com>
2015-03-09 14:09:54 +00:00
Romain Tartière
e92b4e4394 Import upstream patch for non-Linux ParseRouteInfo.
PR:		ports/194660
Submitted by:	Ben Woods <woodsb02@gmail.com>
2015-03-08 12:29:57 +00:00
Romain Tartière
930496c3da Update to 3.12.1. 2015-03-07 16:44:05 +00:00
Romain Tartière
dbde1c440e Use Mac NetworkInterface code instead of Linux NetworkInterface code
PR:		194845
Submitted by:	Ben Woods <woodsb02@gmail.com>
2014-11-10 14:23:12 +00:00
John Marino
a3292075d8 lang/mono: allow overriding Environment.SpecialFolder.Personal
Any port that writes to Environment.SpecialFolder.Personal during build
or when running tests may end up with files outside of the stage area that
aren't cleaned up by the ports framework.  The issue lies with Mono
looking in /etc/passwd first and only if no entry found there in $HOME.
This PR was an unnoticed prerequisite for the new port games/openra.

Patch based on discussion in https://github.com/mono/mono/pull/371

PR:		193426
Submitted by:	Jan Beich
Approved by:	maintainer timeout (8 weeks)
2014-10-31 13:13:09 +00:00
Romain Tartière
5b9f908e0f Update to 3.10.0. 2014-10-14 18:22:09 +00:00
Romain Tartière
121ccf7bcd Update to 3.8.0.
PR:		194009
Submitted by:	 Ben Woods <woodsb02@gmail.com>
2014-10-14 16:56:11 +00:00
Romain Tartière
ace571914e Update to 3.6.0. 2014-09-12 16:34:06 +00:00
Tijl Coosemans
195a414c73 Let USES=libtool also delete links to .la files (and links to links to...)
Approved by:	portmgr (antoine)
2014-09-08 12:21:50 +00:00
Romain Tartière
c7582fa9c3 Unbreak on FreeBSD 8.4.
PR:		ports/190851
Submitted by:	truckman
2014-06-25 09:40:15 +00:00
Baptiste Daroussin
a33191366c Convert GMAKE to MAKE_CMD
Please note that lots of invocation of MAKE_CMD here are wrong as they do not
properly respect MAKE_ENV and friends

With hat:	portmgr
2014-06-25 05:35:31 +00:00
Baptiste Daroussin
87e16ac3ef Let's remove one hidden bsd.*.mk superseeded by USES=mono 2014-05-26 13:32:32 +00:00
Baptiste Daroussin
28ec87158b Convert to USES=libtool
Use USES=compiler:c11 to enforce modern compiler (and clang version > 3.3)
Drop printing pkg-message it is done automatically by stage
Sharpen the sed on configure to fix in case of isinf it was making __thread testing hanging
Remove useless include of bsd.mono.mk
2014-05-26 12:55:44 +00:00
Romain Tartière
c9e31077ea Update to 3.4.0. 2014-04-08 10:39:41 +00:00
Tijl Coosemans
609b5c835a - Remove indefinite article from COMMENT.
- USES=tar:bzip2.
- USES=iconv and prefer nl_langinfo over locale_charset. [1]

Reported by:	antoine [1]
2014-03-24 12:18:04 +00:00
John Marino
b804dd299c lang/mono: Unbreak configure/runaway
Mono was set to build via clang unconditionally.  Other than have
a large, unnecessary dependency on clang33, this didn't bother
DragonFly until recently.  The 3.2.8 version has a conftest to test
for a working __thread implementation (which DragonFly has), but for
some reason the test locks up when built by clang.  I built the conftest
manually with gcc and it returned fine.

In any case, DragonFly's gcc47 base compiler builds mono fine, so to
unbreak the port on DragonFly, only specify clang on FreeBSD.
2014-03-14 16:09:07 +00:00
Romain Tartière
c0981d276a Unbreak relative paths for xbuild
PR:		ports/187130
Submitted by:	mva
2014-03-12 11:46:03 +00:00