Commit graph

48 commits

Author SHA1 Message Date
Mathieu Arnold
551be3c723 Convert Python ports to FLAVORS.
Ports using USE_PYTHON=distutils are now flavored.  They will
  automatically get flavors (py27, py34, py35, py36) depending on what
  versions they support.

  There is also a USE_PYTHON=flavors for ports that do not use distutils
  but need FLAVORS to be set.  A USE_PYTHON=noflavors can be set if
  using distutils but flavors are not wanted.

  A new USE_PYTHON=optsuffix that will add PYTHON_PKGNAMESUFFIX has been
  added to cope with Python ports that did not have the Python
  PKGNAMEPREFIX but are flavored.

  USES=python now also exports a PY_FLAVOR variable that contains the
  current python flavor.  It can be used in dependency lines when the
  port itself is not python flavored.  For example, deskutils/calibre.

  By default, all the flavors are generated.  To only generate flavors
  for the versions in PYTHON2_DEFAULT and PYTHON3_DEFAULT, define
  BUILD_DEFAULT_PYTHON_FLAVORS in your make.conf.

  In all the ports with Python dependencies, the *_DEPENDS entries MUST
  end with the flavor so that the framework knows which to build/use.
  This is done by appending '@${PY_FLAVOR}' after the origin (or
  @${FLAVOR} if in a Python module with Python flavors, as the content
  will be the same).  For example:

    RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR}

PR:		223071
Reviewed by:	portmgr, python
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D12464
2017-11-30 15:50:30 +00:00
Diane Bruce
7ce1d917d3 Fix build under gfortran7
Bug 222560: comms/wspr: fails to build with lang/gcc7 or later
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=222560

PR:		ports/222560
Reported by:	Jan Beich <jbeich@FreeBSD.org>
2017-09-27 23:29:43 +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
Bryan Drewery
f3af3367aa Allow these ports to build with PACKAGE_BUILDING_FLAVORS set.
Poudriere in particulr did not properly handle DEPENDS_ARGS which
made these ports not properly install dependencies.  That bug
is being addressed along with adding FLAVORS support to it.

With hat:	portmgr
MFH:		2017Q2
2017-06-04 21:49:48 +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
8be0a23997 Remove dependency on obsolete python 3.3 2017-03-12 20:37:29 +00:00
Gerald Pfeifer
e4b7b9118a 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), part II.

The first part covered  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.

This adds ports with USES=fortran and ports using Mk/bsd.octave.mk
which in turn has USES=fortran.

PR:		214965
Reported by:	thierry
2016-12-07 13:24:56 +00:00
Stephen Hurd
69195e1f58 Fix Make fails with a 32bit architecture.
Also, add strip.

PR:		200042
Submitted by:	takefu@airport.fm
2016-04-08 07:31:44 +00:00
Mathieu Arnold
7f4572eae4 Remove ${PORTSDIR}/ from dependencies, Mk and categories a, b, and c.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 13:29:15 +00:00
Antoine Brodin
6b46dd4d22 Spell MAKE_JOBS_UNSAFE correctly 2015-09-10 18:29:38 +00:00
Diane Bruce
7713469fc1 Unbreak build
Portaudio cleanups
remove obsolete USE_AUTOTOOLS=  autoconf
2015-07-27 16:37:12 +00:00
Antoine Brodin
5780c3d1fa Spell MAKE_JOBS_UNSAFE correctly 2015-06-28 15:23:03 +00:00
Baptiste Daroussin
3fef6c52f0 Update portaudio to v19/Remove portaudio2 [1]
Chase portaudio change
Add patches from debian for games/cultivation
Add patches from upsteam for audio/rezound
Mark py-fastaudio as broken

Approved by:	maintainer
2015-05-30 20:39:12 +00:00
Mathieu Arnold
60d1a83c2a MASTER_SITES cleanup.
- Replace ${MASTER_SITE_FOO} with FOO.
- Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9%
  of the time.)
- Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and
  no hint of what it should be was present.
- Fix some logic.
- And generally, make things more simple and easy to understand.

