Commit graph

374 commits

Author SHA1 Message Date
Beat Gaetzi
151389816d - Update to 2.32
Submitted by:	Jan Beich
MFH:		2015Q1
Security:	http://www.vuxml.org/freebsd/bd62c640-9bb9-11e4-a5ad-000c297fb80f.html
2015-01-15 08:51:16 +00:00
Beat Gaetzi
7483da328d - Update openh264 to 1.3.1
- Update Thunderbird to 31.4.0
- Update Firefox to 35.0
- Update Firefox ESR to 31.4.0
- Update libxul to 31.4.0

Submitted by:	Jan Beich
MFH:		2015Q1
Security:	http://www.vuxml.org/freebsd/bd62c640-9bb9-11e4-a5ad-000c297fb80f.html
2015-01-14 08:06:43 +00:00
Martin Matuska
14e1776b23 Add pear-Horde_Mail_Autoconfig to horde.mk 2015-01-09 12:59:05 +00:00
Martin Matuska
0eff36130d Add pear-Horde_Idna dependency to horde.mk 2015-01-09 12:44:21 +00:00
Marcus von Appen
beb88abfed - Remove support for deprecated python bits from the ports
framework. The following knobs are not supported anymore:

    USE_PYTHON=<yes|version+-|-version|version-version>
    USE_PYTHON_BUILD
    USE_PYTHON_RUN
    USE_PYDISTUTILS
    PYDISTUTILS_AUTOPLIST
    PYTHON_PY3K_PLIST_HACK
    PYDISTUTILS_NOEGGINFO
    PYTHON_CONCURRENT_INSTALL
    USE_PYTHON_PREFIX

PR: 196477
Differential Revision: https://reviews.freebsd.org/D1416
Exp-run: antoine
Reviewed by: antoine
Approved by: portmgr (antoine)
With hat: python
2015-01-07 17:22:07 +00:00
Thierry Thomas
878a54f873 Adding ports/Mk/Uses/blaslapack.mk.
It handles the dependencies and defines BLASLIB and LAPACKLIB for the
different blas / lapack implementations.

It defaults to netlib, the reference libraries, but Openblas, Gotoblas
or ATLAS can be selected.

Differential Revision:	D1354
2015-01-05 20:43:02 +00:00
Rene Ladan
0302c0c1ae Mk/Uses/perl5.mk: Unregister perl5.14 now that the port has expired.
Differential Revision:	https://reviews.freebsd.org/D1368
Approved by:	portmgr (mat), perl (sunpoet)
2014-12-31 16:04:29 +00:00
Antoine Brodin
75dac6f24a Set CHOSEN_COMPILER_TYPE for USES=compiler:gcc-c++11-lib
PR:		ports/196111
Submitted by:	Jan Beich
With hat:	portmgr
2014-12-28 21:46:23 +00:00
Baptiste Daroussin
8d8d775b8b Use a custom keyword for kldxref, that allows to control exactly when it is run
and work nicer with automatic directly support from pkg

Differential Revision:	https://reviews.freebsd.org/D1377
Reviewed by:	rene, antoine
Approved by:	rene
2014-12-26 12:43:44 +00:00
Mathieu Arnold
b461de3535 Catch other wrong occurences of SITE_PERL and SITE_ARCH.
Sponsored by:	Absolight
2014-12-23 01:42:10 +00:00
Mathieu Arnold
f5a08b399f Fix MANDIRS.
Submitted by:	John Hein
Sponsored by:	Absolight
2014-12-23 01:32:18 +00:00
Antoine Brodin
5d9cb6d50d Fix "USES=autoreconf libtool:keepla" not pulling libtoolize as a build
dependency
This should fix x11-toolkits/open-motif

Submitted by:	tijl
With hat:	portmgr
2014-12-19 14:05:24 +00:00
Raphael Kubo da Costa
6f9c2694db Uses/cmake.mk: Reword description of CMAKE_VERBOSE and CMAKE_NOCOLOR a bit. 2014-12-18 16:47:19 +00:00
Baptiste Daroussin
1b37d26719 Only the definition of the fakeroot command should conditioned to the UID 2014-12-18 08:30:20 +00:00
Baptiste Daroussin
295ea87e9f Add USES=fakeroot to allow packaging ports that are not stageable as a user
It uses debian's fakeroot, like NEED_ROOT (which it is supposed to replace) it
is preferred to fix the port to properly stage without those hacks
2014-12-17 14:32:59 +00:00
Mathieu Arnold
64835f0cdc Make Perl link all .so it builds with libperl.so.
It makes upgrading from one Perl major version to another way easier.  For
binary package users, it means pkg upgrade will detect the libperl.so.x.yy
change, and reinstall the affected packages.  For users using ports, it will
save rebuild time as it's easier to detect what ports really need to be
rebuilt.

