Commit graph

91 commits

Author SHA1 Message Date
Mathieu Arnold
2f53697702 Move USE_BDB and PLIST_DIRSTRY to the unsupported section, all the ports
have been converted.

Sponsored by:	Absolight
2016-08-17 12:16:24 +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
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
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
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
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
Mathieu Arnold
38cbe5cc9e Remove USE_FIREBIRD from bsd.databases.mk, replaced by USES=firebird.
Also:
- replace USE_FIREBIRD by USES=firebird.
- convert ports depending on databases/firebird25-client directly to USES=firebird.

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:14:02 +00:00
Mathieu Arnold
21bc5c0345 Remove USE_SQLITE from bsd.databases.mk, replaced by USES=sqlite.
While there replace USE_SQLITE=x by USES=sqlite:x.

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:13:38 +00:00
Mathieu Arnold
34c548ae0a USE_RC_SUBR=yes has not done anything for a long time, remove it from
the few remaining ports and make it give an error.

Sponsored by:	Absolight
2016-04-14 11:00:23 +00:00
Baptiste Daroussin
bf548998cb Introduce 2 new USES: sqlite and firebird
sqlite and firebird handling code has been extracted from bsd.databases.mk
add an entry in bsd.sanity.mk to mark USE_SQLITE and USE_FIREBIRD as deprecated
2016-01-10 16:15:29 +00:00
Dmitry Marakasov
7cffd3c8f9 Remove support for WANT_SDL/HAVE_SDL knobs
WANT_SDL/HAVE_SDL macros allowed a port to check which SDL components
are installed. This goes against the policy of avoiding automatic
dependencies, and there are actually no cases in the portstree where
these knobs are used properly, so axe them out.

Approved by:	portmgr (mat)
Differential Revision:	D4093
2015-11-09 14:30:02 +00:00
Baptiste Daroussin
3566d56ac4 Add PLIST_DIRSTRY deprecation to sanity check (forgot to add it before) 2015-10-10 21:24:22 +00:00
Baptiste Daroussin
156292ee02 Add a new sanity check for knobs not needed anymore
First use: WX_UNICODE
2015-09-16 21:01:05 +00:00
Mathieu Arnold
21a283f3be Remove UNIQUENAME and LATEST_LINK.
UNIQUENAME was never unique, it was only used by USE_LDCONFIG and now,
we won't have conflicts there.

Use PKGBASE instead of LATEST_LINK in PKGLATESTFILE, the *only* consumer
is pkg-devel, and it works just fine without LATEST_LINK as pkg-devel
has the correct PKGNAME anyway.

Now that UNIQUENAME is gone, OPTIONSFILE is too. (it's been called
OPTIONS_FILE now.)

Reviewed by:	antoine, bapt
Exp-run by:	antoine
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D3336
2015-08-17 14:20:40 +00:00
Koop Mast
68f883edfc Convert code in bsd.port.mk for USE_GHOSTSCRIPT* to USES=ghostscript.
Add GHOSTSCRIPT_DEFAULT to bsd.default-versions.mk for easy version selection.
Arguments supported: <empty>, build, run, nox11 and agpl

PR:		201201 (exp-run)
Approved by:	portmgr (mat@)
Exp run by:	antione@ (previous patch)
Differential Revision:	https://reviews.freebsd.org/D2938
2015-07-16 20:53:28 +00:00
Baptiste Daroussin
0013e695a9 Remove NEED_ROOT, the last customer has been modified to be able to properly
package as a regular user

