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

3525 Commits

Author SHA1 Message Date
Baptiste Daroussin
e7965f1cae Add new LIB_DEPENDS syntax:
libname.so:${PORTSDIR}/devel/name
libname.so.0.1.2:${PORTSDIR}/devel/name

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  USE_SDL= sdl2 image2 mixer2 net2 ttf2

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

While here clean up a bit the syntax.

Add support for xz'ed patches for EXTRA PATCHES

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

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

Please, see ports/UPDATING for upgrade procedure.

Reviewed by:	bapt@ (exp-run), culot@
2013-06-12 13:00:55 +00:00