Commit graph

5194 commits

Author SHA1 Message Date
Mathieu Arnold
afae652a2a Make it so that the default Perl is always called perl5.
- Move Perl's man1 files along with its man3 files.
- Move where Perl installs its modules man1 pages.
- Convert the ports installing man1 pages.
- Make different Perl versions installable at the same time.
  Though you should note that only the default version can be used to
  install Perl modules, and the non default Perl versions cannot use the
  modules installed via ports if they contain .so as they are installed
  in a version specific directory.

Reviewed by:	bapt (the Mk bits)
Exp-run by:	antoine
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D3542
2015-09-14 12:19:48 +00:00
Kubilay Kocak
dafc3395c8 Uses/python.mk: Fix PYTHON_REL for pre-release Python versions
Modify the PYTHON_REL variable assignment in python.mk so that it
can support PORTVERSION's that have non-integer suffixes such as
the current lang/python35 version (PORTVERSION currently 3.5.0.r3).

Currently, ports that use PYTHON_REL while DEFAULT_VERSIONS is set to
3.5, fail to build with the following make error:

make: "/usr/ports/Mk/Uses/python.mk" line 503:
warning: String comparison operator should be either == or !=
make: "/usr/ports/Mk/Uses/python.mk" line 503:
Malformed conditional (${PYTHON_REL} >= 3200 && defined(_PYTHON_FEATURE_PY3KPLIST))

This is caused by a non-integer value ("r3") in PYTHON_REL.

While I'm here, add a comment block to be clear on what we
(currently) want to achieve.

PR:			203093
Reported by:		Andrew Berg (aberg010 my.hennepintech.edu)
Reviewed by:		antoine
MFH:			2015Q3
Differential Revision:	https://reviews.freebsd.org/D3662
2015-09-14 08:28:57 +00:00
Hiroki Sato
c716728e4a Add "fc", "fcfontsdir", "fontsdir", and "none" arguments to USES=fonts.
They controls whether fc-cache and/or mkfontdir run in
post-{,de}install targets.

japanese/font-* use manually generates fonts.dir entries to utilize
special modifiers which are useful for CJK fonts.  Because mkfontdir
does not understand and silently remove them from fonts.dir,
options like fonts:fc or fonts:none is required.

Approved by:	portmgr (bapt)
2015-09-13 23:30:21 +00:00
Antoine Brodin
75f5b44ef0 Back-out r396454, it's broken on freebsd 9.3 (breaks at least ftp/curl)
With hat:	portmgr
2015-09-10 12:47:58 +00:00
Hiroki Sato
3ce6769063 - Add KRB5CONFIG.
- Use more complete library lists in GSSAPILIBS.
2015-09-09 08:03:31 +00:00
Jimmy Olgeni
173d8150db Fix build_fs_violation for rebar3 builds.
rebar3 has the uncontrollable urge to write some stuff into the user's
HOME, even if just an empty directory. Redirect HOME to WRKDIR so that it
at least shoots a blank and does not bump into build_fs_violation checks.

This fixes devel/erlang-bbmustache and www/erlang-hackney.
2015-09-08 22:12:22 +00:00
Jung-uk Kim
44d28673ae Remove duplicate PDFTeX from the comment. 2015-09-08 21:35:27 +00:00
Sunpoet Po-Chuan Hsieh
4b54ee8b7b - Update to 2.2.3
- Fix PLIST

Changes:	http://svn.ruby-lang.org/repos/ruby/tags/v2_2_3/ChangeLog
Differential Revision:	https://reviews.freebsd.org/D3587
Approved by:	swills (portmgr, ruby)
2015-09-08 19:45:13 +00:00
Sunpoet Po-Chuan Hsieh
ecde17e737 - Update to 2.1.7
- Fix and sort PLIST

Changes:	http://svn.ruby-lang.org/repos/ruby/tags/v2_1_7/ChangeLog
Differential Revision:	https://reviews.freebsd.org/D3587
Approved by:	swills (portmgr, ruby)
2015-09-08 19:44:01 +00:00
Sunpoet Po-Chuan Hsieh
f315e75862 - Update to 2.0.0p647
- Fix PLIST