USES=fakeroot and USES=uidfix does a better job and is less intrusive and allows
to simplify the way we handle the different targets in the framework
2015-06-04 19:32:29 +00:00
Mathieu Arnold
cb28a089d6 Remove GH_COMMIT support.
Differential Revision:	https://reviews.freebsd.org/D2606
With hat:	portmgr
Sponsored by:	Absolight
2015-05-21 15:25:40 +00:00
Baptiste Daroussin
dd86eab2d5 Mark NEED_ROOT as deprecated, It was a wrong idea as people are abusing it.
There is now USES=fakeroot for complicated cases if needed.
2015-05-04 08:53:20 +00:00
Tijl Coosemans
e81a5e63ab Mark USE_AUTOTOOLS deprecated and remove support for libtoolize.
Approved by:	portmgr (bapt)
2015-04-19 18:16:40 +00:00
Bryan Drewery
25a26ebfe9 The CATEGORY warning should be dev-only.
PR:		199464
Submitted by:	Anton Yuzhaninov <citrin+pr@citrin.ru>
2015-04-15 15:51:36 +00:00
Bryan Drewery
a19989cb5d Rework change from r383665 for CATEGORY validation so it does not show a
warning when PORTSDIR is set to a directory that is symlinked to the real
ports directory.

Reported by:	smh
With hat:	portmgr
2015-04-15 15:49:01 +00:00
Bryan Drewery
4c651a67d3 Follow-up the check added in r383191 for validating the first CATEGORY so it
does not error when using ports outside of PORTSDIR and the general ports
directory structure.

With hat:	portmgr
Tested by:	amdmi3, danfe
Reported by:	amdmi3
2015-04-09 17:34:02 +00:00
Baptiste Daroussin
ebcaf1d16e Remove last traces of USE_PGSQL
Add USE_PGSQL to ERRORS in bsd.sanity.mk to avoid others to readd it by mistake
2015-04-07 12:25:28 +00:00
Baptiste Daroussin
dd64c3e552 USE_BZIP2 and USE_XZ are not used anymore in the ports tree mark them as
unsupported
2015-04-07 12:13:52 +00:00
Bryan Drewery
0ded9634da Re-enable and rework check added in r370464 to validate the first CATEGORY
is set properly.  The problem causing the revert in r370475 was fixed in
r383190.

With hat:	portmgr
2015-04-04 05:35:19 +00:00
Bryan Drewery
25700d1dc3 These lines are being expanded badly. Fix syntax error. 2015-03-20 07:05:00 +00:00
Bryan Drewery
cf1458db51 Fix order of change in r381706.
With hat:	portmgr
2015-03-20 02:07:01 +00:00
Bryan Drewery
10b2398f3b Add a sanity check for deprecating the old USE_GITHUB syntax.
With hat:	portmgr
2015-03-20 02:05:57 +00:00
Ryan Steinmetz
dec83e0d5d - Make LIB_DEPENDS error more useful
Approved by:	portmgr (bapt)
2015-03-05 00:36:52 +00:00
Max Brazhnikov
b22224f636 - Remove deprecated USE_KDE4=kdehier
- while here, remove any reference to KDE in deskutils/charmtimetracker (Qt-only app)
  and supposedly fix build of graphics/gnash with KDE4 option
2015-02-19 18:19:28 +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
Jean-Sébastien Pédron
3c9a1d11c2 Final removal of WITH_NEW_XORG
This knob was turned on for all version of FreeBSD in r369875
(2014-10-03) and officially deprecated. Since then, it was gradually
removed from many ports when they needed an update.

x11-servers/xorg-server was the last major user of this knob. The port
was updated to xserver 1.14 in r374982 (2014-12-19). The update got rid
of the knob, clearing the path to the final removal.

This commit changes ports who were checking for WITH_NEW_XORG and remove
its handling from bsd.port.mk.

While here, two sanity checks are added to warn user about WITH_KMS and
WITH_NEW_XORG which have no effect now.

Differential Revision:	https://reviews.freebsd.org/D1351
Reviewed by:	antoine, bapt, kwm
Approved by:	portmgr (antoine, bapt), kwm
2014-12-22 23:04:17 +00:00
Max Brazhnikov
0ea52f99b4 KDE/FreeBSD team presents KDE SC 4.14.2 and KDE Workspace 4.11.13!
USE_KDE4=kdehier component has been deprecated, new components added:
 baloo			- Baloo core libraries
 baloo-widgets		- Baloo widgets library
 kfilemetadata		- KDE library for extracting file metadata