While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and
SAMBA macros.

Also, replace some EXTRACT_SUFX occurences with USES=tar:*.

Checked by:	make fetch-urlall-list
With hat:	portmgr
Sponsored by:	Absolight
2015-05-14 10:15:04 +00:00
Diane Bruce
4a50f64bed Update py-numpy use in WsprMode/spectjt.py as well 2014-12-16 02:58:47 +00:00
Diane Bruce
a0921d30f8 - Unbreak wspr
- While here fix import of zeroes removing obsolete import
  added DOS2UNIX to faciltate this change
- Do not re-add #LDFLAGS+=     -shared it breaks configure
2014-12-15 14:07:51 +00:00
Tijl Coosemans
60945f0277 Replace USES=libtool:oldver with USES=libtool or USES=libtool:keepla in
the 32 ports that still use it.  Bump PORTREVISION on their dependent
ports except the ones that depend on these:

audio/libogg
audio/libvorbis
devel/pcre
ftp/curl
graphics/jpeg
graphics/libart_lgpl
graphics/tiff
textproc/expat2
textproc/libxslt

In these cases the same trick as in the recent gettext update is used.
The ports install a symlink with the old library version.  When enough
of their dependent ports have had regular updates the remaining ones can
get a PORTREVISION bump and the links can be removed.

Also remove the devel/pcre dependency from USE_GNOME=glib20.  It causes
over 2200 packages to depend on devel/pcre while less than 200 actually
link with it.  The glib20 package still depends on devel/pcre so this
should not make a difference for ports with USE_GNOME=glib20.  Also,
libdata/pkgconfig/glib-2.0.pc lists pcre as a private library so
USE_GNOME=glib20 should not propagate it.

PR:		195724
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2014-12-08 16:48:38 +00:00
Dmitry Sivachenko
7007ea4b9b Fix compilation after recent numpy patch.
Patch by thierry@FreeBSD.org, pointed out by antoine.
2014-10-23 15:23:27 +00:00
Antoine Brodin
3b8f271c66 Ignore on the package builders when the default version of python is different
from the requested one

Reported by:	pkg-fallout
2014-10-18 14:46:42 +00:00
Diane Bruce
a79a58bde1 - delete bogus old patch 2014-10-09 12:38:54 +00:00
Diane Bruce
b2be06969c - update to the version 4 branch
- add LICENSE
2014-10-07 22:30:36 +00:00
William Grzybowski
810bc9d8b3 comms/wspr: switch from py-imaging to py-pillow
- USES python

With hat:	python
Reviewed by:	portmgr (bdrewery, implicit)
2014-10-04 14:34:50 +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
4bdd97e324 math/fftw3:
- Add USES=libtool and bump dependent ports
- Add INSTALL_TARGET=install-strip
- Remove PTHREAD_CFLAGS and PTHREAD_LIBS
- Use MAKE_CMD
2014-08-31 16:36:22 +00:00
Adam Weinberger
44eaadcb75 Add OPTIONS_DEFINE=DOCS for ports with %%PORTDOCS%% in the plist.
Where possible, correct a few instances where PORTDOCS was being used
to flag stuff in EXAMPLESDIR. For some ports, mostly those owned by
ruby@, PORTDOCS is applied to pretty much everything whether it's
documentation or example.
2014-07-15 23:11:12 +00:00
Diane Bruce
5d892c2d37 - Fix build
- Stagify
- change MAINTAINER to team hamradio@
2014-06-27 01:07:04 +00:00
Diane Bruce
a284c36081 - Interim fix of wspr to fix build
- add staging whilst here
2014-06-08 14:48:55 +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
Tijl Coosemans
564a799c71 Convert all USE_FORTRAN=yes to "USES=fortran, USE_GCC=yes". In most cases
USE_GCC=yes has been omitted though.

Remove USE_FORTRAN handling from bsd.port.mk and bsd.gcc.mk.

Minor cleanups in some ports like USE_GMAKE, NOPORTDOCS,...

