Commit graph

25 commits

Author SHA1 Message Date
Tijl Coosemans
aad09bc5e2 When linking a library libA with a library libB using libtool, if libB.la
exists, libtool will add all libraries libB.la refers to (dependency_libs
field) to the linker command line and store them in the dependency_libs
field of libA.la.  So everything that subsequently links with libA will also
link to these extra libraries.  This causes too much overlinking.

This commit modifies Mk/Uses/libtool.mk so it empties the dependency_libs
field in .la libraries during staging.  However, because .la libraries have
very limited use when dependency_libs is empty it makes sense to completely
remove them during staging.

So with this commit USES=libtool is modified to remove .la libraries and a
new form (USES=libtool:keepla) is introduced in case they need to be kept
(dependency_libs is still emptied).

PORTREVISION is bumped on all ports with USES=libtool that install .la
libraries.  Most ports are also changed to add :keepla because .la
libraries have to be kept around as long as there are dependent ports with
.la libraries that refer to them in their dependency_libs field.  In most
cases :keepla can be removed again as soon as all dependent ports that
install .la libraries have some form of USES=libtool added to their
Makefile.

PR:		ports/188759
Exp-run:	bdrewery
Approved by:	portmgr (bdrewery)
2014-04-23 13:25:16 +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
Matthew Seaman
bb9cc0d276 Fix build on 10.x
While here:

   * Stagify
   * stage-qa fixes: USE shebangfix desktop-file-utils

PR:		182431
Submitted by:	Han Frederic (maintainer)
2014-02-02 22:31:11 +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
d46ccd7303 - Remove manual creation and removal of share/applications, as it's now in the mtree (categories starting with m)
Approved by:	portmgr (bdrewery)
2013-10-22 13:56:27 +00:00
Baptiste Daroussin
ce5e457020 Add NO_STAGE all over the place in preparation for the staging support (cat: math) 2013-09-20 20:55:04 +00:00
William Grzybowski
327a5adb41 math/giacxcas: update to 1.1.0
- Update to 1.1.0 [1]
- Convert lib depends to new syntax
- USES gmake

PR:		ports/181906 [1]
Submitted by:	Han Frederic <han math.jussieu.fr> (maintainer)
2013-09-10 01:23:13 +00:00
Brendan Fabeny
6c4fa199d0 Update math/gsl to 1.16 and adjust some dependent ports 2013-08-26 16:06:37 +00:00
Alex Kozlov
d4041784dc - Remove MAKE_JOBS_SAFE variable
Approved by:	portmgr (bdrewery)
2013-08-14 22:35:50 +00:00
Hiroki Sato
4e09def2d4 Rectify USE_TEX to support both of teTeX and TeXLive.
TEX_DEFAULT:
	A knob to choose teTeX or TeXLive.  One can specify in /etc/make.conf.

USE_TEX:
	A knob for port developers.  Valid keywords are listed in
	bsd.tex.mk.
2013-05-11 17:58:55 +00:00
Hiroki Sato
7dadfc8a88 Remove *_DEPENDS from ports which depend on teTeX and add USE_TEX=tetex
instead to make migration to TeXLive easier.
2013-05-06 02:00:40 +00:00
Alex Kozlov
e159824929 - Convert USE_GETTEXT to USES (part 3)
Approved by:	portmgr (bapt)
2013-04-24 18:10:30 +00:00
Alexey Dokuchaev
0fd1270901 - Update to version 1.0.0
- Update CocoaLib dependency version to 9950
- Use the PORTDOCS and PORTDATA macros in Makefile
- Trim Makefile header, define LICENSE (GPLv3)
- Perform miscellaneous cleanups while I am at it

