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

657 Commits

Author SHA1 Message Date
Tobias C. Berner
2ab4f3e77d Teach pathfix.mk about LIB_DESTINATION
Some cmake projects use LIB_DESTINATION/pkgconfig to install the pc-files.

For example:
* deskutils/libstreamanalyzer
* sysutils/polkit-qt{,5}
* x11-toolkits/attica

By adding this, we can convert these ports to use pathfix instead of an
uncessessary patch-foo or confusing sed call.

Reviewed by:	mat
Approved by:	portmgr (mat), mat (mentor)
Differential Revision:	https://reviews.freebsd.org/D8141
2016-10-04 06:18:32 +00:00
Rene Ladan
ad03af29f7 Unregister databases/postgresql91 and mention postgresql96 as a valid version.
Submitted by:	myself
Reviewed by:	mat
Differential Revision:	https://reviews.freebsd.org/D8123
2016-10-03 18:15:45 +00:00
Jan Beich
ad325ac5fb www/seamonkey: update to 2.40
SeaMonkey now uses FFmpeg directly rather than via GStreamer for H.264
and MP3 playback as part of HTML5. Note, FFmpeg 3.x is unsupported[1].

Changes:	http://www.seamonkey-project.org/news#2016-03-14
PR:		210931
Submitted by:	net@arrishq.net (based on)
Security:	2c2d1c39-1396-459a-91f5-ca03ee7c64c6
MFH:		2016Q3

[1] SeaMonkey 2.40 is based on Firefox 43 codebase but Firefox 45
    is the earliest to have the fix. Backporting maybe tricky:
    https://bugzilla.mozilla.org/show_bug.cgi?id=1232268
2016-10-02 14:29:03 +00:00
Tijl Coosemans
1ee4da6dd1 Let USES=localbase add -L${LOCALBASE}/lib to LIBS instead of LDFLAGS.
USES=localbase:ldflags can be used to set LDFLAGS.  Normally LDFLAGS
appears too early on the command line causing some ports to link with
their own libraries in LOCALBASE (if installed) instead of WRKSRC.

Also make use of _USES_POST so -L${LOCALBASE}/lib is added as late as
possible after anything a port Makefile might set.  Use _USES_POST
instead of .include in libedit.mk and libarchive.mk so things like
'USES=libedit localbase:ldflags' work correctly.

Fix some issues with LIBS in some ports.

Switch ports that don't support LIBS to localbase:ldflags.

PR:		212987
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2016-09-30 19:24:30 +00:00
Tobias C. Berner
375097a58a Teach pathfix about KDE_INSTALL_LIBDIR for pkgconfig files.
Reviewed by:	rakuco, mat
Approved by:	portmgr (mat), mat (mentor)
Differential Revision:	https://reviews.freebsd.org/D8029
2016-09-30 17:45:19 +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
Mathieu Arnold
cd9e609ae0 Allow adding only a build or run-time dependency on USES=ssl.
PR:		202175
Reported by:	barnerd
Sponsored by:	Absolight
2016-09-08 14:13:01 +00:00
Mathieu Arnold
400866262b Fix ncurses to not add /usr/lib to rpath.
There are three cases here:

1) USES=ncurses or USES=ncurses:base and devel/ncurses is not present:
   use base, no need to add rpath as there is only one libncurses.so
   present, in /usr/lib
2) USES=ncurses and devel/ncurses is present or USES=ncurses:port: use
   ports, and add rpath to LOCALBASE/lib so that the right one is picked