New ports:
  graphics/kqtquickcharts	- QtQuick plugin to render interactive charts
  misc/artikulate		- Pronunciation trainer for KDE
				(not usable currently, links to both
				GStreamer 1.x and 0.10.x via dependencies)
  sysutils/baloo[-widgets]	- KDE framework for searching and
				managing user metadata
  sysutils/kfilemetadata	- Library for extracting file metadata

l10n ports:
- Farsi (Persian) and Indonesian translations has been readded
- Vietnamese didn't pass threshold for inclusion into release

astro/kstars:
- switch dependency from math/eigen2 to math/eigen3
- add PYKDE option for updating supernovae data

deskutils/kdepim4:
- update dependencies: add libkgapi and baloo,
  remove now needless clucene, link-grammar, strigi
- add patch to fix build with gcc42
- update COMMENT and description for all KDE PIM ports

devel/ruby-krossruby:
- remove BROKEN, it builds with ruby 2.x now

editors/kate:
- add patch to disable memory-hungry build of the kate tests [1]

graphics/okular:
- add dependency on graphics/libkscreen

math/cantor:
- add optional dependency on lang/luajit for LuaJIT backend
- fix gfortran detection [2]

misc/kdehier4:
- adapt to new pkg world. Now the purpose of kdehier4 only
  to link some stuff between KDE4_PREFIX and LOCALBASE.

science/kalzium:
- switch dependency from math/eigen2 to math/eigen3
- add dependence on science/chemical-mime-data

x11-themes/kdeartwork4
- switch dependency from math/eigen2 to math/eigen3

among other changes:
- drop deprecated USE_KDE4=kdehier
- drop @dirrm from plist
- clean up pkg-descr
- convert to options helpers
- other portlint fixes

The area51 repository features commits by alonso, rakuco and myself.

PR:		187150 [1]
Reported by:	pe.freethread@live.com
Patch by:	Tobias Berner <tcberner@gmail.com>

PR:		180674 [2]
Reported by:	torsten.eichstaedt@web.de

PR:		194316
Exp-run:	antoine
2014-10-19 15:57:27 +00:00
Baptiste Daroussin
820cfcd281 Comment out, it is not ready for prime 2014-10-08 18:28:27 +00:00
Baptiste Daroussin
2e0c90c883 Check CATEGORIES sanity directly from bsd.sanity.mk
Differential Revision:	https://reviews.freebsd.org/D917
Reviewed by:	bdrewery
2014-10-08 17:11:52 +00:00
Baptiste Daroussin
83fe4bc1ea Use bsd.sanity.mk to check for INSTALLS_SHLIB 2014-10-08 10:08:24 +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
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
3a1aa3c465 - Remove last uses of USE_AUTOTOOLS=libtool from bsd.gnome.mk
(lthack, ltasneededhack and ltverhack) [1]
- Remove support for USE_AUTOTOOLS=libtool and USE_AUTOTOOLS=libltdl

PR:		188978 [1]
Approved by:	portmgr (bapt)
2014-09-17 07:48:22 +00:00
Baptiste Daroussin
8527bc1d3a Remove support for NO_STAGE
Mark all current non staged ports as BROKEN

Reviewed by:	antoine
Exp-run:	antoine
Differential Revision:	https://reviews.freebsd.org/D693
2014-09-01 05:43:02 +00:00
Marcus von Appen
6333852871 - Deprecate INSTALLS_EGGINFO
- Remove PYTHON_MASTER_SITES deprecation; the knob is completely gone and can
  not be tested for, since it does not get assigned by default

With hat:	python@
2014-08-17 10:36:08 +00:00
Marcus von Appen
a382bbffeb - Rename PYTHON_FEATURES to USE_PYTHON to comply to USE_PERL5 and to avoid a
conflict in behaviour with the read-only COMPILER_FEATURES knob
- Fix the deprecated USE_PYTHON_BUILD and USE_PYTHON_RUN behaviour, which
  usually should be mutually exclusive, but some ports include both knobs

