Commit Graph

630 Commits

Author SHA1 Message Date
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
Jan Beich
f24d27910f www/firefox: update to 47.0 (rc2) / 45.2esr
- Adjust firefox-esr-i18n for linux-firefox after r414580
- Unbreak DTRACE=on + DEBUG=on [1]
- Unbreak FFMPEG=off [2]

Changes:	https://www.mozilla.org/firefox/47.0/releasenotes/
Changes:	https://www.mozilla.org/firefox/45.2.0/releasenotes/
Security:	8065d37b-8e7c-4707-a608-1b0a2b8509c3
PR:		200845, 209952 [1], 209308 [2]
MFH:		2016Q2
2016-06-03 10:52:44 +00:00
Mathieu Arnold
3c03e67b02 Allow depending on both mysql's client and server
Fix the few users of both the MySQL client and server.

PR:		209762
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D6575
2016-06-01 13:14:56 +00:00
Mathieu Arnold
06b6315ce1 Starting at ExtUtils::MakeMaker 7.06 and Perl 5.25.1, the base
README.pod is no longer manified into a README.3, as the README.pod is
installed and can be read with perldoc, remove the README.3 files that
may be generated.

With hat:	perl@
Sponsored by:	Absolight
2016-05-30 15:33:44 +00:00
Kurt Jaeger
d021ee8031 Mk/Uses/qmake.mk: revert latest change
PR:		209326
Requested by:	mat
2016-05-28 20:01:16 +00:00
Kurt Jaeger
2abc9f5f89 Mk/Uses/qmake.mk: add empty do-configure target
PR:		209326
Submitted by:	rakuco, T.C.Berner <tcberner@gmail.com>, Ralf Nolden <nolden@kde.org>
2016-05-28 17:19:43 +00:00
John Marino
cc7211ab41 Mk/Uses/ada.mk: Remove ADA_DEFAULT=49 option
The lang/gcc-aux port has recently been removed, so the previously legal
"49" argument is no longer so.  Adjust ada.mk accordingly by removing
reference to option 49 and lang/gcc-aux.
2016-05-27 09:54:47 +00:00
Matthias Andree
1b68d5eb0c Update to 6.2.23. Add TCL option. Cleanup.
Changes submitted by gahr@:
Enable a new TCL option, adding a pkgIndex.tcl file.
Modernize Makefile. [1]

Changes by mandree@:
Fix installation of TCL API docs if TCL option is enabled.
Update to new upstream release 6.2.23.
Install the upgrade61.sh script if SQL option is enabled, with
additional fixes distributed as a patch to avoid licensing concerns.
Add an UPDATING entry.
Add changes in Mk/Uses/bdb.mk.

db5 parts of PR 208740 to be committed in a separate transaction later.

PR:		208740
Submitted by:	gahr@
2016-05-23 20:18:24 +00:00
Tijl Coosemans
b7b8a5cfb4 Always add -DLIBICONV_PLUG to CPPFLAGS and friends when the base system
iconv(3) is used.  Adding it only when LOCALBASE/include/iconv.h exists is
not enough because this is tested before dependencies are installed and
they may pull in converters/libiconv.

PR:		209302
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2016-05-12 13:36:46 +00:00
Mathieu Arnold
f22b34a823 Introduce Perl 5.24 and update perl5-devel to v5.25.0-8-g51f69a2.
Changes:	https://metacpan.org/pod/release/RJBS/perl-5.24.0/pod/perldelta.pod
Changes:	https://github.com/Perl/perl5/compare/v5.24.0...v5.25.0-8-g51f69a2
Sponsored by:	Absolight
2016-05-09 12:50:38 +00:00
Bryan Drewery
f09aee47eb Allow overriding PERL and PERL5.
This is needed for cross-build support.
2016-05-04 19:50:21 +00:00
Mathieu Arnold
f53c726ca7 Fix WITH_BDB_VER support, and switch to DEFAULT_VERSIONS.
PR:		209183
Reported by:	peter
Sponsored by:	Absolight
2016-05-02 13:16:52 +00:00
John Marino
d0c4d21a83 Change Ada Framework foundation from gcc5-aux to gcc6-aux
GCC 6.1 was released this week.  The Ada Framework in FreeBSD ports has
been based on GCC 5.3 GNAT although GCC 6.x has been supported for awhile
via the ADA_DEFAULT option in make.conf.

Now that GCC 6 has been officially released, switch to it by default.
People can maintain the old foundation by putting "ADA_DEFAULT=5" in
/etc/make.conf.