PR:		195821
Differential Revision: https://reviews.freebsd.org/D1241
Submitted by:	mat
Reviewed by:	antoine, bdrewery
Exp-run by:	antoine
With hat:	perl
Sponsored by:	Absolight
2014-12-17 13:21:56 +00:00
Mathieu Arnold
d29deb1c06 ts=8, repeat after me, ts=8.
With hat:	perl@
Sponsored by:	Absolight
2014-12-16 12:06:40 +00:00
Sunpoet Po-Chuan Hsieh
fc96e70c88 - Use FIND 2014-12-13 04:02:02 +00:00
Mark Felder
fbed0105b0 Fixing mirror order as ctex hangs indefinitely and the next one seems to
be missing files.
2014-12-10 14:44:09 +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
Beat Gaetzi
f5e463695b - Update to 2.31
PR:		195559
Submitted by:	Jan Beich
MFH:		2014Q4
Security:	http://vuxml.org/freebsd/7ae61870-9dd2-4884-a2f2-f19bb5784d09.html
2014-12-05 08:36:29 +00:00
Beat Gaetzi
0ccec1792b - Update Thunderbird to 31.3.0
- Update gmp-api to 35.0
- Update openh264 to 1.2
- Update NSS to 3.17.3
- Update Firefox to 34.0.5
- Update Firefox ESR 31.3.0
- Update libxul to 31.3.0
- Improve CONFIGURE_TARGET handling
- Always build using client.mk
- Switch to clang by default on systems without libc++
  (/stable/8 and /stable/9)
- Drop lang/python2 dependency, only lang/python27 is required
  to build
- Use DuckDuckGo searchplugin from upstream (has suggestions
  and purposes)
- Backport a few about:memory fixes
- Backport Web Notifications libnotify integration
- Add GTK3 option for www/firefox. Adwaita is a bit broken
  since Gtk 3.14, see:
  https://bugzilla.mozilla.org/show_bug.cgi?id=1073117

PR:		195559
Submitted by:	Jan Beich
MFH:		2014Q4
Security:	http://vuxml.org/freebsd/7ae61870-9dd2-4884-a2f2-f19bb5784d09.html
2014-12-03 14:55:25 +00:00
Hiroki Sato
d99d9cfff0 Add missing GSSAPI{LIB,INC}DIR when :mit is specified.
Spotted by:	ume
2014-12-02 23:45:15 +00:00
Tijl Coosemans
edb7229dd4 Split devel/gettext in devel/gettext-runtime and devel/gettext-tools. The
first contains runtime libraries such as libintl and the latter contains
developer tools such as msgfmt.  Ports that use gettext will usually need
a LIB_DEPENDS on gettext-runtime and a BUILD_DEPENDS on gettext-tools.

USES=gettext-runtime can be used to set a LIB/BUILD/RUN_DEPENDS on
devel/gettext-runtime and USES=gettext-tools can be used to set a
BUILD/RUN_DEPENDS on devel/gettext-tools.  USES=gettext is now the same
as "USES=gettext-runtime gettext-tools" meaning a LIB_DEPENDS on
devel/gettext-runtime and a BUILD_DEPENDS on devel/gettext-tools.

Update gettext to 0.19.3.

Remove :oldver from converters/libiconv and devel/gettext-runtime.  Leave
symlinks with the old library versions to avoid the need to bump
PORTREVISION on a large number of dependent ports.  When most of the
dependent ports have had normal version updates, PORTREVISION can be
bumped on the remaining ones (low number) and the links can be removed.

Fix some ports that installed files in lib/locale instead of share/locale.

PR:		194038
Reviewed by:	bapt
Exp-run:	antoine
Approved by:	portmgr (antoine)
2014-11-29 18:22:32 +00:00
Mathieu Arnold
4815f5f8ca Use TMPPLIST, not PLIST.
Sponsored by:	Absolight
2014-11-27 13:14:24 +00:00
Mathieu Arnold
aad75afca1 No need to output what this does.
Pointy hat to:	myself
Sponsored by:	Absolight
2014-11-27 10:04:47 +00:00
Mathieu Arnold
8e245f6ddc - Bring back the .packlist files, many people need them, they will
automatically added to the plists.
- Add soname to libperl.so and rename it to libperl.so.PERL_VER, for instance
  libperl.so.5.18. To keep software linked with it working, provide a
  libperl.so symlink.
