1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00
Commit Graph

3317 Commits

Author SHA1 Message Date
Baptiste Daroussin
2dccb25602 Fix displaying multi description 2013-03-21 15:43:29 +00:00
Bryan Drewery
cca914e0f6 - Fix dialog4ports missing when PREFIX!=LOCALBASE
PR:		ports/177174
Reported by:	Hirohisa Yamaguchi <umq@ueo.co.jp>
With hat:	portmgr
2013-03-21 11:13:49 +00:00
Martin Wilke
58df3eebfb - Ports that use alternative targets to depend on others, for example:
BUILD_DEPENDS=	${NONEXISTENT}:${PORTSDIR}/foo/bar:target
  fail when built in jails that restrict network access during !fetch phase.
  This commit address this problem.

Tested by:	bmany exp-runs, drewery, bapt, crees

PR:		169850
Submitted by:	crees@
2013-03-21 07:34:50 +00:00
Bryan Drewery
becd92b496 - Remove prompt for dialog4ports. Dialog4Ports is a
required part of ports 'make config' now. This is seen
  as not much different than any other dependency.
- Allow dialog4ports to work with INSTALL_AS_USER
  by building and using the port's WRKDIR version
  through a Tools/scripts wrapper
- Add NO_DIALOG for 'config' as well.
- Fix D4P environment variables not passing to dialog4ports:
  D4PHEIGHT, D4PWIDTH, D4PFULLSCREEN

Reviewed by:	miwi, bapt, rum1cro@yandex.ru
Tested by:	miwi, bapt, rum1cro@yandex.ru
Tested by:	bdrewery (small exp-run)
Requested by:	many
2013-03-21 02:55:32 +00:00
Baptiste Daroussin
72a8d49547 Make config-depends target respect NO_DIALOG
Clean out the dialog4ports workdir after installing it

Reported by:	flo
Tested by:	flo
2013-03-20 09:30:04 +00:00
Baptiste Daroussin
e27e2c7316 if user has decide not to install dialog4ports, quit with a failre.
Reported by:	many
2013-03-20 07:58:56 +00:00
Jason Helfman
1c09104064 - Add New USES macro to handle support for Zenoss ports and Zenpacks:
USES= zenoss
-trim historical headers

Convert net-mgmt/zenpack family to new framework

PR:		176723
Approved by:	maintainer timeout ( 14 days )
2013-03-20 06:28:43 +00:00
Gerald Pfeifer
ff526d783e When the same version of GCC is present as a port and in base, prefer
the former.

Improve consistency of the code in on place.
2013-03-19 18:37:30 +00:00
Max Brazhnikov
f8a306de30 Convert USE_CMAKE to USES macro:
Usage:		USES= cmake or USES= cmake:ARGS
 Valid ARGS:	outsource (perform an out-of-source build)

Tested by:	exp-run (bapt)
Approved by:	portmgr (bapt)
2013-03-19 17:59:30 +00:00
Koop Mast
5d69fda192 Add gtksourceview3 and gtksourceviewmm3 macros to USE_GNOME.
Obtained from:	gnome team repo
2013-03-19 15:33:24 +00:00
Baptiste Daroussin
5718fc3071 Make the ports tree use dialog4ports for make config.
dialog4ports has been contributed by Ilya A. Arkhipov. It extends dialog(3) to
provide a mixed dialog widget allowing to represent all features provide by the
new options framework.

This allows the ports tree to not anymore depends on dialog(1) from base to configure
the options and be able to improve if needed on all supported plateforms at the same time.

Exp-run by:	miwi
2013-03-19 09:27:52 +00:00
Baptiste Daroussin
e7b0f97788 Fix a long standing bug of lib/charset.alias being overwritten, modified, and badly tracked by ports.
Make lib/charset.alias a file only provided by converters/libiconv
Create a new USES: charsetfix, that will modify in post patch the Makefile.in to prevent a port from modifying/overwritting the charset.alias file during make install.
Prevent devel/gettext from installing that files.
Fix a couple of ports that actually touch charset.alias during the build phase.

