Commit Graph

3923 Commits

Author SHA1 Message Date
Bryan Drewery
c08e691cbf - Fix 'USE_DOS2UNIX= file list' not printing file names since r183768
PR:		ports/180005
Submitted by:	glewis
With hat:	portmgr
2013-10-09 11:30:42 +00:00
Max Brazhnikov
d2562e58b7 Pass CONFIGURE_ENV to qmake 2013-10-09 09:40:41 +00:00
Baptiste Daroussin
5c2deef55c Add a new argument openmp to make sure that only gcc is used (for now) is the port requires openmp
Requested by:	brooks
2013-10-09 05:52:45 +00:00
Baptiste Daroussin
60a5c6d442 Really really commit the right version
Pointyhat to:	bapt
2013-10-09 05:45:00 +00:00
Bryan Drewery
53718280e8 Revert r329829 to restore compiler.mk 2013-10-09 00:46:21 +00:00
Baptiste Daroussin
e641a63303 Actually commit the right version 2013-10-08 19:41:09 +00:00
Baptiste Daroussin
91bfd4296d New USES=compiler
Supported arguments are:
  - c++11-lang: the port needs a c++11 aware compiler what ever standard
  library it uses, implies features
  - c++11-lib: the port needs a c++11 standard library, implies features
  - c11: the ports needs a c11 aware compiler implies features
  - features: this will create a COMPILER_FEATURES variable which contains
  the list of features ${CC} do support, implies env.
  - env: the COMPILER_TYPE will be set to either gcc or clang.

  By default the uses will try to use clang33 from ports when nothing in
  base is relevant except if the user explicitly defines
  FAVORITE_COMPILER=gcc in his make.conf

Please note that testing tinderbox prior to version: 4.0.1_1 is not able to
properly figure out the dependencies implied by this USES.
2013-10-08 18:55:37 +00:00
Max Brazhnikov
364f20a0c0 - Add new USES= qmake (with staging support)
Approved by:	portmgr (bapt)
2013-10-08 16:02:21 +00:00
Max Brazhnikov
055c63eb7a Allow stage support for 'USE_KDE4= sharedmime' ports 2013-10-08 09:28:52 +00:00
Rene Ladan
323af56be8 Remove devel/linux-f10-libglade and textproc/linux-f10-libxml, both
have newer versions in the ports tree and both are unused.

OK from:	emulation@
2013-10-07 14:20:25 +00:00
Bryan Drewery
1ac0719a3b - Fix not being able to use :DEFAULT group in MASTER_SITES and PATCH_SITES.
This is useful to be able to define extra mirrors in PATCH_SITES for
  a group, while still depending on the master list of PATCH_SITES

  For example:

    .if ${PORT_OPTIONS:MX509}
    PATCH_SITES=	http://mirror1/x509-${X509_VERSION}/:x509
    PATCHFILES=		${PORTNAME}-6.3p1+x509-${X509_VERSION}.diff.gz:-p1:x509
    .endif
    PATCH_SITES+=	http://mirror2/${PORTNAME}/:DEFAULT,x509

  This will use mirror1 only for the X509 option and mirror2 for X509. All
  other patches will use mirror2 but not mirror1.

With hat:	portmgr
PR:		ports/52706
Submitted by:	Alexey Neyman <alex.neyman@auriga.ru>
2013-10-07 10:37:08 +00:00
David Chisnall
3dfc855816 Make GNUstep installs respect MAKE_ARGS, required for staging support.
Approved by:	bapt (mentor)
2013-10-07 10:32:02 +00:00
Antoine Brodin
d89de633a5 Rework linux rpm plist generation/installation
Convert linux-f10-libasyncns to STAGEDIR (only user of AUTOMATIC_PLIST)

Approved by:	portmgr (bapt)
2013-10-06 09:08:22 +00:00
Bryan Drewery
07933b2444 - PATCHFILES now support an optional :-pX flag that notes which patch strip
level to use. This allows multiple patches in 1 port to use different
  PATCH_DIST_STRIP values without changing PATCH_DIST_STRIP.

  Syntax: PATCHFILES= patch[:-pX][:distgroup]

PR:		ports/168222
Submitted by:	knu
With hat:	portmgr
2013-10-05 10:20:15 +00:00
Baptiste Daroussin
f33e812bab MTREE_FILE is not yet defined bsd.stage.mk is parsed let the shell script test it. 2013-10-04 16:43:13 +00:00
Baptiste Daroussin
11050b9333 Fix linux rpm plist generation 2013-10-04 15:47:38 +00:00
Baptiste Daroussin
772ef04904 Fix directory staging 2013-10-04 15:38:17 +00:00
Baptiste Daroussin
658fd28e6f Fix makeplist with no MTREE_FILE 2013-10-04 15:33:10 +00:00
Baptiste Daroussin
d1d0613d96 Fix check-orphans with no MTREE_FILE 2013-10-04 15:31:35 +00:00
Koop Mast
ac2ffd1831 Add deprecation warning for USE_GNOME=desktopfileutils.
Approved by:	portmgr (bapt@)
2013-10-04 14:35:20 +00:00
Bryan Drewery
324a8df42a - Fix OPTIONS_SUB not including OPTIONS_SLAVE options in PLIST_SUB
With hat:	portmgr
2013-10-04 11:42:38 +00:00
Bryan Drewery
ff427f8d85 - Add option helper opt_USE= FOO=bar -> USE_FOO=bar
Discussed with:	bapt
With hat:	portmgr
2013-10-04 11:38:13 +00:00
Sunpoet Po-Chuan Hsieh
5349651bad - Add more helpers: ALL_TARGET, INSTALL_TARGET and CATEGORIES
- Remove duplicate EXTRA_PATCHES comment
- Minor comment rewording: change "add it to" to "add its content to"
  just like how we describe ${opt}_CMAKE_*

PR:		ports/182626
Submitted by:	sunpoet (myself)
Approved by:	bapt (portmgr)
2013-10-04 10:03:23 +00:00
Bryan Drewery
8d4817e69d - Add support for PATCHFILES and PATCH_SITES
- While here, cleanup r329186 and move EXTRA_PATCHES to common
  section

With hat:	portmgr
2013-10-04 01:52:30 +00:00
Baptiste Daroussin
a938bac9ff Allow to mark a port as broken on some given arches without having to add pre/post dancing 2013-10-03 17:21:20 +00:00
Florian Smeets
4e23b4863e - update to 1.0.27.2 [1]
-- add PYTHON option to alsa-lib
 -- drop unresponsive mirrors and those that rarely catch up
 -- drop --disable-aload from alsa-lib, builds fine without
 -- drop USE_LDCONFIG from alsa-plugins, useless for dlopen'd plugins
 -- convert to new LIB_DEPENDS syntax and Makefile header
 -- convert PLIST_SUB to OPTIONS_SUB
 -- don't link alsa-utils against librt for clock_gettime(2)
 -- pass paths to configure relative to --prefix value
 -- install udev config(s) under PREFIX (for reference)
 -- cleanup /var/lib as it's not in default MTREE_FILE
 -- remove OSVERSION check for EOL releases
- allow staging

PR:		ports/182245 [1]
Submitted by:	Jan Beich <jbeich@tormail.org> [1]
Approved by:	maintainer timeout
2013-10-03 16:34:28 +00:00
Bryan Drewery
ac5b4b49ea - Support {opt}_EXTRA_PATCHES
Reviewed by:	bapt
With hat:	portmgr
2013-10-03 13:32:36 +00:00
Marcus von Appen
f106670c04 The default versions of lang/python* have been changed to support the
new DEFAULT_VERSIONS variable.

PYTHON_DEFAULT_VERSION, PYTHON2_DEFAULT_VERSION and
PYTHON3_DEFAULT_VERSION are deprecated. If you have set them in your
make.conf, you should change them something like

DEFAULT_VERSIONS=python=2.7 python2=2.7 python3=3.3
2013-10-03 09:25:37 +00:00
Baptiste Daroussin
6bfdb3d229 Sometimes scons do expect DESTDIR being in lowercase 2013-10-03 06:41:54 +00:00
Baptiste Daroussin
d7f9cdb38e Introduce the new "scons" USES. The goal is to replace the old bsd.scons.mk
Instead of redifining the building target, let's just reuse the existing ones.
Bonus, MAKE_JOBS is now respected
2013-10-03 06:25:13 +00:00
Bryan Drewery
23082b3b3c - Fix 'package' with staging+pkg_install when ports are read-only by creating
the package in STAGEDIR and then linking/copying it over to PACKAGES if
  possible

With hat:	portmgr
Reviewed by:	bapt (earlier version)
Tested by:	Stefan Bethke <stb@lassitu.de>
Reported by:	many
2013-10-02 23:49:21 +00:00
Baptiste Daroussin
034376c1d0 Allow staging linux rpms 2013-10-02 22:58:26 +00:00
Baptiste Daroussin
9fe10d0347 Allow scons port to support staging 2013-10-02 22:33:27 +00:00
Sunpoet Po-Chuan Hsieh
cd19cf50f2 - Add more OPTIONS helpers: MAKE_ARGS, PLIST_FILES, PLIST_DIRS and PLIST_DIRSTRY
- Fix typo

PR:		ports/182514
Submitted by:	sunpoet (myself)
Approved by:	bdrewery (portmgr)
2013-10-01 16:27:52 +00:00
Mathieu Arnold
10c47e92fb Fixup the MLINKS replacement code.
Approved by:	bapt
2013-10-01 14:11:47 +00:00
Bryan Drewery
ee07cfd901 - Fix staging not checking if a port is already installed when installing
it

With hat:	portmgr
2013-10-01 12:30:53 +00:00
Bryan Drewery
f09d566011 - pkg_install+staging: Fix installing package as non-root to call su.
install-package was depended on twice for install target, but it should
  only be in SUSEQ
- Add a comment to make sequence code a bit more readable