- Rollback Perl's man page location change, it creates conflicts for the few
  modules that ship with Perl and are in the ports tree.

Sponsored by:	Absolight
2014-11-27 09:57:39 +00:00
Mathieu Arnold
eee58d187e Change the way Perl modules are installed, update the default Perl to 5.18.
Before, we had:

  site_perl :           lib/perl5/site_perl/5.18
  site_perl/perl_arch : lib/perl5/site_perl/5.18/mach
  perl_man3 :           lib/perl5/5.18/man/man3

Now we have:

  site_perl : lib/perl5/site_perl
  site_arch : lib/perl5/site_perl/mach/5.18
  perl_man3 : lib/perl5/site_perl/man/man3

Modules without any .so will be installed at the same place regardless of the
Perl version, minimizing the upgrade when the major Perl version is changed.
It uses a version dependent directory for modules with compiled bits.

As PERL_ARCH is no longer needed in plists, it has been removed from
PLIST_SUB.

The USE_PERL5=fixpacklist keyword is removed, the .packlist file is now
always removed, as is perllocal.pod.

The old site_perl and site_perl/arch directories have been kept in the
default Perl @INC for all Perl ports, and will be phased out as these old
Perl versions expire.

PR:		194969
Differential Revision:	https://reviews.freebsd.org/D1019
Exp-run by:	antoine
Reviewed by:	perl@
Approved by:	portmgr
2014-11-26 13:08:24 +00:00
Sunpoet Po-Chuan Hsieh
dafd91f384 - Update to 0.039
Changes:	http://search.cpan.org/dist/Module-Build-Tiny/Changes
2014-11-24 18:25:39 +00:00
Hiroki Sato
48ad49ae37 Define CPPFLAGS instead of CFLAGS. 2014-11-23 09:14:24 +00:00
Chris Rees
c014a3eb15 Fix special [:build] case 2014-11-22 21:31:56 +00:00
Hiroki Sato
c1f0db28dd - Move headers and libraries into PREFIX/{include,lib}/heimdal. This
prevents build breakage when a port depends on heimdal in base and
  some other libraries in LOCALBASE/lib such as OpenSSL from ports
  at the same time.

- Always build libcom_err[*].

PR:	194475 [*]
2014-11-22 10:51:58 +00:00
Antoine Brodin
da4156e14e Enforce clang 3.4 in USES=c*11*,objc,gnustep as clang 3.3 has some bugs
Requested by:	bapt
PR:		ports/195122
Differential Revision:	https://reviews.freebsd.org/D1181
Exp-run by:	self
With hat:	portmgr
2014-11-21 17:22:06 +00:00
Mathieu Arnold
6be72a854b Introduce the SITE_ARCH variable containing SITE_PERL/PERL_ARCH.
With hat:	perl@, portmgr@
Sponsored by:	Absolight
2014-11-18 13:45:56 +00:00
Antoine Brodin
705448a270 Cleanup plist a bit, DRUPAL_MODDIR and DRUPAL_BASE belong to drupal ports,
not to drupal modules

With hat:	portmgr
2014-11-15 17:05:44 +00:00
Antoine Brodin
6c37cad193 wheel is a group, not an owner
With hat:	portmgr
2014-11-14 21:35:11 +00:00
Raphael Kubo da Costa
a9662ed949 Update Qt5 ports to 5.3.2.
Proudly presented by the KDE on FreeBSD team, with several guest stars.

This update took way longer than initially expected due to us previously
accumulating assumptions and changes to Qt's build system that finally bit
us back with the 5.3 release series, so we had to do a fair amount of
cleanup.

New ports:
- comms/qt5-serialport: Qt functions to access serial ports, originally
                        based on work by Fernando Apesteguia. [1]
- devel/qt5-qdoc: Qt documentation generator, the Qt5 equivalent of
                  devel/qt4-qdoc3. Originally worked on by Tobias Berner.
                  It had already been half-split from devel/qt5-buildtools,
                  we just needed to finish the work.

Dead ports:
- devel/qt5-qmldevtools: Merged into lang/qt5-qml.

Minor changes:
- devel/qt5: Add x11/qt5-x11extras and the new ports to the dependency list.
- graphics/qt5-imageformats: The port now supports the JPEG2000, WEBP,
                             Direct Draw Surface and ICNS formats.
