Commit graph

56 commits

Author SHA1 Message Date
Tobias C. Berner
5e373eaa92 Make ninja opt-out in cmake.mk
Using ninja instead of make (1) can lead to significant speed ups while building.
Therefore switch from having the ninja generator opt-in to having it opt-out.

Previously cmake-ports that wanted to use ninja could set
    CMAKE_NINJA=yes
now, ports that do not work with ninja can set
    cmake:<existing args>,noninja
Note, that needing this should be an exception and most often points to a broken
cmake of the port.

The ports using cmake were modified
* removed USES=gmake, if ninja is used
* removed MAKE_ARGS, if ninja is used
* added the cmake-argument noninja if necessary

PR:		219629
PR:		213331
Exp-run by:	antoine
Reviewed by:	rakuco
Differential Revision:	https://reviews.freebsd.org/D10748
2017-06-25 21:07:58 +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
Antoine Brodin
1e8193054c libvmime stages fine with default INSTALL_TARGET 2017-03-26 11:37:09 +00:00
Bernard Spil
e5e3c24018 mail/libvmime: Update to v0.9.2
- Update from snapshot to release 0.9.2
  - Work around missing install-strip target
  - Update pkg-plist
  - re-roll patch
  - Fix compile error in posixSocket

PR:		216999
2017-03-26 10:42:16 +00:00
Xin LI
ee0ba770a9 Return this back to pool, I no longer use this library. 2016-06-26 19:13:12 +00:00
Mathieu Arnold
8d6597e0bb Remove ${PORTSDIR}/ from dependencies, categories m, n, o, and p.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:16:16 +00:00
Tijl Coosemans
6bc6f3a9e0 - Update security/gnutls to 3.4.10.
- Rename the LIBDANE option DANE because that's the name of the protocol
  supported by libgnutls-dane and gnutls-cli.  Also clarify the option
  description.
- Add an IDN option.
- libgnutls-openssl has been removed in 3.4.  Some ports used this library
  in their LIB_DEPENDS but no port actually required it.
- Some old API functions have been removed.  Ports that used these have been
  updated or patched to use the new API.
- Add a patch to print/cups to prevent overlinking of libgnutls.so.
- Bump PORTREVISION on dependent ports.

net-im/jabber: This port used the old API to give users fine grained
control over which crypto algorithms were used via a configuration file.
It's not immediately obvious how to port this to the new API so the port
always uses the defaults now.

www/hydra: Mark BROKEN.  This uses more removed calls than the other ports,
is said to be alpha quality and not fully functional and has been abandoned
10 years ago.

PR:		207768
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2016-03-27 14:57:59 +00:00
Raphael Kubo da Costa
f358732b18 Uses/iconv.mk: Set iconv-related CMake variables.
The way we deal with iconv in base and ports across different FreeBSD
releases is complicated: 9.x does not have iconv.h in base, 10.1 has it with
a different prototype for iconv(3) and later versions have the right
iconv(3) prototype. And, in some cases (USES=iconv:{translit,wchar_t}), we
must always use the libiconv port.

This is why there are so many checks in Uses/iconv.mk: we need to know the
situation we currently have in order to decide whether to pull iconv from
converters/libiconv, whether to just use its header (and pull the library
from base) or whether to use everything from base.

r384038 adjusted several CMake-based ports, but did so in a way that was not
very scalable and required a few intrusive patches to some ports. Most ports
that have both USES=cmake and USES=iconv use variations of FindIconv.cmake
that behave similarly. This change passes the header and library values we
really want to use to CMake using the most common variable names, bypassing
the calls to find_path() and find_library() that would sometimes end up
finding the wrong file. The few ports that use different variable names have
had their Makefiles adjusted (we manually pass the values we want via
CMAKE_ARGS).

Other changes:
- chinese/fcitx: Explicitly set LIBICONV_LIBC_HAS_ICONV_OPEN=OFF as we
  always want the version from ports because of USES=iconv:wchar_t.
- editors/calligra: Explicitly use iconv:translit because Kexi needs it.
- irc/weechat and irc/weechat-devel: The FindIconv.cmake patches could not
  be entirely removed because the check_library_exists() calls are wrong.
  Sent upstream: https://github.com/weechat/weechat/pull/513
- textproc/ctpp2: Use iconv:translit when the TRANSLITERATE option is used.

PORTREVISION has been bumped in editors/calligra and textproc/ctpp2 because
their dependency list has changed in 10.2 and later as the ports version is
always used now.

PR:		202798
Reviewed by:	antoine, tijl
Approved by:	portmgr (antoine)
2015-09-03 15:44:13 +00:00
Mathieu Arnold
07da776842 Update ports in the [i-m]* category to not use GH_COMMIT.
With minor cleanups to make things simpler.

With hat:	portmgr
Sponsored by:	Absolight
2015-05-07 16:32:43 +00:00
Tijl Coosemans
074ea5282a converters/libiconv:
- Remove const qualifier from iconv(3) to match POSIX:
  http://pubs.opengroup.org/onlinepubs/9699919799/functions/iconv.html
