1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-07 06:40:06 +00:00
Commit Graph

355 Commits

Author SHA1 Message Date
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
Marcus von Appen
62480ffb2c - Mark INSTALLS_EGGINFO as unsupported
Differential Revision:	D843
Reviewed by:	gahr@, koobs@
Approved by:	bapt@ (portmgr)
2014-10-02 07:53:52 +00:00
Marcus von Appen
63dbcb2140 - Fix WITH_DEBUG with USES=cmake. bsd.ports.mk sets STRIP= after all Uses
files have been processed initially. If one has WITH_DEBUG=yes set, the
  INSTALL_TARGET for USES=cmake has been set already to install/strip, before
  STRIP is reset.

Differential Revision:	D875
Approved by:	makc@ (kde), bapt@ (portmgr)
2014-10-02 07:26:47 +00:00
Antoine Brodin
7ed1009756 Remove obsolete PEAR_AUTOINSTALL
With hat:	portmgr
2014-09-30 23:07:10 +00:00
Baptiste Daroussin
00194c4a21 Convert bsd.horde.mk into USES=horde 2014-09-30 21:41:21 +00:00
Tijl Coosemans
fe837ee6c6 Change the way USES is handled:
- Loop over USES twice, once to define all *_ARGS variables and once to
  include Uses/*.mk.  This allows all Uses/*.mk to examine arguments given
  to other USES entries.
- Always define *_ARGS (possibly empty) and replace commas with spaces.

Similar for _USES_POST.

Adjust all Uses/*.mk:
- defined(u_ARGS) becomes !empty(u_ARGS)
- Eliminate helper variables like _*_ARGS=${*_ARGS:C/,/ /g}
- Some Uses/*.mk used ":" as argument separator instead of ",", but no port
  used this form
- Uses/cran.mk: remove unused variable VALID_ARGS and USES+=fortran which
  has no effect
- Uses/twisted.mk: simplify handling of the case where neither "build" nor
  "run" arguments have been specified

PR:		193931
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2014-09-28 16:36:31 +00:00
Marcus von Appen
6d91b534f2 - Fix awk issue in add-plist-post, if python 3.x is the default
PR:		193966
Submitted by:	corsmith@gmail.com
With hat: 	python@
2014-09-27 07:27:26 +00:00
Tijl Coosemans
6defc67c4d Depend on lang/gccXY if users wish to use a different version of gcc by
default than lang/gcc (currently 4.8).

(I don't fully agree with this implementation but this makes something
like DEFAULT_VERSIONS+=gcc=4.9 in make.conf work correctly.)

Reported by:	Luca Pizzamiglio <luca.pizzamiglio@gmail.com>
Approved by:	gerald
2014-09-26 16:00:41 +00:00
Marcus von Appen
9e9266dead - Resolve relative paths, such as path/./file.py or path/../file.py for
USE_PYTHON=autoplist, which can occur, if relative paths are set in a
  setup.py script. Those cause pkg and QA sanity checks to misbehave.
- Remove @dirrm and @dirmmtry additions for USE_PYTHON=autoplist,
  USE_PYTHON=py3kplist and egg-info entries, if USES=python is set. pkg 1.3.8
  does not need those anymore.
- Add ${PYTHON_VER} to the PLIST_SUB defaults, if USES=python is set.

PR:		193885
Differential Revision:	D812
Reviewed by:	antoine@
Exp-run by:	antoine@
With hat:	python@
2014-09-25 21:01:57 +00:00
Matthias Andree
008fe1b949 Fix shell commands in fix-packlist,
A. avoiding a bogus *** Error code 1 (ignored) on ports that
1. set at least one of the configure, modbuildtiny, or fixpacklist options
   to USES_PERL5=..., AND
2. do not create/install into
   ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}/${PERL_ARCH}/auto

B. no longer masking ${FIND} trouble through the leading - on the
   Makefile commands.

PR:		193934
Approved by:	portmgr (bdrewery)
2014-09-25 20:38:32 +00:00
Tijl Coosemans
a6d2f30533 - Set CPPFLAGS and LIBS in a number of ports so configure can find libintl.h
and libintl.so.  This fixes a problem where DATADIRNAME gets an incorrect
  value which causes locale files to be installed in the wrong place.
- The only configure checks that still need to be patched are related
  to intltool so move DATADIRNAME patching from USES=pathfix to
  USE_GNOME=intlhack.

- games/klavaro: remove excessive dependencies
- japanese/libskk: add INSTALL_TARGET=install-strip
- math/libqalculate: add INSTALL_TARGET=install-strip and remove pthread
  patching
- multimedia/freetuxtv: remove excessive dependencies
- science/gramps: fix shared-mime-info use

Exp-run by:	antoine
Approved by:	portmgr (antoine)
2014-09-25 15:18:27 +00:00
Baptiste Daroussin
b3d2784a5c Introduce USES=pear 2014-09-23 13:47:53 +00:00
Baptiste Daroussin
1cdf78746b Remove dirrm from documentation in header 2014-09-23 12:46:38 +00:00
Baptiste Daroussin
b19fd64d7e Simplify USES=webplugin 2014-09-23 11:01:24 +00:00
Baptiste Daroussin
56dd8dcf3c Use keywords to control exactly when is excutied
the different database updates
2014-09-22 12:48:27 +00:00
Tijl Coosemans
ac209cd4f6 Improve the autoreconf documentation:
- Mention configure.in as the old name for configure.ac
- M4 macros provided by autoconf are not copied into aclocal.m4
- Autoheader does not regenerate configure (only config.h.in)
2014-09-19 12:37:48 +00:00
Mathieu Arnold
46cf4bcb84 Retire MANCOMPRESSED.
Also the compat NO_INSTALL_MANPAGES shim.

Differential Revision:	https://reviews.freebsd.org/D730
Reviewed by:	antoine
With hat:	portmgr
Sponsored by:	Absolight
2014-09-18 12:31:24 +00:00
Tijl Coosemans
036fca0b54 Initial version of USES=autoreconf that can replace USE_AUTOTOOLS. It
runs autoreconf in CONFIGURE_WRKSRC to update configure, Makefile.in and
other build scripts.

Approved by:	portmgr (bapt)
2014-09-17 10:06:08 +00:00
Tijl Coosemans
fad34ea21f Turn the installation of *.la files, without some form of USES=libtool in
the port Makefile, into a stage-qa error.  All ports that would trigger
this error have been converted.  Many thanks to all people involved in
this, especially Dmitry Marakasov (amdmi3) who handled most ports.

At this moment over 2200 ports have USES=libtool and over 20000 library
dependencies between packages have been removed.

This also marks the point where :keepla is no longer special.  It is now
only needed if a port uses *.la files at run-time.

QA-run by:	antoine
Approved by:	portmgr (antoine)
2014-09-15 18:23:21 +00:00
Tijl Coosemans
66fcd054e9 Tell realpath to stay quiet if it cannot resolve a link
Approved by:	portmgr (bdrewery)
2014-09-14 18:41:53 +00:00