- multimedia/qt5-multimedia: The ALSA and PULSEAUDIO options are now
                             mutually exclusive due to changes introduced in
                             Qt 5.3.0 (the ALSA code is now a proper plugin
                             that is only built if PulseAudio is not used).
- x11/qt5-x11extras: Add USE_LDCONFIG since the port installs a shared
                     library.

The big changes:
- bsd.qt.mk: Set QMAKESPEC instead of QMAKEPATH. [3]
  QMAKEPATH does much more than we want now that we call qmake from the top
  of ${WRKSRC}. qmake uses QMAKEPATH when evaluating the QMAKE_MKSPECS
  property, which is in turn used by qt_config.pri to load the .pri files in
  mkspecs/modules.

  In practice, this means that if people have an older Qt installation those
  files will be used and QT_CONFIG will have values such as "gui" even if
  one is building a port like textproc/qt5-xml, which passes -no-gui to the
  configure script. Consequently, unintended code paths may be enabled or
  the configuration step can just fail if the .pro files expect values that
  are not present in the system-wide, older .pri files.

  We avoid all those problems if we use QMAKESPEC, as qmake does not take
  its value into account when evaluating the QMAKE_MKSPECS property and will
  only parse the files in the mkspec's directory (mkspecs/freebsd-clang, for
  example, instead of all the files in mkspecs).

- Stop explicitly passing ${LOCALBASE} to the compiler. [3]
  qmake's behavior has changed in Qt 5, and the paths set in QMAKE_INCDIR
  and QMAKE_LIBDIR in the mkspecs are passed before any others, such as the
  ones in the build directory themselves.

  In practice, this means that we end up with linker calls like this:

  c++ -o libfoo.so foo.o bar.o -L/usr/local/lib -L/wrkdir/build/lib
      -lQt5Gui -lQt5Core

  So if one already has Qt installed in the system, the older, already
  present version of the libraries in /usr/local/lib will be used instead of
  the newly-built ones in /wrkdir/build/lib.

  QTBUG-40825 discusses this behavior upstream, but there has been no
  agreement on a solution yet.

  For now, the solution adopted is to make the compiler and the linker aware
  of those paths but only try them last after all others, and this is
  achieved by setting the CPATH and LIBRARY_PATH environment variables when
  qmake is being used.

  In addition to setting them in CONFIGURE_ENV and MAKE_ENV, we also need to
  stop changing QMAKE_INCDIR and QMAKE_LIBDIR as well as filter those paths
  from the pkg-config calls qtbase's configure script makes.

- Call qmake from the root of the ${WRKSRC}.

  In Qt 5.3, Qt's build infrastructure has undergone some changes that make
  our previous approach of calling qmake from the directories we want to
  build stop working. Things would break even more in Qt 5.4, in which
  qtbase's configure script does not accept the -process, -fully-process and
  -dont-process arguments anymore (it always behaves as if -process had been
  used).

  Bite the bullet and start calling qmake from ${WRKSRC}. The largest part of
  this change involves changing lines in Makefiles from
    WRKSRC_SUBDIR=	foo/bar
  to
    BUILD_WRKSRC=		${WRKSRC}/foo/bar
    INSTALL_WRKSRC=		${WRKSRC}/foo/bar
  as well as adding patches to .pro files to avoid entering other
  subdirectories and removing post-configure targets that are not necessary
  anymore.

  Since qmake needs to be called from the top of ${WRKSRC} anyway, we can
  also simplify the configuration process for the qtbase ports a little.
  Looking at r10019 it is not clear why we started calling qmake in the
  pre-configure target in addition to the post-configure one (while also
  skipping it in do-configure), but we can now drop this call since letting
  configure behave as if -process had been passed means it will call qmake
  on its own and overwrite the files generated by the pre-configure call. We
  still need to call qmake in post-configure though, as the configure script
  does not pass -recursive when calling qmake and we need to be able to call
  make from any subdirectory when building.

PR:		194762 [1]
PR:		194566 # exp-run with base GCC and clang
PR:		194088 [3]
2014-11-05 09:39:21 +00:00
Marcus von Appen
885f50de5a - Second attempt to fix the python version usage on single port builds
If a port requests a different python version from the one being the
  default or provided at the command line, certain directories as well
  as plist entries will use the wrong python version value (the one
  being the default or provided at the command line), instead of the
  value, the port requests.