Phabric:		D581
Recommended by:	danfe@, makc@
Reviewed by:	danfe, wg, antoine
Approved by:	portmgr
With hat:		python@
2014-08-14 17:04:30 +00:00
Mathieu Arnold
4d74d14e32 Add a USES=imake:noman to make NO_INSTALL_MANPAGES go away.
CR:		D594
Reviewed by:	antoine
Sponsored by:	Absolight
2014-08-12 16:24:27 +00:00
Marcus von Appen
900db324a3 Convert the Python framework bits to USES=python.
Please use USES=python instead of USE_PYTHON.

  USE_PYTHON=yes becomes USES=python
  USE_PYTHON=2.7+ becomes USES=python:2.7+
  USE_PYTHON_BUILD=3.3 becomes USES=python:3.3,build
  ...

A new PYTHON_FEATURES variable was added, which enables certain features for a
port and replaces some knobs at the same time;

  PYTHON_FEATURES=distutils replaces USE_PYDISTUTILS
  PYTHON_FEATURES=autoplist replaces PYDISTUTILS_AUTOPLIST
  PYTHON_FEATURES=py3kplist replaces PYTHON_PY3K_PLIST_HACK
  PYTHON_FEATURES=noegginfo replaces PYDISTUTILS_NOEGGINFO
  PYTHON_FEATURES=concurrent replaces PYTHON_CONCURRENT_INSTALL
  PYTHON_FEATURES=pythonprefix replaces USE_PYTHON_PREFIX

Some knobs have been deprecated and are to be removed in the near future:

  PYTHON_MASTER_SITES - use MASTER_SITE_PYTHON instead
  PYTHON_PKGNAMESUFFIX - use PYTHON_PKGNAMEPREFIX instead
  PYDISTUTILS_INSTALLNOSINGLE - deprecated without replacement

Some knobs have been removed completely:

  PYTHON_MASTER_SITE_SUBDIR
  PYTHON_DISTNAME
  PYTHON_WRKSRC

Several variables specific to the Python framework are no longer passed to the
build environment to avoid polluting dependency builds.

  PYTHON_VERSION is not passed to .MAKEFLAGS anymore
  PYTHON_DEFAULT_VERSION,
  PYTHON_DEFAULT_PORTVERSION and
  PYTHONBASE are not passed to the make environment anymore

The conversion required a couple of ports to be updated to fit the changes and
new requirements. Those included "bsd.python.mk" directly or contained checks
in places, for which the USES framework would fail to provide correct values.

Python modules directly using the upstream Python package (such as py-tkinter
or py-sqlite3) were updated to avoid using the now unnecessary and remmoved
knobs from "bsd.python.mk".

Phabric:	D399
exp-run:	167368 192357
PR:		167368 192357
Reviewed by:	antoine, wg
Exp-run award:	antoine
With hat:	python@
Approved by:	portmgr
2014-08-09 15:44:27 +00:00
Baptiste Daroussin
4a57b32379 Now that all LIB_DEPENDS has been switched to modern version, remove support
for ancient version.

Phabric:	D415
Reviewed by:	swills
2014-07-16 05:55:14 +00:00
Marcus von Appen
9ec0761d6a Support for installations based on the easy_install setup.py target has
been removed from the Ports framework for Python software. The
PYEASYINSTALL_* knobs and support for USE_PYDISTUTILS=easy_install have
been removed.

Phabric:	D299
With hat:	python@
2014-07-08 16:14:33 +00:00
Baptiste Daroussin
a5fe4d9993 Register USE_DRUPAL as unsupported 2014-06-18 12:23:22 +00:00
Rene Ladan
3ad8854905 USE_GMAKE is marked as deprecated in bsd.sanity.mk, but it is
unsupported since r355709

Phabric:	D110
Approved by:	portmgr (bdrewery)
2014-05-30 21:32:38 +00:00
Baptiste Daroussin
fc5c95cd6c Drop support for USE_SCONS please use USES=scons instead 2014-05-27 14:58:58 +00:00