1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00
Commit Graph

3742 Commits

Author SHA1 Message Date
Rene Ladan
38ea0176b6 Document "openmp" as a valid argument.
Approved by:	portmgr (bapt)
2013-10-17 09:50:51 +00:00
Bryan Drewery
6059af56b7 - Properly reference pkg(8) for conflcts instead of pkg_delete(1)
Reported by:	Julian H. Stacey, gjb
With hat:	portmgr
2013-10-16 00:38:38 +00:00
Baptiste Daroussin
14b6036bd6 Drop support for ruby-lua4 2013-10-15 12:38:25 +00:00
Alex Kozlov
702e463096 - Fix USE_LDCONFIG32 for stage ready ports
Reported by:	garga
Tested by:	garga
Approved by:	portmgr (bapt)
2013-10-15 07:48:06 +00:00
Olli Hauer
db533faaee - use new LIB_DEPENDS notation in subversion ports
- use new LIB_DEPENDS notation in Mk/Uses to fix static svn building [1]

Approved by:	portmgr (babt@) [1]
2013-10-14 19:42:48 +00:00
John Marino
aed7d5fbc5 Mk/Uses/compiler.mk: Ensure COMPILER_TYPE can only be clang or gcc
The compiler.mk comments and code state that COMPILER_TYPE can only be
of the value "clang" or "gcc".  However, the code that determines this
allows for a possible undefined third state (empty string).  BMake
will emit a lot of errors about badly formatted conditionals if
COMPILER_TYPE is empty.

Since, by definition, if the COMPILER_TYPE is not clang, it must be
gcc, so skip the conditional gcc check and just set it.  The entire
file must be updated if support for additional compilers is desired.

This bug was discovered because the gcc detection code failed to
identify the DragonFly base compiler (GCC 4.7.3) as gcc.

Approved by:	portmgr (bapt)
2013-10-14 16:46:20 +00:00
Raphael Kubo da Costa
ecda38b0a5 Update Qt to 4.8.5 and Qt Creator to 2.8.0.
Proudly brought to you by the KDE on FreeBSD team, with commits by makc@,
Schaich Alonso and yours truly.

Besides the tons of upstream fixes, we have mkspecs for GCC 4.9 and clang33
(from ports), staging support in the Makefiles and dependency fixes related
to pkg-config.

Many thanks to the people who helped test the ports using our area51
repository, and also to the people who provided patches and bug reports via
GNATS!

PR:		ports/180615
	        ports/181921
		ports/182049
2013-10-13 23:15:50 +00:00
Gerald Pfeifer
2a0337bd2e Add support for USE_GCC=4.9 and USE_GCC=4.9+.
Beware, this version of GCC is _not_ anywhere near ready for production
use.  Use at your own risk, and rather don't use it for regular ports.

Submitted by:	devzone.my@gmail.com
2013-10-13 21:23:35 +00:00
Ryan Steinmetz
9134544cca - Add shared defnition for redis description 2013-10-13 19:06:40 +00:00
Bryan Drewery
54e5c8a8ba - Fix spelling in comment
Submitted by:	des
With hat:	portmgr
2013-10-12 17:17:31 +00:00
Baptiste Daroussin
0e0cee5222 Always use a recent version of gcc in case a port needs openmp support
Submitted by:	gerald
2013-10-12 05:42:26 +00:00
Frederic Culot
4529b8b194 - Update comments to reflect the new "stage" target
Approved by:	portmgr (bapt)
2013-10-11 12:17:59 +00:00
Bryan Drewery
c1bb68f8b6 - Add Artistic License (perl) version 1.0
PR:		ports/182572
Submitted by:	bsam
Reviewed by:	tabthorpe
With hat:	portmgr
2013-10-11 11:58:00 +00:00
Bryan Drewery
cbfe674254 - Fix desktopfileutils() and sharedmimeinfo() returning non-zero and causing
failure on every port that does not use shared-mime-info or need it.

  Must return 0 at end of functions or it considers the last command ran as
  the return code.

Reported by:	eadler
With hat:	portmgr
2013-10-11 02:52:35 +00:00
Bryan Drewery
101e14f98c - WITH_CCACHE_BUILD: Respect NOCCACHE as well since that is what devel/ccache
has had documented in its howto forever

With hat:	portmgr
2013-10-11 02:22:24 +00:00
Antoine Brodin
0a9a0a511f Add two QA tests for staged ports:
- check for desktop files handling MIME types
- check for share MIME-Info database

Approved by:	portmgr (bapt)
2013-10-10 17:09:33 +00:00
Bryan Drewery
a3236d6e06 - Try to clarify USE_PACKAGE_DEPENDS_ONLY failure message
With hat:	portmgr
2013-10-10 01:30:22 +00:00
Bryan Drewery
b924147649 - Move dialog4ports.sh to more appropriate new directory Mk/Scripts as
it is related to infrastructure/framework and a required portmgr-
  maintained script

With hat:	portmgr
2013-10-09 23:01:54 +00:00
Baptiste Daroussin
aa40865de1 First set of Q/A for staged ports.
A couple of Q/A tests are done if the DEVELOPER macros is set in make.conf
Right now the tests are:
- Check if the symlinks are properly created
- Check if the binaries are stripped (just warn)
- Check if the STAGEDIR or the WORKDIR are referenced in the final files
- Check if the ports provide script with bad shebangs.
2013-10-09 15:11:32 +00:00
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