- Patch iconv.h to expose more GNU extensions when LIBICONV_PLUG is
  defined because the base system iconv supports these extensions too.

Add/remove patches to/from ports to call iconv with non-const arguments.

This breaks some ports on FreeBSD 10 because base system iconv.h still has
the const qualifier.  Fix this by letting USES=iconv add a build dependency
on converters/libiconv so ports can use its iconv.h (with LIBICONV_PLUG
defined) instead of the base system iconv.h.

This exposed some ports that link with libiconv when it is available instead
of using libc iconv.  In these cases one of the following changes has been
made:
- patch configure scripts to test for libc iconv first
- add ac_cv_lib_iconv_libiconv=no or similar to CONFIGURE_ARGS to disable
  some configure tests
- converters/wkhtmltopdf: this includes Qt4 so add a patch from devel/qt4
- lang/gcc5-aux: respect CFLAGS and friends during configure such that
  LIBICONV_PLUG is defined in the iconv test, also switch to external
  gettext
- mail/gnarwl: replace patches with CPPFLAGS/LIBS
- multimedia/ffmpeg2theora: remove iconv test from SConstruct and use
  ICONV_LIB in port Makefile instead, also fix a bug in subtitles.c
- net-im/licq: finish conversion to cmake
- net-mgmt/bandwidthd, net-mgmt/icinga, net-mgmt/nagios, net-mgmt/nagios4:
  don't need iconv
- textproc/p5-XML-TinyXML: finish conversion to USES=perl5

Other changes:
- databases/qdbm and slaves: respect CFLAGS and friends, also enable bzip2
  and lzo support
- games/ldmud: respect CFLAGS and friends
- graphics/inventor: replace some patches with MAKE_ARGS/MAKE_ENV to respect
  CFLAGS and friends, also remove FreeBSD/alpha patch and add missing xorg
  dependencies

PR:		199099
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2015-04-15 08:20:27 +00:00
Antoine Brodin
8e556b93ae Cleanup plist 2014-11-22 18:42:44 +00:00
Gerald Pfeifer
15945f8122 Update the default version of GCC in the Ports Collection from GCC 4.7.4
to GCC 4.8.3.

Part II, Bump PORTREVISIONs.

PR:		192025
Tested by:	antoine (-exp runs)
Approved by:	portmgr (implicit)
2014-09-10 20:50:31 +00:00
Tijl Coosemans
3ab1b8443e - Replace security/gnutls with security/gnutls3 and update to 3.2.15
- Bump PORTREVISION on all ports that depend on security/gnutls and
  adjust all ports that depend on security/gnutls3
- Update mail/anubis to version 4.2 which supports gnutls 3.x
- Update mail/libvmime to a development snapshot (recommended by upstream
  developers)

PR:		191274
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2014-07-23 09:54:02 +00:00
Jimmy Olgeni
168f57451a Remove indefinite articles and trailing periods from COMMENT, plus minor
COMMENT typos and surrounding whitespace fixes. A few Makefiles where not
included as they contain Latin-1 characters that break the Phabricator
workflow. Category M.

CR:		D306
Approved by:	portmgr (bapt)
2014-07-07 15:31:01 +00:00
Dmitry Marakasov
eabe39d426 - Convert security/gsasl to USES=libtool, drop .la files
- Bump revisions of dependent ports as gsasl .so version has changed
- Convert USE_BZIP2 and USE_XZ to USES in some ports

Approved by:	portmgr blanket
2014-06-03 13:58:32 +00:00
Dmitry Marakasov
c07b836c92 - Convert USE_BZIP2 to USES
- Use new LIB_DEPENDS syntax
- Switch to USES=libtool, drop .la files

Approved by:	portmgr blanket
2014-06-03 13:51:43 +00:00
Martin Wilke
a4ab51e993 - Stage support 2014-02-15 10:13:05 +00:00
Baptiste Daroussin
fd61959c15 Add NO_STAGE all over the place in preparation for the staging support (cat: mail) 2013-09-20 19:59:12 +00:00
Xin LI
9da2d73d6b Fix a build. 2013-09-12 18:36:20 +00:00
Xin LI
ad8656c49d Fix build.
Per ISO C++03 14.2/4:

When the name of a member template specialization appears after . or ->
in a postfix-expression, or after nested-name-specifier in a qualified-id,
and the postfix-expression or qualified-id explicitly depends on a
template-parameter (14.6.2), the member template name must be prefixed by
the keyword template. Otherwise the name is assumed to name a non-template.
2013-09-06 00:17:45 +00:00
Baptiste Daroussin
0e4c70bcc8 Add an explicit dependency on pkgconf 2013-09-02 19:55:48 +00:00
Alex Kozlov
d4041784dc - Remove MAKE_JOBS_SAFE variable
Approved by:	portmgr (bdrewery)
2013-08-14 22:35:50 +00:00
Marcus von Appen
a3a0715f38 - Convert USE_ICONV=yes to USES=iconv
- Change USE_GNOME=pkgconfig|gnomehack to USES=pathfix|pkgconfig while here