Changes:	http://svn.ruby-lang.org/repos/ruby/tags/v2_0_0_647/ChangeLog
Differential Revision:	https://reviews.freebsd.org/D3587
Approved by:	swills (portmgr, ruby)
2015-09-08 19:43:11 +00:00
Kubilay Kocak
7142ad4179 [NEW] lang/python35: Welcome Python 3.5.x! (Note: RC3)
FreeBSD welcomes Python 3.5 (early, pre-release) to the Ports tree,
with 3.5.0 release candidate 3!

Please test this port and Python 3.5 profusely. If you notice issues,
please report them upstream at: https://bugs.python.org to ensure a
robust upcoming 3.5.0 release.

Whats New in Python 3.5:

 * https://docs.python.org/3.5/whatsnew/3.5.html

Python 3.5 Release Schedule (PEP 478)

 * http://www.python.org/dev/peps/pep-0478

Note: This port retires an old fcntlmodule.c patch, possibly
temporarily. User impact *should* be zero. For more information
see: https://bugs.python.org/issue25026

Requested by:	Webair Inc :)
2015-09-08 16:08:13 +00:00
Mathieu Arnold
9f8347ee1b Add PORTEXAMPLES to the options helpers.
Sponsored by:	Absolight
2015-09-08 14:04:30 +00:00
Hiroki Sato
8c7a2d0b92 - Split xpdfopen package from texlive-base. This is because it is the only
package depending on X11 library in it.

- Remove unnecessary libttf.so dependency [*].

PR:	202910 [*]
2015-09-07 23:36:52 +00:00
Sunpoet Po-Chuan Hsieh
10084409d4 - Move *_DEPENDS together
- Add GMP option: libgmp.so is linked if present
- Sort CONFIGURE_ARGS
- Remove duplicate WRKSRC
- Sort USES
- Use pre-install: instead of pre-su-install:
- Convert to new options helper
- Convert to new options target helper
- Add regression-test:
- Fix typo
- Cosmetic change
- Pet portlint: fix diff header of patch files
- Bump PORTREVISION for dependency and package change
2015-09-07 17:47:48 +00:00
Sunpoet Po-Chuan Hsieh
2165b3644a - Move *_DEPENDS together
- Add GMP option: libgmp.so is linked if present
- Sort CONFIGURE_ARGS
- Remove duplicate WRKSRC
- Sort USES
- Use pre-install: instead of pre-su-install:
- Convert to new options helper
- Convert to new options target helper
- Change options helper: (copied from ruby22)
  - Use CAPIDOCS_CONFIGURE_ENABLE instead of CAPIDOCS_CONFIGURE_OFF
  - Use RDOC_CONFIGURE_ENABLE instead of RDOC_CONFIGURE_OFF
- Add regression-test:
- Fix typo
- Cosmetic change
- Pet portlint: fix diff header of patch files
- Bump PORTREVISION for dependency and package change
2015-09-07 17:46:52 +00:00
Sunpoet Po-Chuan Hsieh
e9264c81e2 - Move *_DEPENDS together
- Sort CONFIGURE_ARGS
- Remove duplicate WRKSRC
- Sort USES
- Use pre-install: instead of pre-su-install:
- Convert to new options helper
- Convert to new options target helper
- Change options helper: (copied from ruby22)
  - Use CAPIDOCS_CONFIGURE_ENABLE instead of CAPIDOCS_CONFIGURE_OFF
  - Use RDOC_CONFIGURE_ENABLE instead of RDOC_CONFIGURE_OFF
- Add regression-test:
- Fix typo
- Cosmetic change
- Pet portlint: fix diff header of patch files
- Bump PORTREVISION for package change
2015-09-07 17:46:06 +00:00
Koop Mast
d7481e1e5e Remove libgnomedb component. The actualy port was removed April 2014 by bapt. 2015-09-05 21:01:47 +00:00
Mathieu Arnold
46c8a181c5 Add DESKTOP_ENTRIES to the options flags.
Sponsored by:	Absolight
2015-09-04 16:35:21 +00:00
Mathieu Arnold
76fa2c1542 http://cloud.github.com/ redirects to https.
With hat:	portmgr
Sponsored by:	Absolight
2015-09-04 16:01:51 +00:00
Raphael Kubo da Costa
f358732b18 Uses/iconv.mk: Set iconv-related CMake variables.
The way we deal with iconv in base and ports across different FreeBSD
releases is complicated: 9.x does not have iconv.h in base, 10.1 has it with
a different prototype for iconv(3) and later versions have the right
iconv(3) prototype. And, in some cases (USES=iconv:{translit,wchar_t}), we
must always use the libiconv port.