PR:		ports/175143
Submitted by:	maintainer
2013-01-31 12:29:49 +00:00
Michael Scheidell
c6b248352f - Update to 0.9.5
PR:		ports/164030
Submitted by:	Han Frederic <han@math.jussieu.fr> (maintainer)
2012-06-22 13:44:53 +00:00
Dirk Meyer
2b74a89bc8 - update png to 1.5.10 2012-06-01 05:26:28 +00:00
Jason Helfman
7ef9cd8fa2 - Update to 0.9.5
-swich back to previous auxiliary file fltkdev.tgz instead of fltk-giac.tar.gz due to a printing bug in 64bits.
- xgiac was removed in the author sources, so remove texmacs run dependency
- add lapack dependency

PR: ports/164030
Submitted by: maintainer, Han Frederic <han at math.jussieu.fr>
Approved by:	crees (mentor)
2012-01-14 21:43:20 +00:00
Pawel Pekala
d72e552953 - Update from the author sources to giac 0.9.3 [1]
- The fltk auxiliary file is updated from giac's author. The name of the new
  version has changed to fltk-giac.tar.gz [1]
- (re)Enable pari support, This version of giac is now
  compatible with pari > 2.3 [1]
- Remove (after run tests) the amd64 extra flags in the Makefile [1]
- Patch phase don't require bash [2]
- Programs link to libintl so add USE_GETTEXT=yes [2]
- Add run dependency on editors/texmacs, xgiac script calls it [2]
- Fix path to binaries in dektop entry files [2]
- Mark MAKE_JOBS_SAFE [2]

PR:		ports/161302 [1]
Submitted by:	Han Frederic <han@math.jussieu.fr> [1], myself [2]
2011-11-01 17:32:02 +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
Pav Lucistnik
b66ffe82cf - Update MASTER_SITES
- Does not build with new pari so disable pari

PR:		ports/160258
Submitted by:	Han Frederic <han@math.jussieu.fr> (maintainer)
2011-08-28 21:59:26 +00:00
Brendan Fabeny
4fd0a4b1c1 Update math/gsl to 1.15, and adjust PORTREVISION
and LIB_DEPENDS of dependent ports
2011-05-09 16:42:27 +00:00
Max Brazhnikov
07de5b399e - Update to 0.9.1
- Remove patches integrated upstream

PR:		ports/156192
Submitted by:	Han Frederic (maintainer)
2011-04-09 15:40:17 +00:00
Martin Wilke
bb86cbe5d2 - Get Rid MD5 support 2011-03-20 12:54:45 +00:00
Pav Lucistnik
7d0ccdc734 - Fix build on FreeBSD 8.0
Submitted by:	maintainer
2010-10-13 12:44:24 +00:00
Max Brazhnikov
8fc31d32f0 - Add new mastersite and use original sources from author
- Fix build on pointyhat
- Fix runtime problem on amd64
- Use @dirrmtry for common directories

PR:		ports/150395
Submitted by:	Han Frederic (maintainer)
2010-10-09 22:26:00 +00:00
Max Brazhnikov
5e65c4ac4a Add new port math/giacxcas:
General purpose Computer algebra system by Bernard Parisse released
under GPLv3. The french documentation by Renee De Graeve is for non
commercial use only.
it consists of:
 - a C++ library (libgiac).  It is build on C and C++ libraries:
   PARI, NTL (arithmetic), CoCoA (Groebner basis), GSL (numerics),
   GMP (big integers), MPFR (bigfloats) and provides algorithms for
   basic polynomial operations (product, GCD) and symbolic
   computations (simplifications, limits/series, symbolic
   integration, sommation, ...). The library can be configured to
   accept Maple or TI syntax to ease the transition for users of
   these systems.
 - a command line interpreter (icas or giac). It can be called from texmacs.
 - a FLTK-based GUI (xcas). It is a GUI for symbolic computation
   with several modules added: 2-d and 3-d graphics, dynamic 2-d and
   3-d geometry (exact or numeric), spreadsheet, programming
   environment.

WWW:	http://www-fourier.ujf-grenoble.fr/~parisse/giac.html

PR:		ports/150395
Submitted by:	Han Frederic <han at math.jussieu.fr>
2010-09-21 15:29:52 +00:00