1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-06 06:30:19 +00:00
Commit Graph

3738 Commits

Author SHA1 Message Date
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