This is why there are so many checks in Uses/iconv.mk: we need to know the
situation we currently have in order to decide whether to pull iconv from
converters/libiconv, whether to just use its header (and pull the library
from base) or whether to use everything from base.

r384038 adjusted several CMake-based ports, but did so in a way that was not
very scalable and required a few intrusive patches to some ports. Most ports
that have both USES=cmake and USES=iconv use variations of FindIconv.cmake
that behave similarly. This change passes the header and library values we
really want to use to CMake using the most common variable names, bypassing
the calls to find_path() and find_library() that would sometimes end up
finding the wrong file. The few ports that use different variable names have
had their Makefiles adjusted (we manually pass the values we want via
CMAKE_ARGS).

Other changes:
- chinese/fcitx: Explicitly set LIBICONV_LIBC_HAS_ICONV_OPEN=OFF as we
  always want the version from ports because of USES=iconv:wchar_t.
- editors/calligra: Explicitly use iconv:translit because Kexi needs it.
- irc/weechat and irc/weechat-devel: The FindIconv.cmake patches could not
  be entirely removed because the check_library_exists() calls are wrong.
  Sent upstream: https://github.com/weechat/weechat/pull/513
- textproc/ctpp2: Use iconv:translit when the TRANSLITERATE option is used.

PORTREVISION has been bumped in editors/calligra and textproc/ctpp2 because
their dependency list has changed in 10.2 and later as the ports version is
always used now.

PR:		202798
Reviewed by:	antoine, tijl
Approved by:	portmgr (antoine)
2015-09-03 15:44:13 +00:00
Baptiste Daroussin
8f2fe367d2 Fix error message when not finding a package 2015-09-02 21:23:47 +00:00
Mathieu Arnold
398dca09df To ease up with future upgrades, move PERL_VERSION into a separate file.
While there, remove 8.4 support, and do some cleanup.

Sponsored by:	Absolight
2015-08-31 13:17:48 +00:00
Andrej Zverev
6527d59f9d Move one of the fallback site upper 2015-08-30 12:48:27 +00:00
Andrej Zverev
4e8331167b Help portscout to detect a new version of the module on CPAN if the AUTHOR_ID
for the new version and the current are not equal. This is only partial
hack and won't work for all modules.
2015-08-30 10:08:11 +00:00
Koop Mast
36f080877c Update the USE_GNOME librsvg2 entry, which should have happened in
revision 395560.

PR:		202378
2015-08-29 16:50:57 +00:00
Sunpoet Po-Chuan Hsieh
3431276749 - Add BROKEN_RUBYxx to simplify Makefile
Differential Revision:	https://reviews.FreeBSD.org/D2239
Reviewed by:	swills (portmgr, ruby)
2015-08-29 10:02:33 +00:00
Adam Weinberger
84b58a7493 Use more precise wording, i.e. "set" and "append" instead of "run."
Approved by:	portmgr (mat)
2015-08-28 16:18:32 +00:00
John Marino
5f3bf8cb9d Mk/bsd.port.mk: Add PKG_CREATE_VERBOSE functionality
When PKG_CREATE_VERBOSE is set, the "-v" option will be added to
the arguments for PKG_CREATE.  The intended use is for poudriere and
other build monitors that can time out.  The verbose option of pkg
create will periodically emit output as the package is being created.
It would be set mk.conf (the DragonFly version of poudriere will set
it unconditionally during package building).

Approved by:	portmgr
Differential Revision:	https://reviews.freebsd.org/D3507
2015-08-28 13:50:43 +00:00
Mathieu Arnold
9c517d8878 Add generic opt_VARS/opt_VARS_OFF.
OPT1_VARS=  foo=bar baz+=bam

will set FOO to bar and append bam to BAZ if OPT1 is enabled.  <opt>_VARS_OFF
works the same way, if the option is disabled.

Reviewed by:	bapt
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D3410
2015-08-28 12:28:13 +00:00
Jan Beich
fd9ddf4a36 gecko: add INTEGER_SAMPLES option
arm use S16 samples and libtremor since Firefox 34. So, adjust
dependencies and make it controllable (for testing on x86).

Note, arm is still BROKEN until ports/202642.