Reviewed by:	zeising
2013-04-27 11:59:28 +00:00
Roman Bogorodskiy
91e365d630 - Add UPDATING entry for gnutls update
- Chase shlib version bump for dependant ports
2013-02-05 16:17:06 +00:00
Johan van Selst
e8587758f8 Chase security/gsasl library update 2012-06-03 13:56:44 +00:00
Xin LI
d0d0e0ba23 - Do not rely on specific gnutls nor gsasl version.
- Fix clang compilation.

Submitted by:	Mel Flynn <rflynn acsalaska net>
2012-03-08 18:54:06 +00:00
Dmitry Marakasov
6f6fbe4bdf - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
2011-09-23 22:26:39 +00:00
Roman Bogorodskiy
207386f96a Chase security/gnutls update and add an UPDATING entry. 2011-06-05 18:43:16 +00:00
Xin LI
7bb946c334 Update to 0.9.1. 2011-05-03 18:47:10 +00:00
Johan van Selst
d206a1376c Chase security/gsasl update 2011-02-25 14:08:31 +00:00
Kirill Ponomarev
3a93a11f4f Chase deps shlib version after updating security/gsasl 2009-12-15 20:59:48 +00:00
Xin LI
8121e44e5f - Fix a possible segfault in stringUtils::countASCIIchars()
- Fix body contents not generating bug caused by stream::reset() won't
   reset EOF condition.

Obtained from:	vmime svn
2009-12-08 17:59:00 +00:00
Dmitry Marakasov
a13d9a603d - Switch SourceForge ports to the new File Release System: categories starting with M 2009-08-22 00:28:34 +00:00
Xin LI
ddbce161cb Chase for latest GNUtls's removal of libgnutls-config. 2009-08-19 23:29:24 +00:00
Roman Bogorodskiy
f32c11d872 Bump PORTREVISIONs of the gnutls dependant ports to chase gnutls update. 2009-08-16 18:04:40 +00:00
Xin LI
43a7f11740 Mark MAKE_JOBS_SAFE wherever makes sense. 2009-03-27 01:09:14 +00:00
Kirill Ponomarev
eb3283ed6e Chase libs for previous security/gsasl update. 2009-02-06 07:24:05 +00:00
Mark Linimon
164d970ce6 Mark as broken on sparc64: does not compile. 2009-02-03 06:18:18 +00:00
Xin LI
dfe374f9bf Derive CXXFLAG from CFLAG explicitly. Without this, user supplied CXXFLAG
could cause compile fail due to the lack of -I${LOCALDIR}

Reported/tested by:	Andrei V. Lavreniyuk <andy.lavr reactor-xg kiev.ua>
2008-11-24 06:46:59 +00:00
Xin LI
1c01c6a605 Update to 0.9.0 2008-11-16 21:49:03 +00:00
Kirill Ponomarev
28dd1cf220 - Update to version 0.2.28
- Bump sh lib version on depending ports

PR:		ports/126857
Submitted by:	mm@FreeBSD.org
2008-08-26 20:28:09 +00:00
Xin LI
e4eb9af0d9 This port is not broken, it does not compile due to the corrupted header
installed by gnutls, which is now fixed.
2008-07-30 08:53:32 +00:00
Pav Lucistnik
efa63f6ba4 - Remove USE_GCC where it can be satisfied with base compiler on following
FreeBSD versions: 5.3 and up, 6.x, 7.x, 8-CURRENT
2008-07-25 14:34:52 +00:00
Pav Lucistnik
576a467f79 - Mark BROKEN: does not compile with gnutls-2.4.x 2008-07-23 00:57:45 +00:00
Edwin Groothuis
090059a210 Bump portrevision due to upgrade of devel/gettext.
The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).

PR:             ports/124340
Submitted by:   edwin@
Approved by:    portmgr (pav)
2008-06-06 14:17:21 +00:00
Xin LI
ec2fc08a00 Remove GNUTLS_E_OPENPGP_TRUSTDB_VERSION_UNSUPPORTED after GNUTLS upgrad
in order to fix build.

Reporteed by:	pointyhat via pav
2008-03-05 23:09:46 +00:00
Roman Bogorodskiy
c9536f39b3 - Chase security/gnutls shlib version bump
- Add an entry to UPDATING
2008-03-03 11:57:08 +00:00
Xin LI
dd46428dfa - Define _GLIBCXX__PTHREADS as a workaround for our gcc's gthr.h,
which defines _GLIBCXX_GTHREAD_USE_WEAK and causes compilation
   to fail for no good reason.
 - Respect users' CFLAGS setting.
 - Use MASTER_SITE=SF.
 - Bump PORTREVISION.
2008-02-18 00:10:20 +00:00
Xin LI
d1a735b326 Now we have a usable gnutls version that can be used with libvmime,
so enable it in build.
2007-12-14 22:04:22 +00:00
Kirill Ponomarev
b0cd481e69 Chase libver after security/gsasl update. 2007-09-05 13:57:27 +00:00