With hat:	portmgr
2013-10-01 12:05:09 +00:00
Marcus von Appen
e313d07ec3 Enable python meta-ports to be used as direct dependencies
via USE_PYTHON=2 (for lang/python2) or USE_PYTHON=3 (for lang/python3).
This can be used for ports, which do not care, which specific minor
release version of Python 2.x or Python 3.x is used, as long as there
are proper symlinks to e.g. bin/python2 or bin/python3.
2013-09-30 17:56:28 +00:00
Koop Mast
dd15126ccc Don't exec programs in post-install when STAGE mode is enabled.
Noticed by:	antoine (on #poudriere)
Reviewed by:	bapt@
2013-09-29 17:17:57 +00:00
Niclas Zeising
5a4c543c2b The FreeBSD graphics/x11 team proudly presents
a kwm, zeising production:

MESA 9.1.6

Starring:
Mesa 9.1.6, including libGL, libGLU and dri (new xorg only)
Addition of libEGL and libglesv2
KMS support for ATI graphics cards in 10-current (new xorg only)
Improved sparc64 support for new xorg. [1]
pixman 0.30.2, including shlib bump and portrevision bumps
libX11 1.6.2
Make absolute pointing devices work with x11-drivers/xf86-input-mouse
x11-drivers/xf86-video-ati 7.2.0 for 10-current (KMS aware ati driver)

Also starring:
Updates to drivers and other libraries and utilities

Additional notes:
When updating MESA related ports (libGL, dri) you need to remove old versions
first.  See UPDATING for details.

PR:		ports/181962 [2]
Submitted by:	marius [1]
		zeising [2]
Exp-run by:	bdrewery
Approved by:	portmgr (bdrewery)

Thanks to all who helped testing!
2013-09-29 17:01:41 +00:00
Grzegorz Blach
4ae045f484 - Convert to new LIB_DEPENDS syntax
Approved by:	crees (mentor)
2013-09-29 09:31:56 +00:00
Martin Matuska
03ad7ca744 Add native opcache extension for php55.
Build pecl-zendopcache only for php 5.4 and older.

PR:		ports/182112
Approved by:	ale (private e-mail)
2013-09-28 16:48:34 +00:00
Dmitry Marakasov
1ae61fce0e - Fix message displayed when the port being installed is already installed
Approved by:	portmgr (bdrewery via irc)
2013-09-27 19:10:59 +00:00
Marcus von Appen
7fa21a62f0 - Delete the whole directory hierarchy, not only directories containing
files, when using PYDISTUTILS_AUTOPLIST.

Spotted by:	wg@
2013-09-27 18:33:16 +00:00
Baptiste Daroussin
06168313aa Fix showing warnings about usage of MAN* and MLINKS in bsd.sanity.mk
Reported by:	matthew (at EuroBSDCon's devsummit)
2013-09-27 13:23:57 +00:00
Bryan Drewery
f2b717c401 - Don't needlessly depend on ccache with WITH_CCACHE_BUILD when NO_BUILD is set
With hat:	portmgr
2013-09-27 13:17:14 +00:00
Pietro Cerutti
3b9dcc5e6d - USES+=tcl and USES+=tk
Add support for specifying multiple versions in arguments, e.g.,
  USES+=tcl:84,85. The picked version is the highest available one.

  This basically brings in the last functionality that was left out in the
  switch from USE_TCL to USES+=tcl, namely TCL_INVALID_VER. To specify an
  invalid version, just list the valid ones.

Reviewed by:	bdrewery (portmgr)
2013-09-27 12:53:20 +00:00
Bryan Drewery
2e490c038b - Fix FORCE_PKG_REGISTER with pkg_install with staging
Submitted by:	garga
Reviewed by:	bapt
With hat:	portmgr
2013-09-27 11:38:48 +00:00
Kris Moore
eeefd7a196 - Fix bsd.pbi.mk to pull pbi-manager from the correct port 2013-09-27 10:10:29 +00:00
Sunpoet Po-Chuan Hsieh
a709c2b1fc - Fix typo [1]
- Reword warning message

PR:		ports/182429 [1]
Submitted by:	Tsurutani Naoki <turutani@scphys.kyoto-u.ac.jp>
2013-09-27 06:18:40 +00:00
Marcus von Appen
330a9beb82 - Introduce a new port Makefile knob PYDISTUTILS_AUTOPLIST.
This will cause the ports framework to create the plist automatically
  for distutils-based ports. All files installed via Python's distutils
  mechanisms (either the traditional distutils or easy_install) will be
  automtically added to the package list, regardless of the Python
  version. It is somewhat similar to the RUBYGEM_AUTOPLIST knob.

- Introduce a new port Makefile knob PYTHON_PY3K_PLIST_HACK.

  This automatically replaces .pyc and .pyo package list entries with
  the relevant __pycache__ entries for Python 3.x. It should only be
  used for ports, which do not use one of Python's default package
  installation mechanisms and which are guaranteed to work with any
  python version.
2013-09-26 18:27:02 +00:00
Sunpoet Po-Chuan Hsieh
5d3ab38411 - Minor cleanup for PERL5_MAN* and P5MAN*
- perl.mk changes MAN3PREFIX only therefore we keep *MAN3 setting
  - PERL5_MAN[124-9] point to non-existence directories

Submitted by:	sunpoet
Reviewed by:	az
2013-09-26 15:52:38 +00:00
Bryan Drewery
cb4acf2f58 - Similar to r328081, need to explicitly list the PREFIX that '@cwd' should
fallback to.

With hat:	portmgr
2013-09-25 13:29:12 +00:00
Christian Weisgerber
7bab335511 If ${opt}_CPPFLAGS is defined, its value will be appended to CPPFLAGS
depending on the status of option ${opt}.

Approved by:	bapt
2013-09-24 21:01:06 +00:00
Pietro Cerutti
300da08eee - Fix handling of minimum versions (e.g., USES+=tk:84+)
Approved by:	portmgr (bapt)
2013-09-24 15:14:30 +00:00
Baptiste Daroussin
2cf20aa209 Only make the pkg-plist start with @owner and @group if root is not needed 2013-09-24 13:40:09 +00:00
Baptiste Daroussin
f1a178ff3c Allow packaging as a user for stage ready ports
If you really root then you have to define NEED_ROOT in your port Makefile
2013-09-24 13:38:07 +00:00
Baptiste Daroussin
18f59d0843 Fix typo
Reported by:	ak
2013-09-24 13:23:15 +00:00
Baptiste Daroussin
f4d299ad64 Overwrite BINOWN/SHAREOWN/WWWOWN to allow all our INSTALL_* macros to properly work as a user 2013-09-24 12:47:31 +00:00
Baptiste Daroussin
d857548a65 Fix typo 2013-09-24 10:24:19 +00:00
Baptiste Daroussin
1ac2ad3700 In case the port is supporting staging, initialize the PLIST with
@owner root
@group wheel
to force all the content to in the end being installed with root owner even if packaged with
a non root credential
2013-09-24 10:07:59 +00:00
Baptiste Daroussin
c2d1a328f9 Define UID earlier so that it can be used by USES 2013-09-24 10:04:22 +00:00
Baptiste Daroussin
898b5242b0 In preparation for package as user introduce a new uidfix, which will setup anything
need for a build system to allow staging as a user.
For now only setup for port using bsd.prog.mk is available
2013-09-24 10:00:08 +00:00
Bryan Drewery
d2ea5f25e2 - Be explicit about prefix with @cwd for USE_LDCONFIG
This fixes an issue with staging with pkg_install since it uses pkg_create
  -S which doesn't seem to work properly with "@cwd" resetting to -p
2013-09-24 01:31:44 +00:00
Baptiste Daroussin
971ccbbb8c New target make check-orphans to help discovering the files in staged not present in plist
Reviewed by:	bdrewery
2013-09-23 22:09:21 +00:00
Baptiste Daroussin
b9e24c0e2f Fix STAGEDIR support for ports using DESKTOP_ENTRIES
Reported by:	bsam
Tested by:	bsam
2013-09-23 21:21:05 +00:00
Sunpoet Po-Chuan Hsieh
2861467a4a - Remove trailing slash
Approved by:	bapt (via IRC)
2013-09-23 20:29:11 +00:00
Baptiste Daroussin
b7af6146d2 Introduce a new MANDIRS macros to make the compress-man determine where the makefiles should be found
Previous implementation was based on etc/man.d which doesn't exists in FreeBSD 8.
By default MANDIRS is ${MANPREFIX}/man. if a port adds USES=perl5 then the perl default locations is added

Reviewed by:	bdrewery
2013-09-23 20:07:18 +00:00
Baptiste Daroussin
2f20d741ce Do not require root credential for make clean if the stage cookie is not present
Requested by:	sunpoet
2013-09-23 16:52:56 +00:00
Baptiste Daroussin
611a27dced Simplify notation of perl man page path in pkg-plist when staged
Submitted by:	az
2013-09-23 15:44:20 +00:00
Ruslan Makhmatkhanov
996bbe21d0 ZOPE option knob should be going to bsd.options.desc.mk, not KNOBS. Fixing. 2013-09-23 14:01:51 +00:00
Ruslan Makhmatkhanov
dc659a215b - add new USES target: zope, and convert the tree to it
- old USE_ZOPE knob support was removed from bsd.python.mk
- update CHANGES and bsd.sanity.mk accordingly
- add ZOPE options knob and use it in lang/py-mx-base

The work is done by Marcus von Appen, but any problems are mine.

Submitted by:	mva (python ML)
2013-09-23 13:42:48 +00:00
Bryan Drewery
f6eba986d7 - Fix PORTDOCS, PORTEXAMPLES and PORTDATA with staging.
The first file was being missed due to an extra STAGEDIR

Reported by:	antoine
Reviewed by:	bapt
With hat:	portmgr
2013-09-23 13:19:39 +00:00
Baptiste Daroussin
9ec295234d Use macro when possible
Reported by:	ak
2013-09-23 11:45:21 +00:00
Baptiste Daroussin
bbbbf8de29 Sort earlier to preserver the FS ordering
Reported by:	danfe
2013-09-23 10:23:35 +00:00
Baptiste Daroussin
aa6039164b Make the new compress-man respect LOCALBASE and PREFIX 2013-09-23 10:09:06 +00:00
Sunpoet Po-Chuan Hsieh
ab9fce97e4 - Add shared LIBLO and LIBOIL descriptions
PR:		ports/181887
2013-09-23 09:09:54 +00:00
Baptiste Daroussin
cf099c77fa Add support for staging area in the ports tree
The ports tree is now staged by default. With pkgng the sequence hasn't
changed, the main difference is that creating package is now independent
from installing it. With pkg_install, the package is now created first
and make install, do install the package.

New macros:
- STAGEDIR: PATH to the directory where the port will be staged.
- NO_STAGE: Keep the old behaviour of the ports tree (aka no staging area)

Unsupported macro if NO_STAGE is not set:
- MAN* with staging man page compression and handling of hardlinks and
symlinks is automatically done in the stage. the manpages becomes then a
"normal" plist files and should be tracked in pkg-plist.
- MANCOMPRESSED the compress-man target is able to only compress when it
needed.

New target:
- stage: this installs everything into the stage directory
- makeplist: this will create a pkg-plist and print it to stdout. This is
a sample plist and it should always be _reviewed_ not directly used.

NOTE: with staging only what is in the plist will be installed, nothing more,
meaning a port staged cannot have leftovers exect directories left. It is
really important to double check the pkg-plist to make sure all the files
the maintainer want to package are in! make makeplist can help in that area.

The goal is to handle as quickly as possible a full removal of the NO_STAGE
support.

More features can be added once the full ports tree is converted to using the
staging area

Conversion notes:
- Remove NO_STAGE
- in {pre,do,post}-install
  * Before any usage of ${PREFIX}, ${ETCDIR}, ${PORTSDIR}, ${PORTEXAMPLES}
    prepend ${STAGEDIR}
  * Remove any thing that is done by @exec or +INSTALL script it will be
    done automatically when syncing packages
  * Remove any code to show PKG-MESSAGE it will be done automatically when
    syncing packages
  * Directory creation should remain in post-install (in particular because
    pkgng doesn't work like pkg_install in that area and pkgng ignores the
    @exec mkdir but directly pack the directory even if empty)
- PORTDOCS/PORTEXAMPELS
  To support PORTDOCS, PORTEXAMPLES most of the time there is no more need
  for hacks. just add the right %%PORTDOCS%% or %%PORTEXAMPLES%% in your
  plist then the given files from the stagedir will or will not sync
  according to NOPORTDOCS and NOPORTEXAMPLES.

With hat:	portmgr
Reviewed by:	bdrewery
2013-09-23 05:56:35 +00:00
Baptiste Daroussin
785d744f1f Add a new PERL_MANDIR substitution pattern to PLIST_SUB to easier staging p5- ports
Approved by:	perl (az)
2013-09-23 05:34:18 +00:00
Bryan Drewery
c6dc82531e - Rename public name of SSP support to WITH_SSP_PORTS as /usr/src
has issues with 'installworld' when WITH_SSP is defined. [1]
  Keep WITH_SSP support for now since it has been announced as that
  already.
- Remove redundant wording in UPDATING [2]

Suggested by:	bapt [1]
Reported by:	blakkheim on EFNet
With hat:	portmgr
2013-09-22 00:26:05 +00:00
Sunpoet Po-Chuan Hsieh
8fe34b9fd6 - Add 2 settable variables
- WARNING_WAIT: seconds to wait after warnings (default: 10)
  - DEV_WARNING_WAIT: seconds to wait after developer warnings (default: 10)

Submitted by:	sunpoet (myself)
Approved by:	portmgr (bapt)
2013-09-21 14:14:23 +00:00
Sunpoet Po-Chuan Hsieh
e044f7f73c - Fix typo 2013-09-20 13:13:30 +00:00
Bryan Drewery
c93dfc2e9f SSP support has been added to ports with WITH_SSP for i386 and amd64
on FreeBSD 10, and amd64 on earlier versions.

SSP_UNSAFE is added to disable in a port if it fails to build, but
this should only be used in rare circumstances such as kernel modules.
Otherwise, the port may just be failing due to lack of respecting
LDFLAGS.

On FreeBSD 10, this uses an ldscript in /usr/lib/libc.so to pull in
libssp_nonshared.a to address issues linking on i386 [1].

On earlier FreeBSD versions the WITH_SSP knob will add -lssp_nonshared
to LDFLAGS on i386. This is not needed on amd64. However, several hundred
ports do not currently respect LDFLAGS, so this support is disabled currently
as it causes build failures if a dependency is looking for the stack_chk
symbols.

Many thanks to jlh@ for this as he had many years of patience in getting
all of the necessary pieces [1][2] in.

[1] http://svnweb.freebsd.org/base/head/lib/libc/libc.ldscript?revision=251668&view=markup

PR:		ports/138228 [2]
Submitted by:	jlh (bsd.ssp.mk based on)
Reviewed by:	bapt
With hat:	portmgr
exp-runs done:	37 over a month on 91i386,91amd64,10i386,10amd64
2013-09-20 12:54:54 +00:00
Alex Kozlov
b10d5a64b7 - Fix svn properties for Mk/bsd.ocaml.mk
PR:	ports/181613
Submitted by:	Konstantinos Koukopoulos <koukopoulos@gmail.com>
2013-09-20 12:16:14 +00:00
Pietro Cerutti
be6d645e4f - Fix on < 10 2013-09-19 15:22:39 +00:00
Pietro Cerutti
815711e2d4 - Correct typo
Spotted by:	thierry
2013-09-19 14:18:29 +00:00
Pietro Cerutti
4bf4f3cb3a - Correct another typo 2013-09-19 13:42:38 +00:00
Pietro Cerutti
3e93feb586 - Fix typo
Spotted by:	antoine
2013-09-19 13:38:01 +00:00
Pietro Cerutti
d5da927e16 - Revert file erroneously included in my previous commit
Reported by:	bapt
2013-09-19 09:58:00 +00:00
Pietro Cerutti
c8209f84b4 - Implement USES+=tcl and USES+=tk
- Use bsd.default-versions.mk to specify the default Tcl/Tk version (8.6)
- Add warnings about the now deprecated use of USE_TCL, USE_TK, ...

  Notes:

  * USES+=tcl and USES+=tk take the following optional arguments

    - either a version in the form of XY or XY+, or 'wrapper' to depend on
      lang/tcl-wrapper or x11-toolkits/tk-wrapper

    - either 'build' (bring in build depend) or 'run' (bring in run depend)

  * it is an error to specify both 'tcl' and 'tk' in USES.

  * The functionality currently implemented via INVALID_TCL_VER and
    INVALID_TK_VER is not yet available.

Approved by:	bapt (portmgr)
2013-09-19 09:49:52 +00:00
Baptiste Daroussin
16026f1d0d Do not recommand to drop ltverhack because it needs to be done with cautious,
to avoid users having to rebuild the whole dependency chain for "free".

Maintainer should drop ltverhak on major upgrades only.

Requested by:	kwm
2013-09-19 09:49:06 +00:00
Baptiste Daroussin
ddd7769c06 Fix typo
Submitted by:	tijl
2013-09-19 08:17:21 +00:00
Baptiste Daroussin
377fc0342d Introduce the one-true-way to handle multi version ports
This defines a new macros for end users!
DEFAULT_VERSIONS.
This macros is used to end-users to define what version they want to be
the default version for the whole ports tree (for ports allowing that)

Syntax is the following:
DEFAULT_VERSIONS=	perl5=5.18 ruby=2.0

Swith bsd.ruby.mk to use it[1], switch Uses/perl5.mk to use it[2]

If you are maintaining settable multi version port, please change it so
it uses DEFAULT_VERSIONS.

Reviewed by:	ruby (swills) [1], perl (az) [2]
Approved by:	ruby (swills) [1], perl (az) [2]
2013-09-19 08:16:43 +00:00
Baptiste Daroussin
cb471dbbdc Move the target for sanity checking to the end of bsd.port.mk so that
WARNING and DEV_* can be defined anywhere
While here, change sleep time from 5 to 10 so that users have time to read it [1]

Suggested by:	many [1]
2013-09-19 08:05:05 +00:00
Florian Smeets
ec4fcd4b2a - update firefox, thunderbird and libxul to 24.0
- update seamonkey to 2.21
- update firefox-esr to 17.0.9
- enable GSTREAMER by default for html5 with h264/aac/mp3
- WEBRTC is now always built
- add PROFILE and TESTS options

Security:		7dfed67b-20aa-11e3-b8d8-0025905a4771
In collaboration with:	Jan Beich <jbeich@tormail.org>
2013-09-18 22:40:57 +00:00
Baptiste Daroussin
d01b11f6fc Add comas, to improve grammar
Suggested by:	sunpoet
2013-09-18 22:13:34 +00:00
Baptiste Daroussin
ef09420b4c Remove cruft 2013-09-18 22:03:12 +00:00
Baptiste Daroussin
631c8f28d0 Do not issue warnings yet about WITHOUT_NLS and WITHOUT_X11 for the users has the switch has yes been fully performed
While here fix printing of warnings
2013-09-18 21:52:47 +00:00
Baptiste Daroussin
15cd7b3ca7 Comment LICENSE warning for now, license framework needs more love before advertising everyone to add one 2013-09-18 21:39:17 +00:00
Baptiste Daroussin
9a7ea90678 Print one message per line
Add a couple of new warnings
2013-09-18 21:30:53 +00:00
Baptiste Daroussin
38ec65ad7e Add a new bsd.sanity.mk.
This file is responsible to do some sanity checking on port, as well as doing some sanity checking on users configuration
New macro for developer: WARNING (this will issue a warning to the normal users can be used to warn the user about deprecating feature that will be unsupported soon.
New macro to put in your make.conf for Maintainers: DEVELOPER=yes this macro will activate warning on usage of deprecated features and errors on now unspported usage of macros.

Reviewed by:	bdrewery
2013-09-18 21:16:25 +00:00
Baptiste Daroussin
3911a83860 Remove the old perl framework, that also means all the perl code is not loaded inconditionnaly anymore
Huge thanks for az@ for his hard work on the subject!

PR:		ports/172608
Submitted by:	az
2013-09-18 08:44:21 +00:00
Baptiste Daroussin
393f455f59 Convert to new perl framework 2013-09-17 09:31:16 +00:00
Baptiste Daroussin
75d35af0e2 Sqlite 3.4 is not in the ports tree anymore 2013-09-16 15:19:15 +00:00
John Marino
74db0bce11 Mk/Uses/readline.mk: Restore functionality for DragonFly
For minimal breakage reasons, DragonFly has OSVERSION set to the
equivalent of FreeBSD 99.  When the readline compatibility for FreeBSD
10 was revoked recently, it broke a lot of dports.

Restore the default to how it was before on DragonFly only to restore
those ports using OPSYS.

Approved by:	portmgr (bapt)
2013-09-15 22:15:58 +00:00
Marcus von Appen
1e35ab7368 - Introduce PYTHON2_DEFAULT_VERSION, the version of the default python2
binary in $PATH. It can be set in case the user wants to use a
  specific python2 version as a default. Its behaviour is similar
  to the existing PYTHON3_DEFAULT_VERSION and fixes a small issue with
  package builds for different python versions.
- Outline that PYTHON_DEFAULT_VERSION always takes precedence for a
  specific python major version.
- Update lang/python2 to use PYTHON2_DEFAULT_VERSION and bump the
  PORTREVISION to let the installed port catch up with the change.
- Allow PYTHON3_DEFAULT_VERSION to overriden by a user choice, if
  PYTHON_DEFAULT_VERSION is not set to a python3 port.

Reported by:	David Demelier <demelier.david@gmail.com>
Reviewed by:	koobs@, sbz@
With hat on:	python@
2013-09-15 12:52:28 +00:00
Baptiste Daroussin
c79883b220 readline won't be removed in time for 10.0, let 10.0 use readline from base.
PR:		ports/172079
Submitted by:	Jan Beich <jbeich@tormail.org>
2013-09-14 10:59:34 +00:00
Sunpoet Po-Chuan Hsieh
a8268f9d24 - Add shared COOKIE description 2013-09-13 14:31:11 +00:00
Baptiste Daroussin
c3f673a223 Introduce a new USE_CXXSTD similar to USE_CSTD to allow enforcing the C++ language standard to use when building a port 2013-09-09 10:37:03 +00:00
Maxim Sobolev
355a219c79 Don't rely on `file -L' to follow symlinks and find type of the file
they point to. It only works if symlink points to the file directly and
fails if there are more than one level of symlinks. Use realpath(1) to
drill out the actual path to the shared lib and feed it to file(1)
then.

This fixes issue with cerain LIB_DEPENDS, such as databases/db42.

Approved by:	portmgr (bapt)
2013-09-08 19:28:29 +00:00
Boris Samorodov
7046a55fd8 Introduce variable ICONV_PREFIX at Mk/Uses/iconv.mk. The default for
pre 100043 is ${LOCALBASE} and /usr otherwise. Convert all ports to
new variable usage.

Approved by:	portmgr (bapt, implicit)
2013-09-07 19:49:41 +00:00
Sunpoet Po-Chuan Hsieh
90f9630c5f - Update comment of PYTHON_DISTFILE 2013-09-07 17:21:58 +00:00
Ryan Steinmetz
1d27b229eb - Add shared MONGO description 2013-09-07 12:08:39 +00:00
Koop Mast
60dbc060c3 Repo copy libgda4 ports to libgda5 and libgdamm to libgdamm5.
Update libgda5 to 5.0.3 and libgdamm5 to 4.99.6.
Libgda 5 is the new version of libgda data abstraction library.

Obtained from:	gnome dev repo.
2013-09-06 11:43:34 +00:00
Boris Samorodov
54e44467d7 . introduce ICONV_CONFIGURE_BASE variable at Mk/Uses/iconv.mk. It's value is
"--with-libiconv=${LOCALBASE}" at systems pre OSVERSION 100043 and "" (null)
  otherwise;
. convert all ports which has CONFIGURE_ARGS=--with-libiconv=${LOCALBASE}.

Approved by:	portmgr (bapt, implicit)
2013-09-05 20:18:30 +00:00
Guido Falsi
642be1b81d - Make ports use the libc provided iconv implementation on 10-CURRENT
after r254273
- Fix a bunch of ports to properly work after this
- Mark converters/libiconv as IGNORE for systems with iconv in libc

Reviewed by:	bapt
Approved by:	portmgr (bapt)
Discussed with:	bapt, bsam (who both contributed ideas and code)
2013-09-04 18:06:07 +00:00
Andrej Zverev
28a6974148 - Fix things after recent modbuildtiny commit
Reviewed by:	bapt@
Kudos to: 	bapt@
2013-09-04 16:54:39 +00:00
Mathieu Arnold
687a70b642 * Add devel/p5-Module-Build-Tiny support to USE_PERL5 with modbuildtiny.
* Add doc for the configure, modbuild and modbuildtiny options.

Reviewed by:	az, bapt
Approved by:	az, bapt
2013-09-04 13:11:02 +00:00
Bryan Drewery
ef5f6a9353 - Followup to r325807, with USE_PACKAGE_DEPENDS_ONLY, still allow
ports framework to use the port for *_DEPENDS= ${NONEXISTENT}:PORT:target
  dependencies

  An example port is irc/gseen.mod, it depends on another port being
  extracted, not an installed pkg.

PR:		ports/180725
Reported by:	antoine
With hat:	portmgr
2013-09-03 12:50:47 +00:00
Bryan Drewery
858fc84d23 - Fix regression from r325805 and allow 'make fetch' to work
without distinfo

Reported by:	sunpoet
With hat:	portmgr
2013-09-03 01:13:10 +00:00
Baptiste Daroussin
6d09bec193 Do not overwrite USES 2013-09-02 21:57:08 +00:00
Tijl Coosemans
f86cad0ce3 Two imake related changes:
1) Move -a from XMKMF command variable to a new XMKMF_ARGS variable.
   For ports that don't need -a introduce USES=imake:notall.
   This way ports no longer have to redefine XMKMF.

2) xmkmf -a runs imake with the flags in IMAKECPPFLAGS as extra arguments
   to set CPP, CC and CXX.  This creates the top Makefile, and then xmkmf
   runs make Makefiles.  This Makefiles target runs imake for each
   subdirectory but these imake invocations did not have the flags from
   IMAKECPPFLAGS so the resulting makefiles used the wrong C preprocessor
   when clang is used (/usr/bin/cpp instead of /usr/local/bin/tradcpp).
   Instead of letting xmkmf pass IMAKECPPFLAGS from the environment to
   imake let imake handle IMAKECPPFLAGS itself just like it handles
   IMAKEINCLUDE.

   This exposed configure errors in x11-clocks/mouseclock and x11-wm/fvwm.

Approved by:	portmgr (bapt)
2013-09-02 13:26:34 +00:00
Koop Mast
65ab33b439 Remove pkgconfig USE_GNOME component, it not used anymore [1].
Submitted by:	bapt@ [1]
2013-09-02 10:50:00 +00:00
Boris Samorodov
41aa63fa0b 1. Introduce using iconv with arguments:
. lib (default, implicit);
. build,
. patch.

The default is the same, all existing ports stay valid.

2. Introduce variable ICONV_CMD with default to ${LOCALBASE}/bin/iconv.
It is intended to get the value of /usr/bin/iconv at recent 10.x.

3. Adopt all ports to using USES+= icomv:build and iconv:patch and
change iconv (executable) at Makefile commands to ${ICONV_CMD} at those ports.

Submitted by:	bsam (me, via e-mail)
Approved by:	portmgr (bapt)
2013-09-02 05:41:50 +00:00
Sunpoet Po-Chuan Hsieh
e977c4e9a1 - Add shared GTA description 2013-09-01 15:55:25 +00:00
Bryan Drewery
86ed19b18b - Fix regression with 'makesum' from r325805 by respecting
DISABLE_SIZE

Reported by:	sahil, tobez, many
With hat:	portmgr
Pointyhat to:	bdrewery
2013-09-01 13:42:47 +00:00
Kubilay Kocak
ed30fabc4b Bring the Python PyPi MASTERSITES list back to the future - Part I
- Remove a. b. d. and g. mirrors that now redirect to pypi. [1][2][3]

[1] http://www.python.org/dev/peps/pep-0449/
[2] http://mail.python.org/pipermail/distutils-sig/2013-August/022126.html
[3] pypi.python.org is a CDN backed by Fastly

Reviewed by:	mva, kwm, Johannes Meixner (xmj)
2013-09-01 09:09:00 +00:00
Kubilay Kocak
3b2d5f40d0 Fix spelling mistake
Reported by:	danfe (with hat: aspell)
2013-09-01 01:18:05 +00:00
Bryan Drewery
954b650462 - Add USE_PACKAGE_DEPENDS_ONLY which will try installing dependencies
from existing packages and not fallback on building from source.

  This is useful for package building tools such as poudriere and tinderbox
  to avoid building from source and confusing the build log, if a dependency
  failed to build for some reason.

  NOTE: USE_PACKAGE_DEPENDS has not changed here. It has always
        reverted to source if the package was not present.

PR:		ports/180725
Submitted by:	crees
With hat:	portmgr
2013-08-31 13:56:08 +00:00
Bryan Drewery
1045299f41 - make fetch/checksum: If a fetched file does not match the expected size,
delete it and try the next site, if there is one to try.

  Normally fetch(1) will detect that the size is wrong, fail, and the 'fetch'
  target will move on to the next site:

  => Attempting to fetch http://www.chiark.greenend.org.uk/~sgtatham/agedu/agedu-r9723.tar.gz
  fetch: http://www.chiark.greenend.org.uk/~sgtatham/agedu/agedu-r9723.tar.gz: size mismatch: expected 155321, actual 163319
  => Attempting to fetch http://ftp.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/sunpoet/agedu-r9723.tar.gz
  agedu-r9723.tar.gz                            100% of  151 kB  259 kBps

  However, if the remote server does not properly advertise the size of the file,
  fetch(1) will still download the file, and succeed. The 'fetch' target then
  stops, assuming it has a proper file. This is returned to 'checksum', which fails,
  and then tries a refetch, but on the same broken site. In this example, the size
  is expected to be 214984, but a 4830 size is fetched and checksummed.

  => Attempting to fetch http://kornelix.squarespace.com/storage/downloads/picpuz-2.1.1.tar.gz
  fetch: http://kornelix.squarespace.com/storage/downloads/picpuz-2.1.1.tar.gz: size unknown
  fetch: http://kornelix.squarespace.com/storage/downloads/picpuz-2.1.1.tar.gz: size of remote file is not known
  picpuz-2.1.1.tar.gz                                   4830  B   48 kBps
  ===> Fetching all distfiles required by picpuz-2.1.1_5 for building
  => SHA256 Checksum mismatch for picpuz-2.1.1.tar.gz.

  Now the 'fetch' target will verify the size is proper before returning to
  'checksum':

  => Attempting to fetch http://kornelix.squarespace.com/storage/downloads/picpuz-2.1.1.tar.gz
  fetch: http://kornelix.squarespace.com/storage/downloads/picpuz-2.1.1.tar.gz: size unknown
  fetch: http://kornelix.squarespace.com/storage/downloads/picpuz-2.1.1.tar.gz: size of remote file is not known
  picpuz-2.1.1.tar.gz                                   4830  B  130 kBps
  => Fetched file size mismatch (expected 214984 actual 4830)
  => Trying next site
  => Attempting to fetch http://www.stasyan.com/devel/distfiles/picpuz-2.1.1.tar.gz
  picpuz-2.1.1.tar.gz                           100% of  209 kB   20 kBps 00m00s
  ===> Fetching all distfiles required by picpuz-2.1.1_5 for building
  => SHA256 Checksum OK for picpuz-2.1.1.tar.gz.

Reviewed by:	bapt
With hat:	portmgr
2013-08-31 13:22:01 +00:00
Kubilay Kocak
da52fd1cc7 Document the LIBTOOLIZE_ARGS variable
Approved by:	bdrewery (portmgr)
2013-08-31 12:02:46 +00:00
Andrej Zverev
01bd27fca3 Remove dead sites from MASTER_SITE_PERL
ftp://ftp.dti.ad.jp
ftp://mirror.hiwaay.net
2013-08-31 11:50:27 +00:00
Alexey Dokuchaev
e550e4f566 Update the list of SourceForge.JP official mirrors. 2013-08-31 11:26:11 +00:00
Bryan Drewery
f3a777ce3c - make checksum: When encountering a checksum mismatch, delete the file
before retrying.

  The previous behavior would try to download a range of the new bytes and
  then hit the 'Requested Range Not Satisfiable' error and never actually
  redownload the file.

  This fixes cases where a port is rerolled and distinfo updated, but
  users have a bad distfile sitting there that they would manually need
  to remove.

Reviewed by:	bapt
Reported by:	danfe
With hat:	portmgr
2013-08-31 01:16:24 +00:00
Bryan Drewery
1fffe1142c - Fix WITH_CCACHE_BUILD support on ports that have a *PATH var in their
MAKE_ENV. This only intended to ignore PATH.

  All of these were not supporting WITH_CCACHE_BUILD and a partial exp-run
  was done on:

  audio/fdmf biology/biojava devel/ace games/hex graphics/cimg
  graphics/inventor graphics/peps graphics/wings graphics/wings-devel
  lang/python26 lang/python27 lang/python31 lang/python32 lang/python33
  lang/siod math/py-basemap math/py-basemap-data multimedia/gpodder
  multimedia/gstreamer-ffmpeg multimedia/gstreamer1-libav
  multimedia/handbrake print/py-reportlab print/py-reportlab2 science/ncs
  science/netcdf4 security/nss textproc/adabrowse x11-toolkits/py-kivy

With hat:	portmgr
2013-08-30 11:41:31 +00:00
Bryan Drewery
ecf1a462d7 - Support overriding CONFIG_SITE 2013-08-29 16:46:54 +00:00
David Chisnall
b98344716c Fix a copy-and-paste error and a reversed condition in bsd.gnustep.mk
reported by:	avg
Reviewed by:	koobs (twice)
Approved by:	gjb
2013-08-29 13:03:20 +00:00
Ion-Mihai Tetcu
f0f4ee7565 Arts was removed:
audio/arts||2013-07-26|Has expired: Depends on Qt 3.x
So remove the last leftovers.

Approved by:	portmgr (itetcu)
2013-08-28 18:29:38 +00:00
David Chisnall
3bec8741ff Update to latest GNUstep core libraries.
Update dependent packages with more recent releases.
Remove old and bit-rotted ones.
Switch to using clang 3.3 and libobjc2 1.7 by default, so modern Objective-C features work out of the box and remove a lot of configurable options for sub-optimal (and, often, unsupported / deprecated upstream) configurations.
Take maintainership of GNUstep-related ports.

Several of the ports left in have scary warnings which mean that they are likely broken in lots of cases.  Future commits will fix them.

Approved by:	bapt
2013-08-28 18:26:01 +00:00
Kubilay Kocak
1abc2ebfe1 Remove gnupg.org.favoritelinks.net from GNUPG MASTER_SITE list (NXDOMAIN)
Reported by:	Colin M (@oletalk via twitter)
Reviewed by:	eadler
2013-08-26 18:35:31 +00:00
Raphael Kubo da Costa
c7f4daf154 Fix grammar in comment 2013-08-25 16:38:15 +00:00
Marcus von Appen
fecac8453d - Fix a documentation typo 2013-08-25 16:14:28 +00:00
Kubilay Kocak
6ff2ac9d88 Remove two PyPi mirrors, one outdated [1] the other outdated/offline [2]
[1] http://pypi.inqbus.de/ Last update: Sun Jan 16 22:08:36 2011 UTC
[2] http://pypi.it.uwosh.edu/ Offline (was 1+ year out of date)

Reviewed by:	mva
2013-08-25 12:21:15 +00:00
Marcus von Appen
c46a353b83 - document the PYTHON_VER variable for port Makefiles 2013-08-25 08:12:59 +00:00
Sunpoet Po-Chuan Hsieh
1d93d15fd6 - Add shared LIBXML2 description
- Adjust EXPAT and XERCES descriptions
2013-08-24 19:34:07 +00:00
Sunpoet Po-Chuan Hsieh
b31d1ef612 - Sync comment with default PERL_VERSION 2013-08-22 17:09:46 +00:00
Koop Mast
ea50e52183 Update to 1.0.9.
This is a bug fix release.
Changelog: http://lists.freedesktop.org/archives/gstreamer-devel/2013-August/042360.html

Enable neon http plugin
Switch to new LIB_DEPEND format, use USES=gmake instead of USE_GMAKE
Utilize new introspection USE_GNOME component.
Allow gstreamer1-libav to play mp3's, note that mad plugin is still
prefered if available.
2013-08-21 11:24:07 +00:00
Sofian Brabez
508939a778 - Update MASTER_SITE_VIM to insure official sites are chosen as first choice 2013-08-19 21:25:34 +00:00
Marcus von Appen
0d2b99cdf6 - Add lang/python as temporary RUN and BUILD dependency, if USE_PYTHON*
is set. This should avoid most of the problems, the lang/python change
  introduced.
2013-08-18 14:46:41 +00:00
Mathieu Arnold
3ffb70faa9 And actually allow people to continue using ports.
Submitted by:	az
2013-08-13 13:45:16 +00:00
Mathieu Arnold
5647074878 Introduce Perl 5.18.1
Changes:        http://search.cpan.org/dist/perl-5.18.0/pod/perldelta.pod
Changes:        http://search.cpan.org/dist/perl-5.18.1/pod/perldelta.pod
2013-08-13 13:04:55 +00:00
Emanuel Haupt
3656c49f22 Remove www.bluestop.org from MASTER_SITE_CRITICAL. Thank you bruce for the
service so far.
2013-08-09 09:39:24 +00:00
Florian Smeets
48f9528b90 - update firefox to 23.0
- update firefox-esr, thunderbird and libxul to 17.0.8
- update seamonkey to 2.20
- fix plist for *-i18n

Security:		0998e79d-0055-11e3-905b-0025905a4771
In collaboration with:	Jan Beich <jbeich@tormail.org>
2013-08-08 18:42:03 +00:00
Matthias Andree
116922e712 Fix BUILD_DEPENDS line for devel/subversion builds with STATIC option.
While here, complete _DB_PORTS list for 5 and 6,
and add a few descriptive comments.

Submitted by:	Tim Kientzle
2013-08-05 19:43:39 +00:00
Mathieu Arnold
ba2618cd9d Document the new bsd.options.mk knobs.
PR:		ports/180949
Submitted by:	mat
Approved by:	bapt
2013-08-01 12:32:52 +00:00
Baptiste Daroussin
b19d5a14b5 On HEAD fetch is now checking for https, which lead to lots of fetch failures
on invalid websites, given the ports tree already checks the distfiles against
a hash, it is safe to skip the certificate validation.

Submitted by:	Michael Gmelin <freebsd@grem.de>
2013-07-31 13:30:18 +00:00
Koop Mast
a5f590e51d The FreeBSD GNOME team presents a Glib and Gtk+ 3 update.
This update updates Glib20 to 2.36 and Gtk+ 3.8

* The gio-fam-backend port that used gamin for the GFileMonitor API is gone.
  It is replaced by a GIO kqueue implementation developed as part of a NetBSD
  GSoC 2011 project by Dimitry Matveev.
* Fix a bug in the glib20 Makefile so it includes -lintl in the glib-2.0
  pkgconfig file [1]. This broke static linking and newer binutils.
* Add introspection USE_GNOME component which sets GI_SCANNER_DISABLE_CACHE to
  prevent creation of /  root/.cache dir. Defaults to build & run depend,
  but :build and :run switches available.
* New x11-toolkits/pangox-compat port and companion USE_GNOME component for
  pangox support which was removed from the pango port. Add it to ports still
  using pangox API.

Exp-run by:	bapt@
PR:		ports/178958 [1]
Submitted by:	emaste@ [1]
2013-07-31 11:57:45 +00:00
Baptiste Daroussin
8c55b12f72 Do not force perl as a patch and extract dependency each time the old form of USE_PERL5 is used
Speed boost make index and package builder order calculation

Reviewed by:	az
2013-07-31 06:57:22 +00:00
Baptiste Daroussin
27b5677573 New USES= perl5
Deprecate and replaces bsd.perl.mk, it adds more consistency:
only USE_PERL5 is needed to define all expected behaviour.

USE_PERL5 accept the following arguments:
Version: like 5.14+
- configure (formerly PERL_CONFIGURE=yes)
- run (formerly USE_PERL5_RUN=yes)
- build (formerly USE_PERL5_BUILD=yes)
- patch (only use perl as a patch dependency)
- extract (only use perl as an extract dependency)
- modbuild (formerly PERL_MODBUILD)

It has the new
P5MAN{1,2,3,4,5,6,7,8} macros equivalent to MAN{1,....} but depending on the perl path.

Reviewed by:	az
Thanks to:	az
2013-07-31 06:29:25 +00:00
Baptiste Daroussin
07b24b6cf9 Define MAKE_CMD in post.mk to allow anything to overwrite it 2013-07-30 06:32:01 +00:00
Baptiste Daroussin
527d92de23 do-install also needs MAKE_CMD 2013-07-30 05:48:55 +00:00
Baptiste Daroussin
aa6a847926 Reduce code duplication by overwriting MAKE_CMD when it is different. 2013-07-30 05:33:25 +00:00
Baptiste Daroussin
b3a72c888c Define a new MAKE_CMD command 2013-07-30 05:32:11 +00:00
Baptiste Daroussin
576ac6ff17 Use new LIB_DEPENDS format 2013-07-29 20:51:23 +00:00
Baptiste Daroussin
73b0eb9791 Use new LIB_DEPENDS format
Reported by:	mandree
2013-07-29 20:50:14 +00:00
Matthias Andree
8d2632bc18 Update db*_DEPENDS to use new lib*.so:... LIB_DEPENDS format. [2]
This fixes detection of db6 as a requisite [1], the new format no
longer looks at ldconfig output, so the awkwardly-named libdb-N.M.so.0
symlinks are no longer required.

Suggested by:	bapt [2]
Reported by:	John Silva (direct email to mandree@) [1]
2013-07-29 20:28:32 +00:00
Baptiste Daroussin
e5e2c2aaa6 Remove excessive colon
Reported by:	mandree
2013-07-29 20:12:43 +00:00
Baptiste Daroussin
95b64b8a5a Fix formatting when finding shared library with new LIB_DEPENDS format
Reported by:	mandree
2013-07-29 20:09:21 +00:00
Baptiste Daroussin
6def68975b Add new ${OPT}_CONFIGURE_WITH option help
it will handle the --with/--without configure argument dancing based on the value of the OPTION ${OPT}

Requested by:	mandree
2013-07-29 07:01:20 +00:00
Rene Ladan
66fee90926 KDE3 and QT3 expired on 2013-07-01, remove these ports.
Unfortunately, this also affects some ports using QT3 as a GUI toolkit.

Changes to infrastructure files:
- bsd.kde.mk : obsolete, remove
- bsd.qt.mk : note that a CONFLICTS_BUILD line can probably go after a while
- CHANGES : document the removals from bsd.port.mk
- KNOBS : remove KDE and QT (KDE4 and QT4 should be used instead)
- MOVED : add the removed ports

PR:		ports/180745
Submitted by:	rene
Approved by:	portmgr (bapt)
Exp-run by:	bapt
2013-07-26 19:19:20 +00:00
Baptiste Daroussin
eec2cb8d74 Remove support for Qt3/kde in preparation for full Qt3/kde3 removal
PR:		ports/180745
Submitted by:	rene
2013-07-26 19:14:50 +00:00
Koop Mast
e03cd93ee2 Quiet update-desktop-database output, like when it complaining about invalid
MIME types in .desktop files. It all non-fatal, and ugly to boot.

PR:		ports/180843
Submitted by:	pawel@
2013-07-25 19:07:37 +00:00
Tijl Coosemans
a0ccbe7bed - Document the use of ${OPTIONS_NAME}_(UN)SET(_FORCE).
- Remove options in ${OPTIONS_NAME}_(UN)SET from NEW_OPTIONS list.
- Remove an intermediate sort.
- Add support for ${OPTIONS_NAME}_(UN)SET_FORCE.

Approved by:	bapt
2013-07-25 11:47:11 +00:00
John Marino
6487ca7742 Mk/bsd.sites.mk: Update ECLIPSE mirrors
PR:		ports/179433
Submitted by:	marino
Approved by:	bapt (mentor)
2013-07-21 21:51:06 +00:00
Olli Hauer
7a70c34b40 - change MASTER_SITE_APACHE
remove mirrors no longer in the official
  list and add some new mirrors

PR:		ports/180548
Submitted by:	Gavin McDonald <gavin@16degrees.com.au>
2013-07-20 17:46:09 +00:00
Baptiste Daroussin
dc9339863a Prevent MAKE_JOBS_NUMBER from being recursive
Reported by:	swills
2013-07-16 14:35:57 +00:00
Baptiste Daroussin
33f4366ba1 Activate multiple jobs by default [1]
Add a new macro to allow a port to limit itself the maximum numbers of jobs allowed [2]

Submitted by:		danfe (based on) [1]
			pgj (base on) [2]
Reviewed by:		bdrewery, miwi
Multiple exp-run:	bapt
2013-07-16 12:04:09 +00:00
Ade Lovett
b3b33257e5 - Update devel/automake to 1.14
- Update devel/gettext to 0.18.3
- Fix known-broken (from exp-runs) ports
- Clean up a lot of cruft in the devel/gettext port itself,
  based on work from tijl@

PR:		178883
Submitted by:	ade
Sponsored by:	Wadsworth 6X
2013-07-16 05:42:36 +00:00
Bryan Drewery
0b6bc11c36 - Switch USE_GITHUB from nodeload to codeload. nodeload is currently
a CNAME to codeload and has been communicated to me from github staff
  as being the same. Despite this, it is currently returning errors.

With hat:	portmgr
2013-07-15 15:30:26 +00:00
Rene Ladan
533b77616b Remove support for QT 3.3 now that we have QT 4.5
No objection from:	emulation@
2013-07-12 18:34:22 +00:00
Boris Samorodov
9cc378bd66 Add QT4 (Linux Fedora 10).
Requested by:	rene (at emulation@)
2013-07-12 18:16:13 +00:00
John Marino
5feebd9c74 Replace John Marino email address with FreeBSD version
While I'm here, also trim the headers on a couple of ports and remove
a reference to the Dragonlace mirror which is down indefinitely.

Approved by:	bapt (mentor)
2013-07-12 13:40:50 +00:00
Sunpoet Po-Chuan Hsieh
1321047edd - Add shared CYASSL, NSS and POLARSSL descriptions 2013-07-12 08:11:42 +00:00
Steve Wills
06ea1d1b82 - Update to 1.9.3-p448
- Remove patch for issue fixed upstream
2013-07-11 20:07:33 +00:00
Rene Ladan
fa1d284df8 Remove support for gnomevfs1
Reviewed by:	kwm
2013-07-10 09:28:01 +00:00
Baptiste Daroussin
e3b01a75e8 Remove USE_MOTIF as it is not used anymore 2013-07-10 07:41:13 +00:00
Baptiste Daroussin
8b330db9e1 Error message when not able to create the optiondir directory.
optiondir being defined in a subshell wasn't defined when the error message is printed.

PR:		ports/176849
Submitted by:	Oleg Ginzburg <olevole@olevole.ru>
2013-07-10 06:44:19 +00:00
Baptiste Daroussin
9b17397fe0 New USES=motif that will handle the open-motif dependency.
If a user want to enforce lesstif in place of open-motif then the usual
WANT_LESSTIF in make.conf will be respected
2013-07-09 21:05:14 +00:00
Baptiste Daroussin
7ab85fc309 Remove target name restriction on USES=display
To allow to activate display on any targets
2013-07-08 13:43:38 +00:00
Baptiste Daroussin
5dd54c7ca6 Move loading of USES post actions after the load of all the bsd.*.mk post actions.
This fixes bsd.php.mk complaining about do-install being already defined
2013-07-08 13:34:24 +00:00
Baptiste Daroussin
624578f4cd Remove all X_FONTS* macros, as they are not used anymore 2013-07-08 11:43:25 +00:00
Baptiste Daroussin
3fbabd14ea Remove X_FONTS_MISC_PORT and X_FONTS_ALIAS_PORT now that they are not used anymore 2013-07-07 13:00:00 +00:00
Baptiste Daroussin
edf7ecb356 Remove direct usage of X_FONTS_MISC_PORT and X_FONTS_ALIAS_PORT
While here fixed missing ${PORTSDIR} [1]

Reported by:	rm [1]
2013-07-07 12:56:07 +00:00
Baptiste Daroussin
c70b09a55f Remove X_VFBSERVER_PORT now that it is not used anymore 2013-07-07 12:24:32 +00:00
Baptiste Daroussin
13821d22f7 Remove X_FONTSERVER_PORT now that it is not used anymore 2013-07-07 12:10:29 +00:00
Baptiste Daroussin
71aec7fcbd Fix MAKE_FORCE_JOBS 2013-07-06 12:53:57 +00:00
Stephen Montgomery-Smith
a54423d5c8 - USE_GMAKE to USES=gmake. 2013-07-06 01:48:53 +00:00
Baptiste Daroussin
3ac6602ab1 Move PKGORIGIN definition a bit later so that PKGCATEGORY defined in Makefile.local or Makefile.inc works again
Reported by:	dinoex
Tested by:	dinoex
2013-07-05 20:15:48 +00:00
Baptiste Daroussin
e7965f1cae Add new LIB_DEPENDS syntax:
libname.so:${PORTSDIR}/devel/name
libname.so.0.1.2:${PORTSDIR}/devel/name

This syntax is support to replace the old syntax and code which has multiple weakness:
It was replying on ldconfig -r which arbritrary limited our valid library to name of the following form:
libname.so[.X] where X can be a number
foo.3 could match both libfoo.3.do and libfoo.so.3

Reviewed by:	bdrewery, danfe, miwi
2013-07-05 14:10:55 +00:00
Baptiste Daroussin
01d6c7d5de Import new gmake.mk and rip out USE_GMAKE from bsd.port.mk
A USE_GMAKE stub as be created to help migration please now use USES=gmake

Reviewed by:	bdrewery
Exp-run by:	bdrewery
2013-07-05 13:32:31 +00:00
Baptiste Daroussin
0fa3776fec Add a mechanism to allow USES to define code to be loaded after post.mk
Reviewed by:	bdrewery
Exp-run by:	bdrewery
2013-07-05 13:16:57 +00:00
Bryan Drewery
9584952370 - Fix pkg2ng due to UID/ID not being defined.
Pkg-1.1.4 will define UID=0 when sourcing bsd.pkgng.mk directly.
  This extra defined(UID) can eventually be removed, but is needed
  for backwards compatibility for now.

Reported by:	uqs
Reviewed by:	bapt
With hat:	portmgr
2013-07-05 12:29:35 +00:00
Raphael Kubo da Costa
554e0c79c9 Update the KDE Software Compilation to 4.10.5.
Proudly brought to you by the KDE on FreeBSD team. We're sorry to ship two
KDE updates in just a few days, but the work on 4.10.5 was very light
compared to 4.10.4 so it was ready much faster.

The release announcement can be found in [1].
[1] http://www.kde.org/announcements/announce-4.10.5.php

The biggest news for us on FreeBSD is that the Ruby bindings should work
with Ruby 1.9 now.

I will probably add a note to UPDATING later about this, but as avilla@
pointed out, the clang support we mentioned that was improved in 4.10.4
requires a rebuild of the ports that depend on kdelibs4. Most of them are
covered by this update, but those which are not part of the Software
Compilation need to be rebuilt manually to make sure the previous issues
(proper symbol visibility being the most annoying of them) are solved.
2013-07-04 23:34:32 +00:00
Grzegorz Blach
778eef2762 - Remove edb from valid evas loaders, since it's invalid for almost a year
Approved by:	tabthorpe (mentor)
2013-07-04 20:31:44 +00:00
Baptiste Daroussin
4c10c42149 Reverting r322247 it breaks too many imake:env users while only fixing a couple, better to fix the couple that needs it port by port 2013-07-03 19:23:20 +00:00
Baptiste Daroussin
2f18bb58d8 LATE_INSTALL_ARGS needs to be defined either in case of imake:env
Reported by:	dinoex
2013-07-03 18:54:59 +00:00
Baptiste Daroussin
7a5af7b75c Better attempt to comment r322214 and fix typos.
Base on suggestions and typo fixes by: pluknet@ and sunpoet@
2013-07-03 16:00:05 +00:00
Rene Ladan
f5cb941311 Switch the default Linux DRI port to linux-f10-dri and remove support
for the unused USE_GL=linux (this avoids hardcoding the Linux DRI port).

PR:		ports/180231
Submitted by:	myself
Approved by:	portmgr (bapt)
2013-07-03 15:32:01 +00:00
Baptiste Daroussin
44900b87e1 pkg2ng is calling directly bsd.pkgng.mk if present which will fail because of the lack of UID.
Define it if not already defined earlier

Submitted by:	Yar Tikhiy <yar.tikhiy@gmail.com>
2013-07-03 05:48:25 +00:00
Raphael Kubo da Costa
50c087f760 Update KDevelop & friends to 4.5.1 and KDevelop to 1.5.1.
Proudly presented by the KDE on FreeBSD team, with commits by makc@, rakuco@
and Schaich Alonso. Everything should build fine with both gcc and clang.
2013-07-02 19:20:28 +00:00
Raphael Kubo da Costa
18ff93d1a7 Update to KDE SC 4.10.4, proudly presented by the KDE on FreeBSD team.
With commits from avilla@, makc@, rakuco@ and Schaich Alonso.

The upstream announcement can be found in [1].
[1] http://www.kde.org/announcements/announce-4.10.4.php

clang support should be more stable now, with clang being recognized by
kdelibs4 and being passed the correct flags to build other ports.
Additionally, all ports being committed have been verified to build with
-CURRENT's clang 3.3 on an amd64 tinderbox (special thanks go to swills@ for
providing it).