Exp-run:	bdrewery
Approved by:	portmgr (bdrewery)
2014-02-16 17:15:31 +00:00
Rene Ladan
50f8eaece1 Python cleanup:
- USE_PYTHON* = 2.X -> USE_PYTHON* = 2
- USE_PYTHON* = 2.X+ -> USE_PYTHON* = yes
Reviewed by:	python (mva, rm)
Approved by:	portmgr-lurkers (mat)
2014-01-13 21:00:02 +00:00
Adam Weinberger
fbd9122a40 Convert comms to MDOCS and MEXAMPLES.
Hold-out shame list: perl
2014-01-03 16:06:00 +00:00
Baptiste Daroussin
22aa02fd75 In preparation for making libtool generate libraries with a sane name, fix all
LIB_DEPENDS in comms
2013-12-11 15:10:44 +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
Baptiste Daroussin
2b300eeb3f Add NO_STAGE all over the place in preparation for the staging support (cat: comms) 2013-09-20 16:03:29 +00:00
Li-Wen Hsu
ddb097c515 - Update *_DEPENDS on x11-toolkits/py-tkinter after _tkinter.so relocation 2013-03-02 22:32:48 +00:00
Baptiste Daroussin
589d1a3ca4 Dependency line should not end with a '/'
Feature safe:	yes
2012-10-11 11:02:27 +00:00
Diane Bruce
286b30293a - Unbreak build
- update to 3.00 and head
2012-02-10 16:07:19 +00:00
Doug Barton
2b1dacc826 Remove more tags from pkg-descr files fo the form:
- Name
em@i.l

or variations thereof. While I'm here also fix some whitespace and other
formatting errors, including moving WWW: to the last line in the file.
2011-10-24 04:17:37 +00:00
Pav Lucistnik
a9e161351f - Mark BROKEN: does not build with new fortran
Error: Arithmetic overflow converting INTEGER(16) to INTEGER(4) at (1).

Reported by:	pointyhat
2011-10-18 22:16:44 +00:00
Brendan Fabeny
ac39d25cb1 - update fftw3* to 3.3 [1], and adjust dependent ports
- make use of optimizations by default, where possible
(quad flavor to follow shortly, and mpi at a later date)

Suggestions and patches from:	ache, C. Burns, wen
2011-10-17 10:08:33 +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
Martin Wilke
9992960752 - Move over to python2.5 or higher
- While here kick md5
2011-02-24 23:25:54 +00:00
Ade Lovett
4a8684e352 Sync to new bsd.autotools.mk 2010-12-04 07:34:27 +00:00
Dirk Meyer
ca9c60461c - update to jpeg-8 2010-02-05 11:46:55 +00:00
Diane Bruce
c7fde5750f - Update to 2.0 Wspr.
- This release adds some rudimentary hamlib support.
- Revised cleaner looking GUI
2009-11-23 02:19:37 +00:00
Diane Bruce
71420ec473 - Temporary hack to fix the build for now.
This bug was triggered as a side effect of: "revision 1.34 of Mk/bsd.gcc.mk
  date: 2009/09/26 01:02:01;  author: gerald;  state: Exp;  lines: +3 -1
  Have CFLAGS and LDFLAGS set an -rpath to the lang/gcc44 library directory "
  The actual problem is in f2py from py-numpy which is not recognising
  -Wl,rpath=... as a loader option and should be fixed in f2py.

Notified by:	erwin, pav (pointyhat)
2009-10-05 21:52:44 +00:00
Gerald Pfeifer
27ab5137ce Bump PORTREVISION for everything that sets USE_FORTRAN=yes which now
implies lang/gcc44 up from lang/gcc43.

Approved by:	portmgr
2009-09-13 00:08:01 +00:00
Diane Bruce
3ee9ed95bc WSPR (pronounced "whisper") stands for "Weak Signal Propagation Reporter."
This program is designed for sending and receiving low-power transmissions
to test propagation paths on the MF and HF bands.  Users with internet access
can watch results in real time at WSPRnet.

WWW: http://physics.princeton.edu/pulsar/K1JT
2009-09-01 21:47:50 +00:00