1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-03 01:23:49 +00:00
Commit Graph

90 Commits

Author SHA1 Message Date
Christian Weisgerber
333dee898c Use proper autoconf test for getauxval() and elf_aux_info().
Based on work by Jeremie Courreges-Anglas for OpenBSD.

PR:		239870
2019-08-28 20:21:44 +00:00
Piotr Kubaj
764dacfa5b audio/flac: fix build on powerpc64
FreeBSD doesn't support getauxval(), it has elf_aux_info() instead. Use this to fix build on powerpc64.
Disable VSX to not use VSX-related functions.

PR:		239870
Approved by:	linimon (mentor), naddy (maintainer)
Differential Revision:	https://reviews.freebsd.org/D21284
2019-08-28 19:26:56 +00:00
Christian Weisgerber
d39056cfca Update to 1.3.3. No significant user-visible changes. 2019-08-13 13:51:10 +00:00
Gerald Pfeifer
ea8c8ec7da Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.

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, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.

PR:		238330
2019-07-26 20:46:53 +00:00
Piotr Kubaj
33b8e400e2 audio/flac: add USES=compiler:c11
This is to fix audio/audacity:
/usr/local/bin/ld: ondemand/audacity-ODDecodeFlacTask.o:(.data.rel.ro._ZTV10ODFLACFile[_ZTV10ODFLACFile]+0x148): undefined reference to `FLAC::Decoder::File::init(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/usr/local/bin/ld: ondemand/audacity-ODDecodeFlacTask.o:(.data.rel.ro._ZTV10ODFLACFile[_ZTV10ODFLACFile]+0x160): undefined reference to `FLAC::Decoder::File::init_ogg(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/usr/local/bin/ld: import/audacity-ImportFLAC.o:(.data.rel.ro._ZTV10MyFLACFile[_ZTV10MyFLACFile]+0x148): undefined reference to `FLAC::Decoder::File::init(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/usr/local/bin/ld: import/audacity-ImportFLAC.o:(.data.rel.ro._ZTV10MyFLACFile[_ZTV10MyFLACFile]+0x160): undefined reference to `FLAC::Decoder::File::init_ogg(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'

Approved by:	mentors (implicite approval)
2019-06-11 08:21:42 +00:00
Mathieu Arnold
37677d32e3 Switch some MASTER_SITES from http/ftp to https.
Also some cleanup of dead entries.

PR:		226203
Submitted by:	Sam H
Sponsored by:	Absolight
2018-02-27 13:03:48 +00:00
Christian Weisgerber
101cb31e18 Update to 1.3.2 for numerous small bug fixes.
The API documentation is no longer included (requires Doxygen).
2017-01-13 21:38:53 +00:00
Dmitry Marakasov
30a00f2227 Most commonly used build systems support silent builds, when they
hide actual commands executed and only show short summary line (like
"CC foo.c"). CMake and ninja enable this by default, some autotools
using ports do as well. This is unacceptable because we need complete
build logs at any time, so we now switch to verbose build logs
unconditionally. Note that this change deliberately affects ALL
builds and not only package builds on cluster, because we need to
be sure that user experiencing failure can always provide informative
build log regardless of settings and without rerunning the build.

Change summary:

- Always do verbose builds for cmake, ninja and GNU configure (the
  latter includes check if --disable-silent-rules is actually supported
  by the configure script; there are isolated cases when it's not true)
- Remove CMAKE_VERBOSE, NINJA_VERBOSE and
  CONFIGURE_ARGS=--disable-silent-rules from all ports which set them
  for this is no longer needed
- Revert hacks for --disable-silent-rules support priorly committed
  to biology/ncbi-blast+ and net-p2p/mldonkey - no longer needed as well

Submitted by:	amdmi3
Reviewed by:	mat
Exp-run by:	antoine
Approved by:	portmgr (mat, antoine)
Differential Revision:	D7534
2016-09-09 19:42:46 +00:00
Christian Weisgerber
8109611cf5 * Add license information.
* Always install the API documentation. A pre-generated copy is
  already included, so we don't need to run doxygen.

PR:		210125
Submitted by:	takefu@airport.fm
2016-06-20 15:21:36 +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
Christian Weisgerber
0b0cf9fc3e Use the new test framework in my ports, if applicable.
While here, also strip more libraries.
2015-10-13 20:07:54 +00:00
Christian Weisgerber
403699b0e5 Update to FLAC 1.3.1. No significant user-visible changes.
Drop iconv option again and always require iconv for flac.
2015-01-10 20:16:37 +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
Christian Weisgerber
e3d2d609db Add upstream patches for
CVE-2014-8962: Heap buffer read overflow
CVE-2014-9028: Heap buffer write overflow

Security:	a33addf6-74e6-11e4-a615-f8b156b6dcc8
2014-11-25 21:40:17 +00:00
Baptiste Daroussin
a6abc3b420 Cleanup plist 2014-10-20 06:35:58 +00:00
Christian Weisgerber
5b5cb2150e Switch to USES=libtool:oldver 2014-05-24 15:51:45 +00:00
Christian Weisgerber
62ef31db61 USE_BZIP2 -> USES+=tar:bzip2
USE_XZ    -> USES+=tar:xz
2014-03-13 16:11:14 +00:00
Baptiste Daroussin
75d1dff36d Fix properties on pkg-plist 2014-01-21 22:55:59 +00:00
Christian Weisgerber
487b0e5355 Use MAKE_CMD to run regression tests. 2013-12-17 16:01:38 +00:00
Christian Weisgerber
8c3cc12386 Tweak iconv handling. 2013-09-24 21:39:26 +00:00
Christian Weisgerber
39babfd932 Convert to stage, use options helpers, make full use of stage for
optionally packaging the docs.
2013-09-24 18:04:34 +00:00
Baptiste Daroussin
183c2ed74f Add NO_STAGE all over the place in preparation for the staging support (cat: audio) 2013-09-20 14:36:35 +00:00
Baptiste Daroussin
49ac0257b5 Eliminate USE_GNOME=pkgconfig from audio
While here:
- trim headers
- convert USE_GMAKE -> USES=gmake
- convert USE_GNOME=gnomehack -> USES=pathfix
- convert USE_PERL5 -> USES=perl5
2013-09-02 10:06:03 +00:00
Christian Weisgerber
cc726fac0d Fix an arithmetic overflow in the RICE2 partitioner.
For a specific 24 bit WAV file encoding with compression level 7
was generating a file a couple of orders of magnitude larger than
the original.

Obtained from:	upstream
2013-07-18 17:47:53 +00:00
Christian Weisgerber
1f2b1eac8e * Major update to FLAC 1.3.0, including shared library bumps.
* Chase the update in dependent ports.

PR:		179072
2013-06-09 19:30:58 +00:00
Marcus von Appen
821843ca06 - Convert USE_ICONV=yes to USES=iconv
- Change USE_GNOME=pkgconfig|gnomehack to USES=pathfix|pkgconfig while here

Reviewed by:	bapt, kwm
2013-04-27 08:50:46 +00:00
Christian Weisgerber
6f90146232 Convert to OptionsNG and trim Makefile headers. 2012-12-18 21:29:04 +00:00
Christian Weisgerber
0097a09e3c FLAC has moved to Xiph.Org. 2012-12-10 19:27:51 +00:00
Christian Weisgerber
bcd6fbdee4 libogg.so.8: Bump PORTREVISION for ports that depend on libogg,
directly or indirectly (via libvorbis, libtheora).
2012-07-19 20:15:37 +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
a9481afc8a - Get Rid MD5 support 2011-03-19 12:38:54 +00:00
Ade Lovett
4a8684e352 Sync to new bsd.autotools.mk 2010-12-04 07:34:27 +00:00
Christian Weisgerber
30587b71c2 Bump PORTREVISION for ports that depend on libogg, directly or indirectly
(via libvorbis, libtheora).
2010-06-06 20:44:03 +00:00
Dmitry Marakasov
a07aa037a1 - Switch SourceForge ports to the new File Release System: categories starting with A 2009-08-22 00:13:26 +00:00
Jeremy Messenger
789d75c728 -Repocopy devel/libtool15 -> libtool22 and libltdl15 -> libltdl22.
-Update libtool and libltdl to 2.2.6a.
-Remove devel/libtool15 and devel/libltdl15.
-Fix ports build with libtool22/libltdl22.
-Bump ports that depend on libltdl22 due to shared library version change.
-Explain what to do update in the UPDATING.

It has been tested with GNOME2, XFCE4, KDE3, KDE4 and other many wm/desktop
and applications in the runtime.

With help:	marcus and kwm
Pointyhat-exp:	a few times by pav
Tested by:	pgollucci, "Romain Tartière" <romain@blogreen.org>, and
		a few MarcusCom CVS users. Also, I might have missed a few.
Repocopy by:	marcus
Approved by:	portmgr
2009-08-02 19:36:34 +00:00
Christian Weisgerber
217138074e Alas, the assumption that /nonexistent does not exist is not reliable.
PR:	136447
2009-07-09 11:17:56 +00:00
Christian Weisgerber
94d47b2ecd Bump PORTREVISION after libogg and libvorbisfile major version increment. 2009-07-06 21:25:59 +00:00
Christian Weisgerber
045099965f allow parallel building 2009-03-24 14:47:42 +00:00
Rong-En Fan
741aa71483 Update CONFIGURE_ARGS for how we pass CONFIGURE_TARGET to configure script.
Specifically, newer autoconf (> 2.13) has different semantic of the
configure target. In short, one should use --build=CONFIGURE_TARGET
instead of CONFIGURE_TARGET directly. Otherwise, you will get a warning
and the old semantic may be removed in later autoconf releases.

To workaround this issue, many ports hack the CONFIGURE_TARGET variable
so that it contains the ``--build='' prefix.

To solve this issue, under the fact that some ports still have
configure script generated by the old autoconf, we use runtime detection
in the do-configure target so that the proper argument can be used.

Changes to Mk/*:
 - Add runtime detection magic in bsd.port.mk
 - Remove CONFIGURE_TARGET hack in various bsd.*.mk
 - USE_GNOME=gnometarget is now an no-op

Changes to individual ports, other than removing the CONFIGURE_TARGET hack:

= pkg-plist changed (due to the ugly CONFIGURE_TARGET prefix in * executables)
  - comms/gnuradio
  - science/abinit
  - science/elmer-fem
  - science/elmer-matc
  - science/elmer-meshgen2d
  - science/elmerfront
  - science/elmerpost

= use x86_64 as ARCH
  - devel/g-wrap

= other changes
  - print/magicfilter
    GNU_CONFIGURE -> HAS_CONFIGURE since it's not generated by autoconf

Total # of ports modified:  1,027
Total # of ports affected: ~7,000 (set GNU_CONFIGURE to yes)

PR:		126524 (obsoletes 52917)
Submitted by:	rafan
Tested on:	two pointyhat 7-amd64 exp runs (by pav)
Approved by:	portmgr (pav)
2008-08-21 06:18:49 +00:00
Christian Weisgerber
b72db1b841 Add WITHOUT_ICONV knob. Use at your own peril.
PR:		124181
Submitted by:	Helge Oldach
2008-07-05 16:24:10 +00:00
Christian Weisgerber
a3a71e00ee Rename manual "test" target to "regression-test" so that it will
be automatically run on the package build cluster.

Suggested by Pedro <pfgshield-freebsd@yahoo.com>.
2008-06-20 16:22:18 +00:00
Christian Weisgerber
fc6f899691 Update to FLAC 1.2.1. This version includes two and a half years
worth of changes and an altered API.

Bump the revision of all ports that depend on libFLAC and adapt to
the new API where necessary.  Some patches from Debian, Gentoo,
OpenBSD, and upstream repositories.

PR:	119476
2008-04-07 20:37:23 +00:00
Christian Weisgerber
18adb14800 Fix integer overflows (CVE-2007-4619) by backporting corresponding
fixes from FLAC 1.2.1.

Reviewed by:    miwi
Approved by:    portmgr (linimon)
Security: 	ff65eecb-91e4-11dc-bd6c-0016179b2dd5
2007-11-13 14:28:29 +00:00
Christian Weisgerber
98cb09c817 portlint fixes
PR:		115259
Submitted by:	David Yeske <dyeske@gmail.com>
2007-08-07 18:41:34 +00:00
Christian Weisgerber
0d48df2505 Remove an invalid linker option to fix build on powerpc. 2007-03-27 15:05:59 +00:00
Kris Kennaway
ae994c8ea8 Use libtool port instead of included version to avoid objformat a.out botch 2007-02-01 02:42:05 +00:00
Edwin Groothuis
179697185d Remove USE_REINPLACE from ports in categories starting with A. 2006-05-03 05:14:35 +00:00
Ade Lovett
8503536d38 Conversion to a single libtool environment.
Approved by:	portmgr (kris)
2006-02-23 10:40:44 +00:00
Edwin Groothuis
980092624a SHA256ify
Approved by:		krion@
2006-01-22 08:13:12 +00:00
Ade Lovett
54a0b86543 Mass-conversion to the USE_AUTOTOOLS New World Order. The code present
in bsd.autotools.mk essentially makes this a no-op given that all the
old variables set a USE_AUTOTOOLS_COMPAT variable, which is parsed in
exactly the same way as USE_AUTOTOOLS itself.

Moreover, USE_AUTOTOOLS has already been extensively tested by the GNOME
team -- all GNOME 2.12.x ports use it.

Preliminary documentation can be found at:
	http://people.FreeBSD.org/~ade/autotools.txt

which is in the process of being SGMLized before introduction into the
Porters Handbook.

Light blue touch-paper.  Run.
2005-11-15 06:52:12 +00:00