1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00
Commit Graph

3973 Commits

Author SHA1 Message Date
Dirk Meyer
338eecf237 - use STAGEDIR
- use OPTIONS_DEFINE
2013-10-27 22:29:46 +00:00
Sunpoet Po-Chuan Hsieh
166d24f12c - Use leading "-" to ignore exit status instead of trailing "|| ${TRUE}"
Suggested by:	mat
2013-10-27 17:35:52 +00:00
Koop Mast
46d0aadc55 Remove obsoleted and removed gnome1 components. While here update example. 2013-10-27 14:54:08 +00:00
William Grzybowski
c7db7eafb3 Allow multiple values for configure ENABLE and WITH options helpers
${opt}_CONFIGURE_ENABLE and ${opt}_CONFIGURE_WITH now accept multiple arguments
and will be expanded accordingly, e.g.:

OPT_CONFIGURE_ENABLE= feature1 feature2  --  will add to CONFIGURE_ARGS:
	OPT enabled: --enable-feature1 --enable-feature2
	OPT disabled: --disable-feature1 --disable-feature2

Approved by:	portmgr (bapt)
2013-10-27 11:58:20 +00:00
Kubilay Kocak
d955a5a81d Mk/bsd.python.mk: Further tweaks to clarify AUTOPLIST and PY3K_HACK
Reviewed by:	mva
2013-10-27 09:30:09 +00:00
Sunpoet Po-Chuan Hsieh
76fd67222e - Remove cpan.nctu.edu.tw from MASTER_SITE_PERL_CPAN_BY 2013-10-26 12:37:32 +00:00
Kubilay Kocak
269f9dbb91 Mk/bsd.python.mk: Clarify PYTHON_PY3K_PLIST_HACK & PYDISTUTILS_AUTOPLIST usage
Reviewed by:	mva, Johannes Meixner (xmj) via IRC
2013-10-26 10:11:45 +00:00
Marcus von Appen
d013540424 - Add a warning about PYTHON_PY3K_PLIST_HACK not being required, if
PYDISTUTILS_AUTOPLIST is used
2013-10-26 09:29:18 +00:00
Sunpoet Po-Chuan Hsieh
e018bc8aeb - Add missing || ${TRUE} 2013-10-25 07:53:24 +00:00
Sunpoet Po-Chuan Hsieh
c69aa3b0c1 - Fix .packlist only when ${STAGEDIR}${SITE_PERL}/${PERL_ARCH}/auto exists
Reported by:	John Marino <freebsd.contact@marino.st>
2013-10-23 17:47:31 +00:00
Ulrich Spörlein
2e790e6f32 Allow users to install converters/libiconv on 10.x systems if they
decided to build world with WITHOUT_ICONV set. There's no need for
this check to be based on OSVERSION.

Some users (i.e. me), report subtle application breakages with the
iconv-from-src that disappear when iconv-from-ports is installed.
Allow for a bridge till these issues are sorted out.

Approved by:	portmgr (bdrewery)
2013-10-23 15:05:04 +00:00
Mathieu Arnold
012586d32c Change default perl to lang/perl5.16
PR:		ports/182550
Submitted by:	mat
Approved by:	bdrewery (exp-run)
2013-10-23 10:26:23 +00:00
Bryan Drewery
1961a47413 - Don't create share/applications as it is part of BSD.local.dist now
Submitted by:	amdmi3
With hat:	portmgr
2013-10-23 00:43:04 +00:00
Tijl Coosemans
c230edc9ce Don't add "@unexec rmdir ${DESKTOPDIR} ..." to pkg-plist for ports that
use DESKTOP_ENTRIES now that ${DESKTOPDIR} has been added to mtree.

Approved by:	portmgr (bdrewery)
2013-10-22 21:42:38 +00:00
Max Brazhnikov
86276e8b2a Pass CC/CXX to qmake when we can't find appropriate QMAKESPEC
Reported by:	amdmi3
2013-10-21 19:47:02 +00:00
Rene Ladan
2e9379960f Fix a typo in bsd.stage.mk, LINUXBASE_REL should be LINUXBASE. Nothing
defines the former variable.

Approved by:	portmgr (bapt)
2013-10-21 13:09:15 +00:00
Rene Ladan
065f8bcc60 Remove entry for expired and deleted graphics/linux-f10-png10 2013-10-21 11:54:04 +00:00
Baptiste Daroussin
3a25a917f7 really apply the fix provided by ohauer
Reported by:	sunpoet, ohauer
Pointyhat to:	bapt
2013-10-21 09:56:26 +00:00
Baptiste Daroussin
9e85f692d4 Fix restage target
PR:		ports/183118
Submitted by:	ohauer
2013-10-21 08:34:26 +00:00
Olivier Duchateau
b49223caeb - Fix devel/xfce4-dev-tools detection, when xfdev is used in USE_XFCE macro 2013-10-20 18:53:04 +00:00
Alex Kozlov
542371959d - Add check for suid files and directories
Approved by:	portmgr (bapt)
2013-10-20 18:12:49 +00:00
Sunpoet Po-Chuan Hsieh
fe67692ab3 - Cosmetic change:
- Reorder knobs
  - Indent using tabstop=4
2013-10-20 08:29:15 +00:00
Bryan Drewery
3235c42422 - Fix patch fetching so it tries the next site if one has the wrong size.
Same fix as r325805 was for MASTER_SITES, but this is applied for
  PATCH_SITES

With hat:	portmgr
2013-10-20 02:06:40 +00:00
Sunpoet Po-Chuan Hsieh
1ffcb16a96 - Add staging support for USE_PERL5=modbuild*
- Remove STAGEDIR prefix from .packlist
2013-10-19 19:11:19 +00:00
Marcus von Appen
026a6cfc87 - Fix replacement expressions for manpages, if PYDISTUTILS_AUTOPLIST is set 2013-10-19 07:49:54 +00:00
Baptiste Daroussin
049b167664 Recommand to use STRIP_CMD to strip binaries given that it will respect the WITH_DEBUG option 2013-10-19 00:17:10 +00:00
Rusmir Dusko
cda8b376c1 - New Uses pure.mk
- Provide support for Pure Programming Language based projects

PR:		ports/179401
Submitted by:	nemysis (self)
Approved by:	pawel (mentor), bapt (portmgr)
2013-10-18 22:12:37 +00:00
Marcus von Appen
ae868cb7fb - Enable proper manpage handling for PYDISTUTILS_AUTOPLIST, if the
manpages are installed by distutils.

Requested by:	avg@
Improvements:	jhein@symmetricom.com
2013-10-18 16:28:48 +00:00
Antoine Brodin
60e079a05c Fix staging to rubygems
Approved by:	portmgr (bapt)
2013-10-17 16:45:07 +00:00
Baptiste Daroussin
eb6d37560f Allow staging rubygems (which here, enforce the bindir for staged rubygem ports) 2013-10-17 13:28:50 +00:00
Baptiste Daroussin
d76bad7482 Readd forgotten port-install-script in the stage seq. 2013-10-17 13:09:58 +00:00
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
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