Work on the newly-released 4.10.5 will begin shortly.
2013-07-02 19:04:18 +00:00
Chris Rees
3d119ba514 When python ports are installed that depend on the architecture/ABI of the
system currently installed (i.e. PYEASYINSTALL_ARCHDEP) the entire version
string of the system is used in the destination directory, for example;

python_ldap-2.4.12-py2.7-freebsd-10.0-CURRENT-amd64.egg

This plays havoc when STABLE, RELEASE and RELENG are used, not forgetting
patchlevels as well.  Now, only the major FreeBSD version number is included;

python_ldap-2.4.12-py2.7-freebsd-10-amd64.egg

Given that ABI should be stable at least over major releases, this now allows
packages to be created and installed correctly.

PR:		ports/133081
Submitted by:	Stef Walter <stef@memberwebs.com>
		(this patch used as a starting point)
Reviewed by:	No objections from python@
2013-06-29 11:43:01 +00:00
Baptiste Daroussin
33b428793b Readd the YACC command definition removed by mistake 2013-06-29 09:16:29 +00:00
Baptiste Daroussin
e1d25bc997 This time USE_IMAKE is totally gone 2013-06-29 09:01:57 +00:00
Baptiste Daroussin
3ca10d451f There are still some USE_IMAKE in the ports tree, add a stub to make them continue working until USE_IMAKE is totally goone 2013-06-28 18:11:52 +00:00
Baptiste Daroussin
932db7c46c New USES imake to handle the dependency on imake.
This uses accept 'env' as an argument for ports that do use their own or a different do-configure target.