PR:		194605
exp-run by:	antoine@
With hat:	python@
2014-10-27 18:58:21 +00:00
Antoine Brodin
504fcb758d Revert r371447, this breaks important ports like devel/py-gobject
With hat:	portmgr
2014-10-24 22:31:07 +00:00
Marcus von Appen
9c1a554aba - Use the proper python version value within a single port build
If a port requests a different python version from the one being the
  default or provided at the command line, certain directories as well
  as plist entries will use the wrong python version value (the one
  being the default or provided at the command line), instead of
  the value, the port requests

Differential Revision:	https://reviews.freebsd.org/D963
With hat:	python@
2014-10-24 16:10:40 +00:00
John Marino
f31e703dca Add Mk/Uses/alias.mk
When on used FreeBSD, this tool doesn't do anything.  However, when used
on DragonFly, it will define __FreeBSD__ appropriately in CFLAGS which
allows the port to build with minimal or no extra patches.

Differential Revision:	https://reviews.freebsd.org/D950
Reviewed by:		portmgr
Approved by:		bapt (portmgr)
2014-10-20 07:33:00 +00:00
Antoine Brodin
ccb7128a1c Switch from clang33 to clang34 for ports using compiler:*11*, objc or
gnustep on freebsd 8.4 and 9.1

PR:		ports/193555
Differential Revision:	https://reviews.freebsd.org/D935
Reviewed by:	bapt
Exp-run:	self
2014-10-18 18:13:58 +00:00
Antoine Brodin
3361ebd03e Unbreak seamonkey-i18n
With hat:	portmgr
2014-10-18 10:23:53 +00:00
Mathieu Arnold
906630d192 And remember to bump versions here too.
Sponsored by:	Absolight
2014-10-17 22:04:25 +00:00
Beat Gaetzi
8f7f02ae39 - Update Firefox to 33.0
- Update Firefox ESR to 31.2.0
- Update NSS to 3.17.2
- Update Thunderbird to 31.2.0
- Update libxul to 31.2.0 (and mark as BROKEN)
- Disable SSL 3.0 with pref (Upstream bug 1076983)
- (workaround) replace USE_GCC=yes with USES=compiler:gcc-c++11-lib in
  order to fix runtime for PGO and powerpc/powerpc64 on libc++ systems
- Add OSS audio fallback for HTML5 audio from upstream bug;
  not exposed yet because WebRTC still needs ALSA or PulseAudio
- Kill @dirrm from gecko@ ports per CHANGES from 20140922
- Drop workaround for LLVM PR 19007: base and lang/clang34 have the fix
- Improve workaround comment for LLVM PR 15840, partially rejecting
  r348851 by marino@ until bug 193555

PR:		194356
Submitted by:	Jan Beich
Security:	http://www.vuxml.org/freebsd/9c1495ac-8d8c-4789-a0f3-8ca6b476619c.html
2014-10-15 15:48:16 +00:00
Marcus von Appen
062e11b164 - Do not blindly assume PREFIX to be the same as PYTHONBASE, when creating the
egg-info entries for the plist

PR:		193811
Reported by:	6yearold@gmail.com
Exp-run by:	antoine@
With hat:	python@
2014-10-07 16:51:20 +00:00
Antoine Brodin
5b3bfaf08f Fix typo
With hat:	portmgr
2014-10-07 16:45:30 +00:00
Baptiste Daroussin
a32ac3883f Add a use to handle gperf dependency
It uses gperf from base if it exists and its version is 3.x.x
Otherwise it uses gperf from ports
2014-10-07 09:32:53 +00:00
Tijl Coosemans
88c67cd38c - Update devel/libtool and devel/libltdl to version 2.4.2.418
- Patch libtool so it uses the same library version specification as on
  Darwin, Linux and other systems.  Given the version current:revision:age
  a library will be given the extension .so.major.age.revision with major
  equal to current-age.  Before libtool would use .so.current on FreeBSD.
- Patch libtoolize to remove two cases of umask 0 that caused libltdl
  files to be copied world writable (--ltdl option)
- Let USES=libtool patch this new version correctly
- Adjust all ports with USES=libtool:build and bump PORTREVISION on their
  dependent ports if a library version changed

PR:		194068
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2014-10-05 18:01:19 +00:00
Tijl Coosemans
048a74771d Autoreconf runs automake in GNU mode which requires files like AUTHORS,
NEWS and ChangeLog to exist.  Let USES=autoreconf deal with that so ports
don't have to.
2014-10-03 15:33:39 +00:00