https://bugzilla.mozilla.org/show_bug.cgi?id=1047791
2015-08-26 06:38:32 +00:00
Baptiste Daroussin
310fec0aaf Make package-depends-list accept dependency entries without ${PORTSDIR}
Sponsored by:	Gandi.net
2015-08-25 12:17:25 +00:00
Baptiste Daroussin
7f5f7018b9 Make build-depends-list and run-depends-list accept dependency lines without
${PORTSDIR}

Sponsored by:	Gandi.net
2015-08-25 12:08:43 +00:00
Jan Beich
1ce69a8c72 gecko: temporarily disable bundled jemalloc3 on DragonFly
firefox crashes on startup but the issue is triggered earlier by
xpcshell building precompiled cache during install. So, disable
jemalloc3 until it builds fine.

https://lists.freebsd.org/pipermail/svn-ports-head/2015-August/100423.html

Reported by:	marino
2015-08-25 08:06:48 +00:00
Mathieu Arnold
1118f8ad40 Bump perl5-devel's PERL_VERSION.
Pointy hat to:	mat
Sponsored by:	Absolight
2015-08-24 14:37:18 +00:00
Mathieu Arnold
741e1ac058 Add an optional error message for opt_PREVENTS, opt_PREVENTS_MSG.
Reviewed by:	bapt
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D3469
2015-08-24 13:07:31 +00:00
Hiroki Sato
27470e1676 - Split ghostscript into X11-independent and -dependent parts:
* print/ghostscript{7,8,9,9-agpl}-base

   Installs Ghostscript binary, libgs, and related files.
   These ports do not depend on X11 libraries (i.e. x11* devices
   are not available).  USES=ghostscript will set dependency on
   one of them depending on GHOSTSCRIPT_DEFAULT.

   The default device is set to "display" or "bbox".

 * print/ghostscript{7,8,9,9-agpl}-x11

   Installs a shared library which provides X11 support to
   the installed Ghostscript binaries.  x11* devices will be
   enabled when the library is available.

   This depends on *-base (RUN_DEPENDS).  USES=ghostscript:x11
   will set dependency on one of them.

- Fix integer overflow reported as CVE-2015-3228.

- Update Uses/ghostscript.mk:

 * Add x11 keyword.  nox11 keyword is now obsolete.

 * Use packagename in *_DEPENDS line to prevent relationship between
   -base and -x11 packages from being broken.

- Fix x11/nox11 keyword and bump PORTREVISION in ports using
  USES=ghostscript to update dependency of pre-compiled packages.
2015-08-22 17:48:35 +00:00
Mathieu Arnold
8d82504fad Fix with fmake.
Noticed by:	marck
Sponsored by:	Absolight
2015-08-21 13:05:20 +00:00
Jan Beich
b4ccde1542 gecko: properly check OSVERSION against OPSYS [1]
Bundled jemalloc is left enabled for DragonFly due to lack of
documented evidence it doesn't work: failed build log, crash
fingerprint, upstream bug, etc. jemalloc upstream unlike its
Mozilla fork (not used here) has better support for BSDs.

Requested by:	marino [1]
2015-08-21 12:30:03 +00:00
Mathieu Arnold
08da6a6763 Optimize opt_IMPLIES.
PR:		191144
Submitted by:	hrs
Sponsored by:	Absolight
2015-08-21 12:02:50 +00:00
Jan Beich
84b6a43b0c gecko: use system jemalloc on 11.0-CURRENT again
Requested by:	mi
2015-08-20 13:16:12 +00:00
Raphael Kubo da Costa
c2f4f3626c Uses/localbase.mk: Set CMAKE_PREFIX_PATH.
When USE'ing localbase.mk, make sure CMake is also aware that it is supposed
to give preference to ${LOCALBASE} when looking for files and libraries.

This is going to be a requirement once CMake is updated to 3.3.x, as
starting with this version it will by default use the PATH environment
variable (stripping the "/bin" or "/sbin" parts of each entry) to determine
where to find files and libraries. Since in most cases /usr will come before
/usr/local, it will find base's libarchive and fail at the configuration
stage on older FreeBSD releases.