3) USES=ncurses:base and devel/ncurses is present fail (it would warrant
   using -rpath /usr/lib, but it error's out during the sanity stage)

PR:		211592
Reported by:	koobs (and many others)
Reviewed by:	bapt
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D7459
2016-09-08 14:12:55 +00:00
Jan Beich
a6395dab99 www/firefox: update to 49.0 (rc2)
Bump PORTREVISION to account for slightly different behavior in other
gecko@ ports and to get a discrete regression window.

Changes:	https://www.mozilla.org/firefox/49.0/releasenotes/
PR:		211792
Submitted by:	Jochen Neumeister <joneum@bsdproject.de> (based on)
Security:	2c57c47e-8bb3-4694-83c8-9fc3abad3964
MFH:		2016Q3
2016-09-08 06:48:53 +00:00
Tijl Coosemans
aea21b3b36 - In Uses/linux.mk use the loop variable directly when appending to
*_DEPENDS.  Helper variables derived from the loop variable aren't
  expanded causing *_DEPENDS to be incorrect.
- Bump all ports with more than one value in USE_LINUX.

PR:		211645
Reported by:	jkim
2016-09-07 12:43:22 +00:00
Mathieu Arnold
22108b5cc6 Add redis to the USE_PHP list of possible modules.
PR:		210171
Submitted by:	mat
Sponsored by:	Absolight
2016-09-07 07:17:37 +00:00
Tijl Coosemans
82a87de90c - Replace Mk/bsd.linux-apps.mk and Mk/bsd.linux-rpm.mk with
Mk/Uses/linux.mk.
- Replace USE_LINUX=yes with USES+=linux and USE_LINUX=(.*) with
  USES+=linux:\1 in all ports.
- Replace USE_LINUX_APPS with USE_LINUX in all ports.
- Use INSTALL_SCRIPT instead of INSTALL_PROGRAM to install scripts in some
  ports.
- When USE_LINUX_RPM is defined, simplify the way DISTFILES and EXTRACT_ONLY
  are defined.
- Remove BRANDELF_DIRS and BRANDELF_FILES handling.  In the very rare cases
  that it is still necessary ports can run ${BRANDELF} from post-patch.
- Remove AUTOMATIC_PLIST handling.  Only one port used it.
- Fix Linux MASTER_SITES.
- Replace OVERRIDE_LINUX_BASE_PORT and OVERRIDE_LINUX_NONBASE_PORTS with
  default versions framework.
- bsd.port.mk:
  - Move Linux related bits to Uses/linux.mk, except USE_LINUX_PREFIX.
  - Put USE_LINUX_PREFIX handling after USES processing.
  - Define DOCSDIR, DATADIR, etc. after handling USE_LINUX_PREFIX so it can
    give these variables a different default value.
  - When a package needs to run Linux ldconfig check before installation if
    Linux support is enabled.
- emulators/linux_base-*:
  - Use USES=linux and remove duplication.
  - Remove files/lp.  FreeBSD or CUPS lp(1) should work.
  - Remove files/yp.conf.  No longer seems to be used.
  - Remove pkg-deinstall and move pkg-install into pkg-plist.
  - Update pkg-descr and pkg-message.
  - Fix handling of ldconfig cache in pkg-plist.
- devel/fb-adb: Use a Linux shell to run a Linux script but patch the script
  to use FreeBSD mkdir so mkdir -p $path creates $path and not
  /compat/linux/$path.

PR:		211645
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2016-09-05 19:23:42 +00:00
Roman Bogorodskiy
d38b1c76dc ssl.mk: fix typo in comment
s/use/user/

Approved by:	mat
2016-09-05 15:21:06 +00:00
Palle Girgensohn
96150e27d7 Add PostgreSQL-9.6 RC1
Please read the entry from 20160905 in UPDATING:

daemon user has changed to `postgres'
ICU is default on
2016-09-05 11:15:29 +00:00
David Naylor
f106023e89 Mk/Uses/cran.mk: fix WARNING in cran tests.
R warns if it detects .o or .so objects in the source directory, when
running tests.  Remove the offending files before running the test.

Take maintainership [1]

PR:		212134
Approved by:	wen [1]
2016-08-26 20:30:18 +00:00
Mathieu Arnold
64a3179722 Use LIB_DEPENDS when appropriate in KDE components.
Lots of KDE components are providing libraries, and they were,
strangely, written as BUILD_ or RUN_DEPENDS, with a full path to the
library.  Change this so that if a component is needed at both build,
and, run-time, then it gets a LIB_DEPENDS.

Reviewed by:	rakuco, tcberner
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D7625
2016-08-26 12:43:57 +00:00
Alexey Dokuchaev
bbf1349240 Do not terminate IGNORE messages with period, it is added by the framework. 2016-08-26 08:42:27 +00:00
Mathieu Arnold
5ab3a2ed29 Can't use GSSAPI from base when using OpenSSL from ports.
It kinda works when both OpenSSL have the same options, but fails in
strange ways if they do not.

Sponsored by:	Absolight
2016-08-24 13:03:30 +00:00
Tobias C. Berner
e225b301e9 Fix usage description of kde.mk
kde.mk needs to have an argument. So USES=kde is not
valid.

Approved by:	mat (mentor)
2016-08-24 09:26:50 +00:00
Tobias C. Berner
0f583d8700 Replace Mk/bsd.kde4.mk by Mk/Uses/kde.mk in preparation for KDE Frameworks and
Plasma5 ports

At the moment KDE ports use bsd.kde4.mk to handle their dependencies. When
working on the ports for KDE Frameworks and Plasma5 it seemed to be more
reasonable to create a new kde.mk instead of adding an bsd.kde5.mk.

The kde.mk in this review is a stripped down version of the one we are using in
the KDE Test repositories plasma5 branch [1] to only contain the parts relevant
to the current KDE4 ports in the portstree [2].

Changes to the KDE Ports needed by this:

Replace USE_KDE4 by USE_KDE [3]
Add USES=kde:4 [4]
[1] http://src.mouf.net/area51/view/branches/plasma5/KDE/Mk/Uses/kde.mk
[2] The version in the plasma5 branch also handles frameworks/plasma5 and
    handles MASTER_SITES via a KDE_DIST variable similar to bsd.qt.mk for Qt
    Ports -- I chose to leave this out for now, as the diff is already large
    enough.
[3] I chose USE_KDE instead of USE_KDE4, USE_KDE5, USE_KDEX as the version we
    want is already specified as argument to kde:<arg>
[4] For KDE Frameworks and Plasma5 ports this would be kde:5

PR:             210667
Approved by:    portmgr, mat (mentor), rakuco (mentor)
Reviewed by:    mat, rakuco
Differential Revision:   https://reviews.freebsd.org/D6961
2016-08-24 08:20:31 +00:00
John Marino
afe48a5ce9 Mk/Uses/alias.mk: Fix typo, remove "8" option
The "8" refers to FreeBSD 8.x which is no longer supported by the
ports tree.  It's never been used (to my knowledge) so just remove the
option altogether.
2016-08-23 12:33:13 +00:00
Jimmy Olgeni
4d82f4dd69 Pass MAKE_ENV to the ERLANG_COMPILE command, so that CFLAGS and
LDFLAGS actually reach the C compiler when invoked by rebar.
2016-08-23 11:00:57 +00:00
Dmitry Marakasov
63dc8aecfe - Add enchant php55/php56/php70 extension
PR:		208828
Submitted by:	daniel@blodan.se
Approved by:	maintainer timeout (ale, 4 months)
2016-08-23 10:54:49 +00:00
Koop Mast
a9ac7de46b Add new session component (mate-session-manager) for USE_MATE. 2016-08-22 12:12:23 +00:00
David Naylor
c13104b64f Mk/Uses/cran.mk: fix 'compiles' argument.
Due to the change in r419666 USE_GCC is not conditionally set, however it
was bringing in the dependencies for fortran (silently).  Explicitly bring
in the dependencies for fortran.

Also, add a target to strip the compiled shared library.

PR:		211891
Reviewed by:	mat
Approved by:	wen
2016-08-17 15:42:23 +00:00
Tobias C. Berner
8bd38ffae8 New port: devel/grantlee5 and Uses/grantlee.mk
The upcoming KDE Frameworks ports need grantlee5

*  Add devel/grantlee5 and move installed headers into a subdirectory include/grantlee5
*  Move header files from devel/grantlee into a subdirectory
       include/grantlee4
   to make sure ports do not pick up the wrong headers
*  Add Uses/grantlee.mk to handle the PLIST_SUB and LIB_DEEPENDS needed
   by ports using grantlee (before we set the PLIST_SUB manual in very
   of the depending ports, which now should not be needed anymore).
*  The ports depending on devel/grantlee have been modified from
      LIB_DEPENDS=libgrantlee_gui.so:devel/grantlee
   to
      USES=grantlee:4
   as this does not affect the package no version bumped was made.

Reviewed by:    mat, rakuco
Approved by:    rakuco (mentor)
Differential Revision:  https://reviews.freebsd.org/D7434
2016-08-15 15:36:19 +00:00
Mathieu Arnold
2d4f2b9c75 Remove www/pecl-APC, it doesn't work with PHP 5.5+.
PR:		211344
Submitted by:	rene
Sponsored by:	Absolight
2016-08-15 15:28:03 +00:00
Mathieu Arnold
b21d580983 Prefix the PKGMESSAGES variable with an _ to show it is private.
Sponsored by:	Absolight
2016-08-03 12:48:59 +00:00
Mathieu Arnold
aef5a66670 Don't use extension.ini any more, and have each extension install in its
file, so the order remains the same.

Every PHP (or Zend) extension now installs its own .ini file in
/usr/local/etc/php.  A PHP extension will be automatically activated
when installed.  The order into which extensions are loaded is
automatically guessed.  In some very rare cases, the guess will be
wrong, and PHP_MOD_PRIO will need to be set.  Refer to the USES=php
section of the Porter's Handbook for more information.

Convert ports touching etc/php/extensions.ini manually, or telling the
OP to do it.

And finally, bump PORTREVISION for all php extensions.

PR:		210697
Submitted by:	mat
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D7022
2016-08-03 12:47:05 +00:00
Mathieu Arnold
0761532ec5 Always include bsd.default-versions.mk in bsd.port.mk.
The variable defined in it are now always available after including
bsd.port.pre.mk.

PR:		210666
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D6933
2016-08-03 12:09:37 +00:00
David Naylor
5b1919fe3f Mk/Uses/tcl.mk: fix stage-qa linking error.
- If a port links to libtk then it will always also link to libtcl.  Include
   libtcl in the LIB_DEPENDS when linking to libtk.
 - Fix indentation of '.if' statements

PR:		211261
Approved by:	gahr
MFH:		2016Q3
2016-07-24 08:45:30 +00:00
Mathieu Arnold
507c83b05b Stop people putting arguments to USES=ssl.
Sponsored by:	Absolight
2016-07-22 08:07:05 +00:00
Bryan Drewery
5f4c47a499 Fix display of 7.0 for IGNORE 2016-07-20 20:29:07 +00:00
Tijl Coosemans
a0a3b1dad0 Remove a patch from devel/gmake so the port no longer depends on
print/texinfo which requires gmake.  To break this circular dependency
gmake-lite was introduced.  This can be removed now as well.

PR:		210623
Reviewed by:	bapt
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2016-07-08 11:24:18 +00:00
Matthew Seaman
7e35b9708a Delete the now expired postgresql90 ports. Upstream support for
postgresql-9.0.x was declared EoL in September 2015.

Summary:
Remove 9.0 from the list of postgresql versions available in ports

Disconnect postgresql90 ports from the build

Remove postgresql90-pgtcl port

Remove postgresql90-client port

Move the master postgreslXY-plperl makefile to postgresql95-plperl/Makefile.

Adjust include lines in other postgresqlXY-plperl ports

Delete postgresql90-plperl

Move the master postgreslXY-plpython/{Makefile,pkg-descr} to
postgresl95-plpython/{Makefile,pkg-descr}

Adjust all other postgresqlXY-plpython/Makefile to include the new master

Remove postgresql90-server

Reviewers: jgh, girgen, #portmgr, O5 Ports Framework, bapt, crees

Reviewed By: #portmgr, O5 Ports Framework, bapt, crees

Subscribers: mat

Differential Revision: https://reviews.freebsd.org/D6898
2016-07-01 17:45:51 +00:00
Mathieu Arnold
d51e60ebb9 For some reason, != "" and == "" don't work the same with make and
fmake, but, empty does.

Pointy hat to:	mat, or make(1) pick one.
Sponsored by:	Absolight
2016-06-29 13:31:35 +00:00
Mathieu Arnold
0600ac5008 Move USE_PHPEXT, USE_PHP_BUILD and USE_ZENDEXT to unsupported, now that
they have been removed from the ports tree.

Sponsored by:	Absolight
2016-06-28 14:00:58 +00:00
Mathieu Arnold
4973e5b396 Add support for USE_PHP=ext:build to add a build dependency on the extension.
PR:		210529
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D6936
2016-06-28 13:57:43 +00:00
Mathieu Arnold
d2c4c14627 USEify USES=php.
The following variables have been folded into arguments:

- USE_PHPIZE -> USES=php:phpize
- USE_PHPEXT -> USES=php:ext
- USE_ZENDEXT -> USES=php:zend
- USE_PHP_BUILD -> USES=php:build
- WANT_PHP_CLI -> USES=php:cli
- WANT_PHP_CGI -> USES=php:cgi
- WANT_PHP_MOD -> USES=php:mod
- WANT_PHP_WEB -> USES=php:web
- WANT_PHP_EMB -> USES=php:embed

PR:		210529
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D6936
2016-06-28 13:57:37 +00:00
Mathieu Arnold
6f976cd9b9 Remove obsolete doc.
Sponsored by:	Absolight
2016-06-27 14:07:56 +00:00
Mathieu Arnold
06b4ea3876 Replace bsd.openssl.mk with USES=ssl
Add a qa hint about needing, or not, USES=ssl.

Fix ports doing silly things, like including bsd.openssl.mk directly.

PR:		210322
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D6866
2016-06-27 11:31:10 +00:00
Antoine Brodin
1f14e228b1 Reduce a little bit foot shooting for people installing python 3 ports using
PYTHON_ABIVER/PYTHON_INCLUDEDIR, when they use default options for
lang/python3x, by providing a reasonable default value to PYTHON_ABIVER

With hat:	portmgr
2016-06-25 19:51:32 +00:00
Olli Hauer
9a088b624c - fix detection of threaded httpd
Approved by:	mat@
2016-06-23 18:46:00 +00:00
Mathieu Arnold
11ca07f4fc Move bsd.php.mk to Uses/php.mk
PR:		210323
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D6867
2016-06-23 13:19:17 +00:00
Matthew Seaman
8228c143ee WANT_PGSQL=lib adds a LIB_DEPENDS on postgresglXY-client (this is also
the default when WANT_PGSQL is not defined). Compare to
WANT_PGSQL=client which only adds a RUN_DEPENDS on
postgresqlXY-client. 'client' can be part of a list of different
components, but 'lib' is ignored if any other terms are specified,
which seems an arbitrary and incorrect restriction.

WANT_PGSQL=lib allows expressing that the port links against
libpq.so.X rather than just needing one of the client programs like
psql(1) at runtime. However, other than that there is little
practical difference between 'lib' and 'client' on the resulting pkg.

Approved by:	crees (pgsql@)
Sponsored by:	https://reviews.freebsd.org/D6893
2016-06-22 06:27:58 +00:00
Mathieu Arnold
b96b595ad0 lang/ifc was removed quite a while back.
Sponsored by:	Absolight
2016-06-20 13:12:09 +00:00
Baptiste Daroussin
ecba37e1cc Remove gtk-sharp10 it is not depended on anymore and superceeded by other libs 2016-06-19 23:00:37 +00:00
David Naylor
cbc090bfe3 Mk/Uses/cran: add "compiles" argument.
[1] Add "compiles" argument to cran to allow R-cran ports need to compile
code to bring in the correct compiler dependencies.  Also, ensure
consistency between the compiler selected by the R port and the R-cran ports.

[2] Migrate R-cran ports that manually specify the compiler to
USES=cran,compiles.

PR:		210343
Approved by:	wen (1), portmgr (2, blanket)
2016-06-18 17:46:30 +00:00
Rene Ladan
033cd909fd Mk/Uses/drupal.mk: remove support for Drupal 6 2016-06-18 08:22:11 +00:00
Mathieu Arnold
2bcdb56fd2 Fix USES=bdb.
Turns out that the conversion to USES was broken, and did not take the
DEFAULT_VERSIONS=bdb=foo into account.

PR:		210149
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	The FreeBSD Foundation, Absolight
2016-06-16 13:21:06 +00:00