Libraries built by one GNAT are unusable by another, so almost every Ada
port has been bumped as a result.  Noticable exceptions are dns/ironsides
which fails to build on gcc6 (thus USES=ada:5 is set) and cad/ghdl which
needs additional testing as it may require gcc5 on FreeBSD (DragonFly
uses the LLVM backend only).
2016-04-30 06:44:27 +00:00
Antoine Brodin
28b17725ab Remove ${PORTSDIR} from python _DEPENDS 2016-04-28 12:17:09 +00:00
Mathieu Arnold
3c240de5dc Now that autoplist is not used, remove support for it, and fix header.
Sponsored by:	Absolight
2016-04-28 08:51:02 +00:00
Steve Wills
38fb960f49 Improve gem.mk
* Check for valid args to USES=gem
* Make autoplist default, allowing it to be specified (which is a no-op), or
  turned off
* Add sanity checks for USE_RUBYGEMS RUBYGEM_AUTOPLIST

Requested by:	mat
Discussed with:	mat
2016-04-27 20:19:16 +00:00
Mathieu Arnold
360cd76225 Don't abuse an existing target and create our own.
Sponsored by:	Absolight
2016-04-27 16:53:29 +00:00
Steve Wills
b3e8fe8d85 create USES=gem and update rubygem- ports to use it
Note that for now ports still have to have USE_RUBY=yes to use USES=gem

PR:		209041
Differential Revision:	https://reviews.freebsd.org/D6070
2016-04-27 16:36:41 +00:00
Mathieu Arnold
d78beb132c Move MySQL support from bsd.databases.mk to Uses/mysql.mk.
Also, USE_MYSQL can't happen after bsd.port.pre.mk because it is a USES.

PR:		208971
Submitted by:	mat
Exp-run by:	antoine
With hat:	portmgr
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D5951
2016-04-25 16:17:31 +00:00
Mathieu Arnold
4d32bbcef6 Move USE_BDB support from bsd.databases.mk to its own file.
Also:
- Deorbit WANT_BDB_VER, one can use USES=bdb:<ver> instead.
- USE_BDB can't happen after bsd.port.pre.mk because it is a USES.

PR:		208971
Submitted by:	mat
Exp-run by:	antoine
With hat:	portmgr
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D5951
2016-04-25 16:17:19 +00:00
Tijl Coosemans
5bc688d3c8 Require at least version 0.9.10 of pkgconf. This version fixed a problem
with parsing comments.

Several users reported a problem building security/gnutls because
hogweed.pc (provided by security/nettle) contains the following line:

Requires: # nettle

Older versions of pkgconf try to look for a package named "#" and fail.
2016-04-24 19:20:10 +00:00
Mathieu Arnold
10e17473f6 Fix USES=pear.
Noticed by:	antoine
Pointy hat to:	mat
Sponsored by:	Absolight
2016-04-22 13:39:30 +00:00
Mathieu Arnold
5d7b880ff0 Move lang/go/files/bsd.go.mk to USES=go.
Reviewed by:	bapt
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D6057
2016-04-22 12:40:04 +00:00
Mathieu Arnold
d5e588bc6e Make all the targets in USES use the _USES_* helpers.
It is left as an exercise to the reader to reorder some of those targets
to fix some small problems, and to add a comment about why each target
is ran when it is ran.

Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D5717
2016-04-22 09:24:34 +00:00
Pietro Cerutti
812894cb15 Support Tk in USES=tk:tea. Convert more ports + minor fixes and modernization. 2016-04-21 11:33:16 +00:00
Jan Beich
4dfb37ee97 www/firefox{,-esr}: update to 46.0 (rc4) / 45.1esr
Changes:	https://www.mozilla.org/firefox/46.0/releasenotes/
Changes:	https://www.mozilla.org/firefox/45.1.0/releasenotes/
Security:	92d44f83-a7bf-41cf-91ee-3d1b8ecf579f
MFH:		2016Q2
2016-04-21 11:18:13 +00:00
Pietro Cerutti
4d519d4deb Use correct include dir switch in USES=tcl:tea. Adjust devel/tclreadline. 2016-04-21 09:47:29 +00:00
Pietro Cerutti
4e23c21fc1 Add "tea" argument to USES=tcl to facilitate porting of TEA-based extensions.
Quoting https://tcl.tk/doc/tea:

"The Tcl Extension Architecture, or TEA, by John Ousterhout and others, is a
set of guidelines and techniques for the distribution, configuration,
compilation, and installation of Tcl extensions. TEA also provides a set of
utilities that operate accordingly. Many Tcl extensions leverage the TEA
utilities, which are designed to be easily customizable."

To facilitate the porting of TEA-based extensions, I have added the new "tea"
argument to USES=tcl. This argument prepares the autoconf environment by
setting GNU_CONFIGURE and sets some commonly used CONFIGURE_ARGS. Also, it
tries to figure out the correct extension name, sets TCL_PKG accordingly, and
adds it to PLIST_SUB.

I have modified a few ports to take advantage of this. More will come.
2016-04-19 14:20:01 +00:00