Modify xmkmf so it accept IMAKECPPFLAGS as default flags for imake and pass it to the called imake.
Modify xorg-cf-files (the FreeBSD.cf configuration file) to allow CppCmd to be overwritten.
Pass CppCmd CcCmd and CplusplusCmd via command line to each call of imake via IMAKECPPFLAGS
Pass IMAKE_DEFINE with the above arguments to MAKE_ARGS so that imake spawned from Makefile generated by a previous
imake also inherit the defined CppCmd CcCmd and CplusplusCmd.
Make imake use devel/tradcpp all the time, so that when buidling with clang we do not depend on gcc's cpp.
Make imake respect CC and CXX
Make imake respect USE_GCC (if set imake will use gcc's cpp).

While here:
- Remove a couple of indefinite articles from comments
- Trim headers
- Fix a couple of ports to build with clang or use: USE_GCC=any
- Fix a now useless redefinition of the extraction chain
- Fix a typo in japanese/Wnn7-lib bundled imake template definitions
- Fix some XMKMF execution with no env specified
- Use options helper in x11/xautolock to simplify the port
2013-06-28 11:51:05 +00:00
Baptiste Daroussin
3e0fd1eb74 Fix stop-display target 2013-06-27 10:39:43 +00:00
Florian Smeets
d24ed7a7b6 - update firefox to 22.0
- update firefox-esr, thunderbird and libxul to 17.0.7
- update nspr to 4.10
- OSS support was removed upstream, only ALSA and PulseAudio are supported
  from now on.

Security:	b3fcb387-de4b-11e2-b1c6-0025905a4771
In collaboration with:	Jan Beich <jbeich@tormail.org>
2013-06-26 11:01:34 +00:00
Baptiste Daroussin
35982b23be Replace OPTIONSFILE by OPTIONS_FILE which is a more robust variable with unicity
insurance in its path to avoid collision.

A compatibility layer is available to automatically load and migration from
OPTIONSFILE to OPTIONS_FILE (this is all transparent for users.)

It is recommanded that ports that used to overwrite OPTIONSFILE to prevent the
known bugs should keep the OPTIONSFILE overwrite for a while (6 month) to allow
the migration to happen automatically and users to not lose their old save
options.

New options file is now based on the PKGORIGIN therefor the definition of the
PKGORIGIN has been moved ealier in bsd.port.mk to allow it's usage from withing
bsd.options.mk

PR:		ports/148637
Reviewed by:	bdrewery
2013-06-26 07:22:06 +00:00
Baptiste Daroussin
8804c05a83 Replicate r321735 fix to bsd.port.subdir.mk as it suffers the same bug 2013-06-25 12:34:12 +00:00
Baptiste Daroussin
4b653b49e1 Define UID earlier so that it can be used inside bsd.pkng.mk
Allow make deinstall to prompt for su if run as a user if using pkgng

Reported by:	jhb, dim
Submitted by:	jhb
2013-06-25 12:24:10 +00:00
Baptiste Daroussin
21413d18f5 Fix warning if compat.ia32.maxvmem sysctl does not exists and the ports tree is being used via bmake
Reported by:	demon
Tested by:	demon
Reviewed by:	bdrewery
2013-06-25 12:05:14 +00:00
Alex Dupre
7fe96c1093 Welcome PHP 5.5!
Future steps:
- rename current php5 ports to php54
- make php55 the default one after an exp-run
2013-06-24 14:32:11 +00:00
TAKATSU Tomonari
03bdec2090 - Fix the value of RUBY_PROVIDED to be able to compare with
RUBY_REQUIRE correctly
- Define RUBY_RELVERSION_CODE
- Add descriptions about RUBY_RELVERSION and RUBY_RELVERSION_CODE

PR:		ports/179830
Submitted by:	tota (myself)
2013-06-23 06:57:46 +00:00
Marcus von Appen
c5a4db7c11 Welcome SDL2 to the FreeBSD ports system!
A set of new SDL2 related ports has been added, which are essentially
the same as their corresponding port for SDL1.2:

    audio/sdl2_mixer
    graphics/sdl2_image
    graphics/sdl2_ttf
    net/sdl2_net

A set of new USE_SDL knobs is available to enable SDL2 and its related
ports to be added as dependency to ports. Use either of

  USE_SDL= sdl2 image2 mixer2 net2 ttf2

to pull in the specific sdl2_* or sdl20 port.
2013-06-21 19:56:27 +00:00
Matthias Andree
cdf45b5c80 Chase the permanent (301-code) redirects that kernel.org issues. 2013-06-21 17:53:33 +00:00
Raphael Kubo da Costa
785011bfec Update MASTER_SITE_QT.
download.qt-project.org is a CDN and should redirect to the closest mirror
anyway, but a few more mirrors have been added just in case.
2013-06-21 17:24:13 +00:00
Baptiste Daroussin
4698330b90 Add a new USES: fmake
This uses will allow to build ports using the legacy FreeBSD make, for ports
not compatible with bmake
2013-06-20 09:48:08 +00:00
Tijl Coosemans
b1f3435e7d Remove the last remnants of PKGINSTALLVER. It hasn't been used since
r231958 and the definition in bsd.port.subdir.mk generates a warning with
bmake, pkgng and no pkg_info.

Approved by:	erwin
2013-06-18 09:45:58 +00:00
Antoine Brodin
82b690f55a - Add gtk-query-immodules to _FORCE_POST_PATTERNS to run it post-deinstall
with pkg
- Consistently use full path when running gtk-query-immodules as the path
is embedded in output (we prefer reproducible output)

This fixes leftovers reported by poudriere
====>> Files or directories modified:
etc/gtk-2.0/gtk.immodules

PR:		ports/179230
Approved by:	portmgr (bapt)
2013-06-17 16:18:54 +00:00
Baptiste Daroussin
677c6f08e0 Update dialog4ports to 0.1.5
Changes:
- Don't free memory when process is exiting [1]
- Some style fixes [1]
- Consistently use C99 bool, true and false [1]
- Generalise parsing of env var into StringList [1]
- Rename ITEM_SEPARATE to ITEM_SEPARATOR [1]
- Highlight new options (by a '+' at the beginning of the line) [1]

Submitted by:	tijl [1]
2013-06-17 11:12:22 +00:00
Baptiste Daroussin
2eb34fa38e Remove trailing @ which breaks PATCH_DEBUG_TMP
Submitted by:	bf
2013-06-16 12:23:45 +00:00
Florian Smeets
87948edeea - Remove www/libxul19, is has been vulnerable and unsupported upstream for
quite some time.
- Switch all remaining consumers to depend on www/libxul
- Mark ports that don't work with the new libxul BROKEN
- Mark some old ports DEPRECATED with a reasonable timeout

Approved by:	portmgr (miwi)
2013-06-15 11:10:34 +00:00
Antoine Brodin
7389a2494c Add load-octave-pkg to _FORCE_POST_PATTERNS.
This fixes leftovers of octave-forge-* with pkg

PR:		ports/179559
Approved by:	portmgr (bapt)
2013-06-15 09:10:37 +00:00
Baptiste Daroussin
0e8027e93f Add a forgotten helper:
${OPT}_CMAKE_ON and ${OPT}_CMAKE_OFF
2013-06-14 14:18:45 +00:00
Baptiste Daroussin
67cfdf9034 New macros to help dealing with ports that have options:
OPTIONS_SUB=yes when set in a port, all the option names are automatically
added to the PLIST_SUB with "@comment " value in case the option is off and
empty value in case the options is on.

${OPT}_CONFIGURE_ENABLE=<aname> will automatically add:
CONFIGURE_ARGS+=--enable-<aname> in case OPT is activated
CONFIGURE_ARGS+=--disable-<aname> in case OPT is deactivated

${OPT}_CONFIGURE_ON=<something> will automatically add:
CONFIGURE_ARGS+=<something> in case OPT is activated

${OPT_CONFIGURE_OFF=<something> will automatically add:
CONFIGURE_ARGS+=<something> in case OPT is deactivated

${OPT}_CFLAGS will append the specified new flags to CFLAGS if OPT is 'on'
${OPT}_CXXFLAGS will append the specified new flags to CXXFLAGS if OPT is 'on'
${OPT}_LDFLAGS will append the specified new flags to LDFLAGS if OPT is 'on'

${OPT}_CONFIGURE_ENV will append the specified variables to CONFIGURE_ENV if
OPT is 'on'
${OPT}_MAKE_ENV will append the specified variables to MAKE_ENV if OPT is 'on'

${OPT}_USES will append the speficied uses to USES if OPT is 'on'

${OPT}_DISTFILES will append the specified distiles to DISTFILES if OPT in 'on'

Reviewed and tested by:	bdrewery
2013-06-14 13:41:37 +00:00
Tijl Coosemans
d9f524c45c - Reallign documentation for a tab width of 4.
- Document variables that can be used in make.conf.

Approved by:	bapt
2013-06-14 13:04:32 +00:00
Tijl Coosemans
d48e842cfa Sort PORT_OPTIONS only once and remove some undefines.
Approved by:	bapt
2013-06-14 13:00:48 +00:00
Tijl Coosemans
bdace5957e Let config-conditional take options configured in make.conf into account.
The option dialog will not appear if all options have been configured
before, either using the dialog or in make.conf.  This means you can set
options once for all ports in make.conf and not have dialogs pop up if
those are the only options.

Also let config-conditional run make config instead of do-config.  Make
config handles NO_DIALOG and pre-config.

Discussed with:	danfe
Approved by:	portmgr (bapt)
2013-06-14 12:59:02 +00:00
Baptiste Daroussin
e290dec1ca Add a USES display to replace USE_DISPLAY.
as USE_DISPLAY it will handle the dependencies needed for a display. But it will also start and stop the Xfvb process during the requested phase the display it needed.

it takes 'install' as an implicit argument, but may also accept 'build'
2013-06-14 12:47:19 +00:00
Baptiste Daroussin
632f0ed926 Yes more simplification in showconfig, pretty-print-config and pkgng manifest generation 2013-06-14 06:56:16 +00:00
Baptiste Daroussin
a36753e6ab No need to globally define X_NESTSERVER_PORT 2013-06-13 22:48:26 +00:00
Baptiste Daroussin
29aea2e3ae Previous attempt to fix the make patch with bmake (make it fail if a patch fails) was too intrusive.
Turn it back into a full script with set -e expliticly added.
2013-06-13 18:56:24 +00:00
Baptiste Daroussin
bd52432030 Fix patching
Reported by:	kwm
2013-06-13 12:41:03 +00:00
Baptiste Daroussin
c353152f66 Fails is a dependency checking failed with bmake 2013-06-13 11:19:10 +00:00
Baptiste Daroussin
d7c459b38b Fail in case a checksum fails with bmake 2013-06-13 09:32:39 +00:00
Baptiste Daroussin
c86f37ff4d Fix make patch not stopping in case a patch does not apply cleanly with bmake.
bmake does not run shell with set -e causing the difference between both fmake and bmake in the area.

While here clean up a bit the syntax.

Add support for xz'ed patches for EXTRA PATCHES

Discussed with:	sjg
2013-06-13 06:43:08 +00:00
Andrej Zverev
8c7d7ff2bd - lang/perl5.12 upgrade to 5.12.5
- lang/perl5.14 upgrade to 5.14.4
- lang/perl5.16 upgrade to 5.16.3
- Global modify SITE_PERL[1][2]

[1] - See more info:
http://docs.freebsd.org/cgi/getmsg.cgi?fetch=26605+0+archive/2013/freebsd-perl/20130609.freebsd-perl
[2] - Fix for mail/cyrus-imapd* - Approved by portmrg(bapt@)

Please, see ports/UPDATING for upgrade procedure.

Reviewed by:	bapt@ (exp-run), culot@
2013-06-12 13:00:55 +00:00
Raphael Kubo da Costa
c18e5e60d5 Switch to using FTP for the ftp.ntu.edu.tw kernel.org mirror.
The HTTP counterpart does not return correct HTTP error codes when, for
example, a file is not found, which causes checksum errors as described in
ports/179432. The FTP mirror seems to behave as expected.

Kudos to John Marino <draco@marino.st> for bringing this up.

PR:		ports/179432
2013-06-11 19:43:45 +00:00
Matthias Andree
55cd3804fa Add Oracle Berkeley DB 6.0.
Simplify installation over previous versions.

License change to Affero GNU General Public License v3 (AGPL v3).

Announcement:	https://oss.oracle.com/pipermail/bdb/2013-June/000056.html
ChangeLog:	http://download.oracle.com/otndocs/products/berkeleydb/html/changelog_6_0.html
2013-06-11 08:15:22 +00:00