Commit graph

56 commits

Author SHA1 Message Date
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
c86e9d9724 Remove NLS, DOCS, EXAMPLES and IPV6 from OPTIONS_DEFAULT, they are enabled by default anyway and don't need to be listed
Approved by:	portmgr blanket
2016-05-23 20:35:01 +00:00
Alexey Dokuchaev
ed62b74be6 Do not attempt to create ${STAGEDIR}${DESKTOPDIR}: `share/applications'
was added to mtree (Templates/BSD.local.dist) in r331266 2.5 years ago,
and fix some minor bogosities nearby.
2016-04-16 12:29:27 +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
Jung-uk Kim
d20bd649d5 Update to 1.6.2. 2016-02-11 23:45:10 +00:00
Baptiste Daroussin
5ef31d7ea8 Remove the SH overwrite which is not needed since CONFIGURE_ENV does the proper
job already
2015-06-27 12:01:30 +00:00
Jung-uk Kim
a36fc539ce Update to 1.5.2. 2015-02-05 20:13:39 +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
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
Jung-uk Kim
eff95d7ef9 Remove a hack to create symlink to libjli.so. java/openjdk8 does not need
this hack any more because it is statically linked now.
2014-05-17 06:19:24 +00:00
Jung-uk Kim
3eb0319a7b Add upstream patches to support java/openjdk8. Note OpenJDK8 is not
officially supported by the upstream and the next major release will drop
support for OpenJDK6.
2014-05-16 00:01:02 +00:00
Jung-uk Kim
82dc8daa1a Set JAVA_VERSION to exclude java/openjdk8. It is not supported yet. 2014-05-02 23:11:09 +00:00
Jung-uk Kim
70b053ef8b Update to 1.5. 2014-04-10 05:24:06 +00:00
Baptiste Daroussin
67a015afbc Convert from USE_GECKO to USES=gecko
While here stagify what was not staged yet
Convert to USES=webplugin where needed and add desktop-file-utils dependency to icedtea-web
2014-04-09 10:29:48 +00:00
Gerald Pfeifer
1cd277bdce Update the default version of GCC used in the Ports Collection from
GCC 4.6.4 to GCC 4.7.3.  This entails updating the lang/gcc port as
well as changing the default in Mk/bsd.default-versions.mk.

Part II, Bump PORTREVISIONs.

PR:		182136
Supported by:	Christoph Moench-Tegeder <cmt@burggraben.net> (fixing many ports)
Tested by:	bdrewery (two -exp runs)
2014-03-10 20:55:20 +00:00
Jung-uk Kim
e3db2bf8cd Update to 1.4.2. 2014-02-06 22:16:15 +00:00
Jung-uk Kim
f226f0aada - Support staging.
- Convert to use USES=webplugin:native.
- Remove an article from comment.
2013-11-12 18:22:05 +00:00
Gerald Pfeifer
3be3e90f93 Update to libmpc version 1.0.1 which brings the following fixes:
- Switched to automake 1.11.6, see CVE-2012-3386.
 - #14669: Fixed extraction of CC from gmp.h.
 - Fixed case of intermediate zero real or imaginary part in mpc_fma,
   found by hydra with GMP_CHECK_RANDOMIZE=1346362345.

This is on top of the following changes from version 1.0

 - Licence change towards LGPLv3+ for the code and GFDLv1.3+ (with no
   invariant sections) for the documentation.
 - 100% of all lines are covered by tests
 - Renamed functions
   . mpc_mul_2exp to mpc_mul_2ui
   . mpc_div_2exp to mpc_div_2ui
 - 0^0, which returned (NaN,NaN) previously, now returns (1,+0).
 - Removed compatibility with K&R compilers, which was untestable due
   to lack of such compilers.
 - New functions
   . mpc_log10
   . mpc_mul_2si, mpc_div_2si
 - Speed-ups
   . mpc_fma
 - Bug fixes
   . mpc_div and mpc_norm now return a value indicating the effective
     rounding direction, as the other functions.
   . mpc_mul, mpc_sqr and mpc_norm now return correct results even if
     there are over- or underflows during the computation.
   . mpc_asin, mpc_proj, mpc_sqr: Wrong result when input variable has
     infinite part and equals output variable is corrected.
   . mpc_fr_sub: Wrong return value for imaginary part is corrected.

Convert to the new LIB_DEPENDS standard and remove hard-coded
.so versions from a couple of dependent ports.

Bump PORTREVISIONS of all dependent ports.

PR:		183141
Approved by:	portmgr (bdrewery)
2013-10-26 00:52:33 +00:00
Dmitry Marakasov
ab24828630 - Remove manual creation and removal of share/applications, as it's now in the mtree (categories starting with [fgijk])
Approved by:	portmgr (bdrewery)
2013-10-22 13:58:55 +00:00
Jung-uk Kim
c9b9f1628c Update to 1.4.1. 2013-10-10 16:56:42 +00:00
Baptiste Daroussin
c2c2a2b86b Add NO_STAGE all over the place in preparation for the staging support (cat: java) 2013-09-20 19:48:32 +00:00
Andrej Zverev
d6908e9cb1 - convert to the new perl5 framework
- convert USE_GMAKE to Uses

Approved by:	portmgr (bapt@, blanket)
2013-09-15 08:15:41 +00:00
Jung-uk Kim
6494cb3f57 Add upstream patches to make it work again with the latest security patches
for OpenJDK ports.

Obtained from:	IcedTea Project
2013-07-16 23:29:58 +00:00
Florian Smeets
87948edeea - Remove www/libxul19, is has been vulnerable and unsupported upstream for
quite some time.
- Switch all remaining consumers to depend on www/libxul
- Mark ports that don't work with the new libxul BROKEN
- Mark some old ports DEPRECATED with a reasonable timeout

Approved by:	portmgr (miwi)
2013-06-15 11:10:34 +00:00
Jung-uk Kim
a97ed07513 Update to 1.4. 2013-06-11 23:18:45 +00:00
Florian Smeets
4ad19537aa Bump after r319872, www/libxul update.
(I bumped this port in the wrong checkout)
2013-06-04 15:50:46 +00:00
Baptiste Daroussin
5271da855f Rely on bsdtar to autodetermine the format of the distfiles when possible
For a while now bsdtar is able to autotermine compression and archive format.
Let's then use tar directly instead of piping to tar.

Now USE_BZIP2 and USE_XZ only set EXTRACT_SUFX to the right format
2013-04-29 08:57:12 +00:00
Jung-uk Kim
8f11da0157 Update to 1.3.2. 2013-04-26 23:26:07 +00:00
Baptiste Daroussin
4ad115ab4e Convert j* categories to USES=pkgconfig 2013-04-23 11:46:54 +00:00
Jung-uk Kim
5caef841b9 Add libxul19 as a possible Gecko.
Feature safe:	yes
2012-11-09 22:45:19 +00:00
Jung-uk Kim
fa75392bda - Update to 1.3.1.
- Tidy up dependencies, trim Makefile header, and clean up style.

Feature safe:	yes
2012-11-08 18:22:11 +00:00
Beat Gaetzi
734349b51e - Move libxul 1.9.2 to www/libxul19
- Update www/libxul to 10.0.7
- Update all dependent ports to use www/libxul19 (no functional changes)
- Bump PORTREVISION on ports where libxul is a run dependency as the
  resulting package will change.

Submitted by:	Jan Beich <jbeich@tormail.org>
With hat:	gecko
2012-09-10 19:19:32 +00:00
Jung-uk Kim
e6d638b4ac - Add perl as a build dependency.
- Fix perl path for javac wrapper. [1]

PR:		ports/170772 [1]
2012-09-10 19:15:11 +00:00
Jung-uk Kim
f2768fbc01 Set LC_ALL instead of LANG. Some users still complain about locale issues. 2012-09-10 18:34:58 +00:00
Jung-uk Kim
ad941604d6 Catch up with icedtea.classpath.org changes to fix fetch & extract issues.
Reported by:	osa, barbara (barbara dot freebsd at gmail dot com)
2012-09-07 18:59:28 +00:00
Jung-uk Kim
14d7f5f921 Remove an unnecessary change in the previous commit. 2012-09-06 21:21:00 +00:00
Jung-uk Kim
61a04e3a5b Update to 1.3. 2012-09-06 21:15:59 +00:00
Jung-uk Kim
0271a4a8b2 Allow java/openjdk7 to build and execute Java plugin. A necessary patch for
OpenJDK7 was committed as r303173.
2012-08-27 17:43:38 +00:00
Jung-uk Kim
432b80cefa Fix web plugin crash with Firefox 14.
PR:		ports/170352
Obtained from:	IcedTea Project (PR1106)
2012-08-13 21:27:49 +00:00
Jung-uk Kim
227e93bb6e Update to 1.2.1. 2012-07-31 20:02:08 +00:00
Baptiste Daroussin
9346b215f0 new devel/pkgconf added to replace devel/pkg-config. new version of pkg-config
are no more self hosting so we are stuck with 0.25 version while pkgconf provide
the same set of features as 0.27 and a compatible frontend. A symlink to
pkg-config has been added for convenience and compatibility

This also introduces a new macro to use pkgconf in your ports:
USE_PKGCONFIG

it can take the following arguments:
 - yes (meaning build only dep)
 - build (meaning build only dep)
 - run (meaning run only dep)
 - both (meaning run and build dep)

From now USE_GNOME= pkgconfig is deprecated in favour of USE_PKGCONFIG
The old gnome macro has been modified to use pkgconf but still the sameway: run
and build dep to avoid large breakage.

While here fix some ports relying on pkg-config but not specifying it, fix some
ports broken because testing wrong .pc files, and fix ports using pkg-config
--version to determine pkg-config version instead of
pkg-config --modversion pkg-config like recommanded by pkg-config

With Hat:	portmgr
Exp-runs by:	bapt (pointhat-west), beat (pointyhat)
2012-07-26 05:40:22 +00:00
Jung-uk Kim
c4fa45e259 Fix broken r300965. The options should be defined prior to including
bsd.port.options.mk.  While here, convert NOPORTDOCS to DOCS option.

Pointed by:	bapt
2012-07-24 16:55:48 +00:00
Jung-uk Kim
f14e3ddcc8 Use the new options framework. 2012-07-16 18:12:34 +00:00
Dirk Meyer
2b74a89bc8 - update png to 1.5.10 2012-06-01 05:26:28 +00:00
Jung-uk Kim
4021f1476f Fix javaws launcher. This shell script now uses bash extensions. 2012-03-06 00:38:48 +00:00
Jung-uk Kim
4f2f499449 Update to 1.2. 2012-03-05 23:51:06 +00:00
Jung-uk Kim
bb4bef4870 Update to 1.1.4. 2011-11-08 17:40:22 +00:00
Jung-uk Kim
bc66c78721 Update to 1.1.3. 2011-09-28 22:03:08 +00:00
Jung-uk Kim
25a0ad461c Make portlint happy. 2011-08-31 20:09:13 +00:00
Jung-uk Kim
70460954a0 Update to 1.1.2. 2011-08-31 19:52:13 +00:00