Approved by:	portmgr (antoine)
Differential Revision:	https://reviews.freebsd.org/D3361
2015-08-20 12:51:50 +00:00
Sunpoet Po-Chuan Hsieh
e925d8916f - Add shared PYTHON2 and PYTHON3 descriptions 2015-08-20 07:39:09 +00:00
Mathieu Arnold
26c137c376 Add EXTRACT_ONLY to the options flags.
Sponsored by:	Absolight
2015-08-19 09:28:06 +00:00
Mathieu Arnold
bfbc1e51b7 Introduce <opt>_IMPLIES and <opt>_PREVENTS to register dependencies, or
conflicts, between options.

PR:		191144
Submitted by:	adamw
Sponsored by:	Absolight
2015-08-18 11:00:57 +00:00
Raphael Kubo da Costa
23ee2a7d62 Uses/cmake.mk: Replace CMAKE_ENV with CONFIGURE_ENV.
Instead of defining a variable that is almost always based on CONFIGURE_ENV,
just use CONFIGURE_ENV directly.

This also matches the behavior of other ports that do not use autotools (so
most ports can just worry about CONFIGURE_ENV). Additionally, the fact that
we do not use ?= means we do not have problems if another file in Uses/
needs to set CONFIGURE_ENV (with CMAKE_ENV, the order of the arguments to
USES would matter).

Ports which set CMAKE_ENV have been adjusted accordingly. In most cases,
CMAKE_ENV was just replaced with CONFIGURE_ENV, the exceptions being:
* databases/sqliteman: CMAKE_ENV line removed; setting QMAKESPEC there has
                       no effect on the build system.
* devel/freeocl: CMAKE_ENV line removed; FREEOCL_CXX_COMPILER is already
                 retrieved from the CMAKE_CXX_COMPILER variable in the build
                 system.
* graphics/openimageio: CMAKE_ENV line removed; setting Qt variables there
                        has no effect on the build system.

Reviewed by:		makc
Differential Revision:	https://reviews.freebsd.org/D3403
2015-08-18 10:51:01 +00:00
Mathieu Arnold
ccdb295ce0 Add BROKEN and IGNORE to the options flags.
Sponsored by:	Absolight
2015-08-18 10:39:07 +00:00
Mathieu Arnold
21a283f3be Remove UNIQUENAME and LATEST_LINK.
UNIQUENAME was never unique, it was only used by USE_LDCONFIG and now,
we won't have conflicts there.

Use PKGBASE instead of LATEST_LINK in PKGLATESTFILE, the *only* consumer
is pkg-devel, and it works just fine without LATEST_LINK as pkg-devel
has the correct PKGNAME anyway.

Now that UNIQUENAME is gone, OPTIONSFILE is too. (it's been called
OPTIONS_FILE now.)

Reviewed by:	antoine, bapt
Exp-run by:	antoine
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D3336
2015-08-17 14:20:40 +00:00
Mathieu Arnold
e8796ef612 Rewrite the target ordering code.
The targets now have priority assigned to them, and, when the dependency
ordering magic is done at the end of bsd.port.mk, they are sorted
according to their priority.

This allows USES to add targets easily and have them run whenever they
want without touching bsd.port.mk.

To add a target that runs just before post-configure run, do:

_USES_configure+=  695:my-post-configure
my-post-configure:
	do something

To fine tune when the target is ran, look at the values in the *_SEQ
variables at the end of bsd.port.mk, and the other USES.

Allow ports Makefiles to override the priority of targets with the
TARGET_ORDER_OVERRIDE variable.  For example, to get post-install
running earlier, (its default is 700) do:

TARGET_ORDER_OVERRIDE=	  650:post-install

While there, add options target helpers for the do-* targets when they
exist.

Reviewed by:	antoine, bapt
Exp-run by:	antoine
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D3099
2015-08-17 13:31:25 +00:00
Mark Felder
7b4d5bf3e6 Update MASTER_SITE_GNUPG
I took all of the mirrors I could find and ran them against sysutils/fastest_sites
from a server in a datacenter in Chicago. It removed a few dead mirrors
and I have added a few new ones. Hopefully this provides a better
overall experience.

New order is roughly: UK, NL, IE, DE, etc

PR:		202332
2015-08-14 20:59:29 +00:00
Jan Beich
db7f90058a Add OAuth keys for importing Google contacts into Loop
Loop aka Firefox Hello is available since 34.0.

https://bugzilla.mozilla.org/show_bug.cgi?id=1106854

Inspired by:	ArchLinux
MFH:		2015Q3
2015-08-11 23:20:48 +00:00