Based on a patch by ale (http://lists.freebsd.org/pipermail/freebsd-gnome/2012-October/027747.html)

Approved by:	kwm (gnome)
Exp-run by:	miwi
2013-03-18 11:40:04 +00:00
Jason Helfman
4153f3e96b - adoption of optionsNG
- trim historical header
- fix mixture of DOCS/EXAMPLES -> EXAMPLES
- add shared description for GLUT to bodm

Approved by:	portmgr (miwi)
2013-03-18 06:54:39 +00:00
Alexey Dokuchaev
2863f0ebbd Fix address of NSU mirror of ftp.idsoftware.com; kill space at EOL while here. 2013-03-17 11:21:32 +00:00
Gerald Pfeifer
bbd1d00f94 Simplify (and strictly speaking, though not practically given version
number schemes between FreeBSD and GCC, correct) the check for a valid
version specified by USE_GCC. [1]

If IGNORE is set, have test-gcc note that instead of showing its usual,
and in that case incorrect and useless, debugging output.

PR:		175252 [1]
Submitted by:	Yamaya Takashi <yamayan@kbh.biglobe.ne.jp> [1]
2013-03-16 13:01:12 +00:00
Bryan Drewery
63f96859ce - Convert USE_QMAIL_RUN, USE_QMAIL_BUILD and WANT_QMAIL into USES feature
bapt contributed to the qmail.mk as well
- Trim headers

USES= qmail:run will add qmail into RUN_DEPENDS
USES= qmail:build will add qmail into BUILD_DEPENDS
USES= qmail[:both] will add qmail into both RUN and BUILD DEPENDS
USES= qmail:vars will set QMAIL_PREFIX

With hat:	portmgr
2013-03-15 22:03:42 +00:00
Baptiste Daroussin
911c27a74b r314316 loads the features a bit too late it should be done prior to the path sanity checking
Reported by:	bdrewery
2013-03-15 16:45:47 +00:00
Baptiste Daroussin
be3b808c2a Load features at the end of pre.mk instead of the begonning of post.mk
This allows to test/manipulates variables from USES between .pre.mk and .post.mk

Having it loaded in the end of pre.mk still allows to set USES inside bsd.*.mk
and after bsd.port.options.mk.

The only limitation is that USES set after bsd.port.pre.mk will not be taken loaded.
Which is the same behaviour as for USE_*.

Requested by:	bdrewery
Exp-run by:	miwi
2013-03-15 16:37:31 +00:00
Max Brazhnikov
6349889182 Mark build conflict with qt-3 for Qt4 ports
Reported by:	many
2013-03-15 11:46:58 +00:00
Sunpoet Po-Chuan Hsieh
55e8d63576 - Add shared TEST descriptions 2013-03-15 07:15:28 +00:00
Baptiste Daroussin
5285b348d3 Fix info files with pkgng.
This bring the first Keyword into the ports tree.
Keywords are pkgng custom plist keyword definition.

info.yaml defines a new @info keyword usable only with pkgng which will:
- add the info agument to the file list
- set a post-installation execution script
- set a post-deinstallation execution script

in keyword definition the script uses the same format (%f, %F, %D, ...) as @exec/@unexec does
it just add a new one: %@ which correspond the the keyword argument line.

Exp-run:	miwi
2013-03-14 10:11:19 +00:00
Bryan Drewery
f7fde92337 - Fix fetch-urlall-list fetch-url-list fetch-url-list-int targets
incorrectly looking at distinfo data. These were copied from
  do-fetch at some point, but they do not actually run FETCH_CMD,
  so the DIR and CKSIZE vars are not needed.

PR:		ports/175717
Submitted by:	amdmi3
With hat:	portmgr
2013-03-13 02:20:47 +00:00
Bryan Drewery
cec5e7a589 - Make the config sanity check more clear that it defaults
to [Y]es

PR:		ports/171083
Submitted by:	rakuco
With hat:	portmgr
2013-03-13 00:31:27 +00:00
Bryan Drewery
189cb180bd - Fix CONFLICTS handling after r313713 caused pkg-query
output to not properly be piped. This was due to || :
  causing its output to be piped to the while loop
  instead of the pkg-query output.

With hat:	portmgr
Reviewed by:	bapt
2013-03-12 22:15:57 +00:00
Niclas Zeising
8ed49557f8 Add a new xorg module, to use with USE_XORG: xorg-macros. This module
pulls in devel/xorg-macros.
Convert all ports that depends on xorg-macros to use this USE_XORG.
Split up the long XORG_MODULES= list in bsd.xorg.mk to have only one module
on each line.
Add xorg-macros dependency to xorg-server.

Reviewed by:	kwm, bapt
Obtained from:	xorg development repo (partly)
2013-03-11 19:14:28 +00:00
Andrej Zverev
57bea98035 - Change namespace for USES files
- Add missing colon

Approved by:	bapt@ (portmgr@)
2013-03-11 06:43:13 +00:00
Bryan Drewery
7ce3c96d60 - Fix bsd.pbi.mk being processed twice when including both
bsd.port.pre.mk and bsd.port.mk. This was causing duplicate
  target warnings.

PR:		ports/176825
Reported by:	crees@
Approved by:	portmgr (miwi)
2013-03-11 00:51:39 +00:00
Chris Rees
fce8a69c7d Do not escape quotes or apostrophes; this shows up in make config
Submitted by:	bapt
2013-03-09 22:04:08 +00:00
Baptiste Daroussin
7d20ef9811 Get rid of XAWVER option in bsd.port.mk it does not need to be specified there also remove a useless global XAWVER PLIST_SUB 2013-03-09 21:43:02 +00:00
Baptiste Daroussin
f4285add25 Remove some dead variables 2013-03-09 21:23:54 +00:00
Chris Rees
f51e5801a7 Add NFS comment.
While here, escape single quote to stop confusing vim's syntax highlighting.
2013-03-09 18:37:51 +00:00
Sunpoet Po-Chuan Hsieh
6cfb605b6b - Update USE_PYTHON example
- Add cosmetic tab
2013-03-09 15:58:45 +00:00
Bryan Drewery
654506e304 - pkg-query(8) in pkg-1.1.x returns non-zero exit status when
no matching packages are found. Fix cases that
  expect to potentially find no matches.

PR:		ports/176783
Approved by:	portmgr (bapt)
2013-03-09 14:14:40 +00:00
Baptiste Daroussin
89c42942a5 Add tab for cosmetic 2013-03-08 22:17:53 +00:00
Baptiste Daroussin
051cbebcc8 - Add a short usage description inside each Uses/*.mk
- Simplify logic for Uses/bison.mk and make error message more informative
- Add error handler for Uses/fuse.mk and Uses/pathfix.mk

Submitted by:	ak@, az@
2013-03-08 15:04:18 +00:00
Baptiste Daroussin
7372ce16d9 Remove old USE_BISON related code from bsd.port.mk 2013-03-08 11:34:33 +00:00
Baptiste Daroussin
9250d94365 Convert USE_BISON to USES= bison
It brings bison as a build dependency in case it is set the following way:
USES= bison or USES= bison:build

it brings bison as a run dependency in case it is set the following way:
USES= bison:run

it brings bison both as a run and build dependency in case it the set the following way:
USES= bison:both

While here trim some headers
Convert some USE_GNOME= gnomehack to USES= pathfix
2013-03-08 11:32:11 +00:00
Koop Mast
7887c684ad * Update the glib to 2.34.3 and gtk20 to 2.24.17 and gtk30 to 3.6.4 which
are the latest stable releases.
* Update vala to the newest stable release 0.18.1, also update a few ports
  in the gtk/gnome stack.
* The c++ bindings ports for glib, atk, gconf, etc, have now USE_GNOME toggles.
* Remove pkg-config run depends from glib20 and freetype2. This doesn't
  eliminate pkg-config run dependency completely, a second phase is needed
  and is planned.
* Support for .:run. and .:build. for USE_GNOME components was added.
  Currently only libxml2 and libxslt support this mechanism.
* Updates of the telepathy stack and empathy.
* Trim makefile headers, convert ports to new options, trim off library
  versions for some ports.
* Fix other ports so they build with the new glib version.

Thanks to miwi and crees for helping out with some exp-runs.
Approved by:	portmgr (miwi & bapt)
Obtained from:	gnome team repo
2013-03-08 10:51:34 +00:00
Martin Wilke
0f92912af4 - Add new knob USE_LHA [1]
- Convert few ports to USE_LHA [1]
- Revert r303619 since CONFIGURE_ENV already sets CPPFLAGS and LDFLAGS by default. [2]

PR:		176187 [1]
		174790 [2]
Submitted by:	Christoph Mallon <christoph.mallon@gmx.de> [1]
		Gerald Pfeifer <gerald@pfeifer.com> [2]
2013-03-07 17:08:13 +00:00
Alex Dupre
bf1934e1bc Add support to register Zend extensions.
Submitted by:	delphij
2013-03-07 09:20:22 +00:00
Baptiste Daroussin
da12e6723d Convert USE_FUSE macros into USES feature.
While here trim headers
Convert some USE_GNOME= gnomehack -> USES= pathfix
2013-03-06 16:52:02 +00:00
Baptiste Daroussin
c96dbe0041 Add a newline to improve readability 2013-03-06 15:12:29 +00:00
Baptiste Daroussin
05b55e937f New USES macros that loads "features" on demand.
First feature implemented: pathfix which will lookup in WRKSRC for Makefile.in
and configure and fix common path that doesn't fit with FreeBSD hier(7)

This is an extract of bsd.gnome.mk's gnomehack to avoid porters to have to load
the full bsd.gnome.mk just for this feature

More features to come...
2013-03-06 14:28:57 +00:00
Baptiste Daroussin
f05b0c8f66 Do not append options to pkg-plist when using pkgng given that this is already
appended to +MANIFEST in bsd.pkgng.mk

Submitted by:	bdrewery
2013-03-06 07:04:45 +00:00
Ruslan Makhmatkhanov
b06fadc69e - replace deprecated devel/py-setuptools with devel/py-distribute
- change explicit dependency for the ports, that don't utilize USE_DISTUTILS feature
- add UPDATING entry

PR:		176142
Submitted by:	rm (myself)
Approved by:	portmgr (miwi)
Tested by:  	exp-run by miwi
2013-03-05 07:12:24 +00:00
Martin Wilke
20490dc7a0 - Drop obsoleted USE_QT_VER=4 [1]
- Add auditdistd user to the blacklist [2]

PR:		171797 [1]
		176276 [2]
Submitted by:	makc@ [1]
		"John W. O'Brien" <john@saltant.com> [2]
2013-03-03 06:53:34 +00:00
Gerald Pfeifer
50ca7c0fc2 Do not just rely on the version number of FreeBSD in deciding whether
a certain version of GCC is in the base, but also check the existence
of /usr/bin/gcc.

This unbreaks systems where GCC is not built as part of the world, and
instead relies on versions of GCC in the Ports Collection there.

PR:		175252
Submitted by:	Yamaya Takashi <yamayan@kbh.biglobe.ne.jp>
2013-03-03 03:21:29 +00:00
Olli Hauer
b2c3ea48d8 - fix semantic in the install target (swap -a -A)
with head apache@
2013-03-02 20:49:03 +00:00
Olli Hauer
8a4e4e6266 - allow to install apache modules activated by defining
AP_MODENABLE in make.conf

  Requested on the mailing lists

- fix patch location in help text

with head apache@
2013-03-02 19:46:37 +00:00
Martin Wilke
595d85a517 - Take over maintainership 2013-03-02 09:27:34 +00:00