summaryrefslogtreecommitdiff
path: root/Mk (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Update KDE Frameworks to 5.42.0Tobias C. Berner2018-01-171-1/+1
| | | | | | | | | | PR: 225155 Exp-run by: antoine Reviewed by: rakuco Differential Revision: https://reviews.freebsd.org/D13816 Notes: svn path=/head/; revision=459233
* www/firefox: update to 58.0Jan Beich2018-01-152-4/+6
| | | | | | | | | | | Changes: https://www.mozilla.org/firefox/58.0/releasenotes/ PR: 223425 Tested by: Greg V, tobik Security: a891c5b4-3d7a-4de9-9c71-eef3fd698c77 MFH: 2018Q1 (piling up) Notes: svn path=/head/; revision=459118
* USE_AUTOTOOLS has been removed, at last.Mathieu Arnold2018-01-151-2/+2
| | | | | | | Sponsored by: Absolight Notes: svn path=/head/; revision=459046
* Sort.Mathieu Arnold2018-01-151-1/+1
| | | | | | | Sponsored by: Absolight Notes: svn path=/head/; revision=459041
* Fix a bug in USE_GITHUB code where a version with more than one / wasMathieu Arnold2018-01-151-1/+1
| | | | | | | | | not sanitized properly. Sponsored by: Absolight Notes: svn path=/head/; revision=459033
* Retire USE_AUTOTOOLS and bsd.autotools.mk.Tijl Coosemans2018-01-152-146/+0
| | | | | | | | PR: 225170 Approved by: portmgr (antoine) Notes: svn path=/head/; revision=459027
* Add another solution to the WRKSRC+USE_GITHUB warning.Mathieu Arnold2018-01-121-1/+1
| | | | | | | Sponsored by: Absolight Notes: svn path=/head/; revision=458823
* Replace USE_AUTOTOOLS with a plain BUILD_DEPENDS.Tijl Coosemans2018-01-111-2/+2
| | | | Notes: svn path=/head/; revision=458777
* CONFIGURE_ARGS already contains CC="${CC}". Also add LD="${CC}" so theTijl Coosemans2018-01-111-1/+1
| | | | | | | same compiler is used for both compiling and linking. Notes: svn path=/head/; revision=458753
* Add USE_PHP=mcrypt for PHP 7.2Sunpoet Po-Chuan Hsieh2018-01-101-0/+4
| | | | Notes: svn path=/head/; revision=458602
* New ports: www/py-qt5-webchannel and www/py-qt5-webengineJoseph Mingrone2018-01-091-1/+8
| | | | | | | | | Reviewed by: mat, tcberner Approved by: tcberner Differential Revision: https://reviews.freebsd.org/D12964 Notes: svn path=/head/; revision=458563
* For some reason, this was not caught by the exp-run.Mathieu Arnold2018-01-091-3/+3
| | | | | | | | | Submitted by: tobik Reported by: yuri Sponsored by: Absolight Notes: svn path=/head/; revision=458521
* Remove support for variables that have been deprecated for a while.Mathieu Arnold2018-01-097-181/+97
| | | | | | | | | | | | | | | | | | | | | | | | | | | variables deprecation revision WITHOUT_NLS 2013-12-13 r336337 WITH_/WITHOUT_ 2014-02-24 r345870 NOPORT(DOC|EXAMPLE)S 2014-04-19 r351587 WITH_BDB_VER 2016-05-02 r414444 OVERRIDE_LINUX_BASE_PORT 2016-09-05 r421387 WITH_OPENSSL_(BASE|PORT) 2016-06-16 r416965 While there, add an ERROR variable that works like DEV_ERROR, but for user facing errors, and move NOPORTDOCS, NOPORTEXAMPLES and WITHOUT_NLS to it. Cleanup bsd.sanity.mk a bit. Fix fallout. PR: 224613 Submitted by: mat Exp-run by: antoine Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D13490 Notes: svn path=/head/; revision=458513
* Fix flavor helpers when only bsd.port.pre.mk is not used and FLAVOR is not set.Bryan Drewery2018-01-081-28/+29
| | | | | | | | | | | | | | | | The helpers were being evaluated before the default FLAVOR was set. The helpers worked fine if the FLAVOR was specified by the user but not if it was left to the default value. Resolve this by moving the helpers right after the default FLAVOR is set. PR: 224879 exp-run by: antoine Approved by: portmgr (implicit) MFH: 2018Q1 Differential Revision: https://reviews.freebsd.org/D13756 Notes: svn path=/head/; revision=458394
* Correctly pass -platform to qtbase's configure script when CXX is an ↵Raphael Kubo da Costa2018-01-071-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | absolute path. With the update to Qt 5.9.3, the configure script and qmake expect an mkspec name, not an absolute path, which is why r458293 switched to using ${QMAKESPEC:T}. However, the :T modifier breaks things when CXX is set to an absolute path instead of just "c++", QMAKE_COMPILER is a shell string that will be evaluated only after make invokes `configure' with CONFIGURE_ARGS. In other words, we end up turning something like $$(ccver="$$(/usr/bin/c++ --version)"; case "$$ccver" in *clang*) echo clang ;; *) echo g++ ;; esac) into /c++ --version)"; case "$$ccver" in *clang*) echo clang ;; *) echo g++ ;; esac) which is obviously invalid. We now just avoid being too smart and set a separate variable called QMAKESPECNAME, which contains only the mkspec name and that we use both when setting CONFIGURE_ARGS as well as to create QMAKESPEC. PR: 224971 Notes: svn path=/head/; revision=458339
* Update Qt5 ports to 5.9.3.Raphael Kubo da Costa2018-01-062-24/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This took quite a lot of time because Qt's own build system underwent several changes in 5.8.0 that took a while to adapt to. And, of course, qt5-webengine is a behemoth that we need to patch like crazy due to its bundling of Chromium. In fact, most of the Chromium patches in qt5-webengine have been imported with no changes from www/chromium@433510 ("www/chromium: update to 56.0.2924.87"). New port: accessibility/qt5-speech Bigger changes to Qt5 ports we had to make: - Qt now allows using a configure.json file to define configuration options and specify configuration checks that can be done when qmake is invoked. However, configure.json checks done in a subdirectory only propagates to subdirectories, and checks elsewhere will fail if all .pro files are being parsed at once (i.e. qmake -recursive), so several ports had to switch to USES=qmake:norecursive along with manual additional qmake invocations in subdirectories in order to work. It's been mentioned in a few places such as Qt's bug tracker that qmake's recursive mode is pretty much deprecated, so we might switch to non-recursive mode by default in the future. - Uses/qmake.mk: Introduce QMAKE_CONFIGURE_ARGS. qmake now accepts arbitrary options such as '-foo' and '-no-bar' at the end of the command-line. They can be specified in QMAKE_CONFIGURE_ARGS. - graphics/qt5-wayland: The port can only be built if graphics/mesa-libs is built with the WAYLAND option, so a corresponding option (off by default) was added to the port. - misc/qt5-doc: Switch to a pre-built documentation tarball. The existing port was not working with Qt 5.9. Instead of trying to fix it, switch to what Gentoo does and fetch a tarball that already contains all documentation so that we do not have to build anything at all. The tarball's name and location in download.qt.io look a bit weird, but it seems to work fine. - www/qt5-webengine: Use binutils from ports, Chromium's GN build system generates a build.ninja that uses ar(1) with the @file syntax that is not supported by BSD ar, so we need to use GNU ar from binutils. - x11-toolkits/qt5-declarative-render2d: This port was merged into the main Qt Declarative repository upstream, and into x11-toolkits/qt5-quick in the ports tree. Changes to other ports we had to make: - biology/ugene: Drop a '#define point "."' that is not present in more recent versions of the port. Defining a macro with such a common name causes build issues with Qt 5.9, which uses |point| as an argument name in methods. - cad/qelectrotech: Fix plist with Qt 5.9. Directories are no longer installed with `cp -f -R', but rather `qmake install qinstall', which does not install %%DATADIR%%/elements/10_electric/20_manufacturers_articles/bosch_rexroth/.directory That's a local file that should not even have been part of the tarball anyway. - chinese/gcin-qt5: Add additional private Qt directories (which should not be used in the first place) to get the port to build with Qt 5.9. - devel/qtcreator: Fix plist with Qt 5.9. Something changed in qdoc and some test classes no longer generate documentation files. - security/keepassx-devel: Import a patch sent upstream almost a year ago to fix the build with Qt 5.9. Thanks to antoine for the exp-run, and tcberner and Laurent Cimon <laurent@nuxi.ca> for landing changes in our qt-5.9 branch. PR: 224849 Notes: svn path=/head/; revision=458293
* Disallow forced FLAVOR as make argument.Bryan Drewery2018-01-041-0/+5
| | | | | | | | | | | This otherwise prevents properly setting FLAVOR to the default internally since it is in a separate namespace in bmake that is read-only. Approved by: portmgr (implicit) MFH: 2018Q1 Notes: svn path=/head/; revision=458083
* Follow-up r458048: Properly trim FLAVOR from .MAKEOVERRIDES.Bryan Drewery2018-01-041-0/+3
| | | | | | | | | | | | | The code I removed was wrong but it still achieved the proper effect of removing FLAVOR from .MAKEOVERRIDES. This is still needed and now is done properly without truncating away all of the other valuable variables. Pointyhat to: bdrewery Approved by: portmgr (implicit) MFH: 2018Q1 Notes: svn path=/head/; revision=458058
* Fix typo in r458054.Bryan Drewery2018-01-041-1/+1
| | | | | | | | | Reported by: antoine Approved by: portmgr (implicit) MFH: 2018Q1 Notes: svn path=/head/; revision=458056
* Fix some *-list targets not properly passing FLAVOR down the chain.Bryan Drewery2018-01-041-1/+5
| | | | | | | | Approved by: portmgr (implicit) MFH: 2018Q1 Notes: svn path=/head/; revision=458054
* Pass FLAVOR in enviroment to avoid forcing an empty value in some cases.Bryan Drewery2018-01-041-6/+6
| | | | | | | | Approved by: portmgr (implicit) MFH: 2018Q1 Notes: svn path=/head/; revision=458050
* Stop truncating .MAKEOVERRIDES after the FLAVORS work.Bryan Drewery2018-01-041-3/+0
| | | | | | | | | | | | | | | There is no such variable as ${MAKEOVERRIDES}, only ${.MAKEOVERRIDES}, so this code was simply truncating .MAKEOVERRIDES entirely which could cause performance and other odd issues with OSREL and make recursion. We don't want to leak FLAVOR to child sub-makes but that can be fixed later; this code was not doing what it intended. Approved by: portmgr (implicit) MFH: 2018Q1 Notes: svn path=/head/; revision=458048
* Fix package-depends-list for FLAVORS.Bryan Drewery2018-01-041-1/+7
| | | | | | | | | Reported by: dinoex Approved by: portmgr (implicit) MFH: 2018Q1 Notes: svn path=/head/; revision=458041
* Replace some spaces with tabs.Raphael Kubo da Costa2018-01-041-3/+3
| | | | | | | | | Originally written by jrm in https://reviews.freebsd.org/D12964, but it makes sense to decouple this stylistic change from what is being worked on in that patch. Notes: svn path=/head/; revision=458034
* Cleanup Mk/Uses/gnome.mk.Mathieu Arnold2018-01-032-113/+26
| | | | | | | | | | | | | | | | | - Remove the use of comp_DETECT. - Remove all comp_DETECT variables. - Remove a use of comp_DETECT outside of gnome.mk - Remove py3gobject3. - Have ports depending directly on devel/py-gobject3 use gnome to do it. PR: 224618 Submitted by: mat Exp-run by: antoine Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D13550 Notes: svn path=/head/; revision=457964
* Update SIP to 4.19.6, PyQt4 to 4.12.1 and PyQt5 to 5.9.2.Raphael Kubo da Costa2018-01-021-5/+5
| | | | | | | | | | | | | | | | Upstream no longer ships the contents of misc/py-qt5-doc, so the port has been removed. This is also a requirement for updating the Qt5 ports, as the PyQt5 version currently in the tree has license conflicts with later Qt versions. Big thanks to tcberner for doing most of the work here, and antoine for the exp-run. PR: 224739 Notes: svn path=/head/; revision=457921
* New USES=eigenTobias C. Berner2018-01-021-0/+55
| | | | | | | | | | | | | | | | | | | | | | | | | Usage: USES=eigen:<version>[,<type>] version: 2 or 3 (required) type: build (default), run For example: USES=eigen:2,build,run will add a BUILD- and RUN_DEPENDS on math/eigen2, and USES=eigen:3 will add a BUILD_DEPENDS on math/eigen3. * Convert the existing ports to use it - biology/iqtree: remove run time dependency (seemed not to be needed) - graphics/movit: remove run time dependency (seemed not to be needed) - science/avogadro: add run time dependeny (installed cmake file requires it to be present) Reviewed by: rakuco, mat Differential Revision: https://reviews.freebsd.org/D13702 Notes: svn path=/head/; revision=457914
* Update MASTER_SITE_TEX_CTAN.Mark Linimon2018-01-021-3/+1
| | | | | | | | - ctan.unsw.edu.au now only accepts http - neither ftp.tex.ac.uk nor ftp.chg.ru have address records anymore Notes: svn path=/head/; revision=457865
* Revert commit that tagged along with bsd.sites.mk commit by mistake.Mark Linimon2018-01-021-4/+1
| | | | | | | Pointy hat to: linimon Notes: svn path=/head/; revision=457822
* Repairs to MASTER_SITE_DEBIAN_NON_US:Mark Linimon2018-01-022-10/+12
| | | | | | | | - ftp.df.lth.se has gone away. - some of the "ftp\." sites now only accept http:// addresses. Notes: svn path=/head/; revision=457821
* gecko, mesa-dri: shave unnecessary quoting for absolute path to LLDJan Beich2018-01-011-1/+1
| | | | | | | Left side already unquoted and Mk/bsd.port.mk didn't quote. Notes: svn path=/head/; revision=457797
* bsd.port.mk: don't create a new variable just to check LLDJan Beich2018-01-011-2/+1
| | | | | | | | PR: 224760 Approved by: portmgr (antoine) Notes: svn path=/head/; revision=457794
* Add CMAKE_ON and CMAKE_OFF to cmake.mkTobias C. Berner2017-12-311-0/+9
| | | | | | | | | | | | | | | | | | | USES=cmake now supports two additional list variables: * CMAKE_ON : List of variables to turn on * CMAKE_OFF : List of variables to turn off This can be used as a shortcut to append these to CMAKE_ARGS. For example ports that previously set CMAKE_ARGS= -DVAR1:BOOL=TRUE -DVAR2:BOOL=TRUE -DVAR3:BOOL=FALSE can now set this as CMAKE_ON= VAR1 VAR2 CMAKE_OFF= VAR3 Reviewed by: adridg, rakuco, mat Differential Revision: https://reviews.freebsd.org/D13636 Notes: svn path=/head/; revision=457677
* www/firefox: unbreak OPTIMIZED_CFLAGS=off build after r450707Jan Beich2017-12-311-0/+7
| | | | | | | | | | x86_64-unknown-freebsd/release/libgkrust.a: could not read symbols: File format not recognized PR: 222641 Reported by: many Notes: svn path=/head/; revision=457657
* Define licence for PyQt ports via pyqt.mkTobias C. Berner2017-12-301-0/+4
| | | | | | | | Reviewed by: adridg, jrm Differential Revision: https://reviews.freebsd.org/D13055 Notes: svn path=/head/; revision=457606
* Update comment: add ruby 2.5Sunpoet Po-Chuan Hsieh2017-12-271-1/+1
| | | | Notes: svn path=/head/; revision=457388
* Add ruby25 2.5.0 (copied from ruby24)Sunpoet Po-Chuan Hsieh2017-12-271-2/+14
| | | | Notes: svn path=/head/; revision=457387
* Update USES=compiler:c++14-lang to Clang 5.0 on FreeBSD 10Jan Beich2017-12-271-4/+4
| | | | | | | | | PR: 224591 Exp-run by: antoine Approved by: portmgr (antoine) Notes: svn path=/head/; revision=457360
* libtool.mk: pass through LDFLAGS -fuse-ld=*Ed Maste2017-12-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some ports depend on permissive or broken behaviour from the GNU BFD linker, ld.bfd. Clang and GCC support a -fuse-ld= flag to choose a specific linker, and as we migrate to installing lld as the base system /usr/bin/ld we'll want to make use of -fuse-ld=bfd to use bfd for ports that fail to link, or fail to run when linked with lld. An upstream libtool change[1] from Feb 2016 supports passing through -fuse-ld=, but it has not yet made it into a release. Patch an equivalent change into ltmain.sh via Mk/Uses/libtool.mk. Original proposal just patched ltmain.sh in devel/libtool. That would address ports that run libtoolize via autoreconf, including lang/mono which is one of the ports that fails to link with lld and responsible for many downstream skipped ports. Patching ltmain.sh via libtool.mk (tijl's suggestion) handles that case as well as ports that include their own copy of ltmain.sh. A later change may patch devel/libtool so that -fuse-ld works if using a ports-installed libtool to build software outside of the ports tree; the change in this commit is intended to address building in the ports tree. [1] http://git.savannah.gnu.org/cgit/libtool.git/commit/?id=f9970d99293faf908fdc153a653fa5781095fb7a PR: 214864, 224514 Reviewed by: tijl Approved by: portmgr (antoine) Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D13589 Notes: svn path=/head/; revision=457295
* www/firefox: switch to devel/llvm50 for StyloJan Beich2017-12-261-1/+1
| | | | Notes: svn path=/head/; revision=457267
* Change default version of ruby from 2.3 to 2.4Steve Wills2017-12-241-1/+1
| | | | | | | | PR: 223949 Exp-Run: antoine Notes: svn path=/head/; revision=457193
* Remove support for USE_AUTOTOOLS=automake.Tijl Coosemans2017-12-241-41/+4
| | | | Notes: svn path=/head/; revision=457175
* Remove support for USE_AUTOTOOLS=aclocal and USE_AUTOTOOLS=autoheader.Tijl Coosemans2017-12-241-49/+6
| | | | Notes: svn path=/head/; revision=457157
* Take maintainership from autotools@. That group is no longer active.Tijl Coosemans2017-12-232-2/+2
| | | | Notes: svn path=/head/; revision=457052
* Change default version of samba from 4.4 to 4.6Antoine Brodin2017-12-231-1/+1
| | | | | | | | | Reviewed by: mat With hat: portmgr Differential Revision: https://reviews.freebsd.org/D13529 Notes: svn path=/head/; revision=457024
* Report (in q/a) and fix (in shebangfix) python[23] shebangsDmitry Marakasov2017-12-212-2/+9
| | | | | | | | | | | | | | | | | | Currently, only python shebangs (e.g. /bin/python, /usr/local/bin/python, /usr/bin/env python etc.) are reported by stage Q/A and fixed by USES=shebangfix. We need to do the same for python[23] as well. Before the problem was not noticeable since many ports had e.g. USES=python:2, which added a dependency on python2 metaport, however that's going to switch to USES=python:2.7, and neither it, nor more widely used USES=python adds a dependency on metaports, so there's very high probability that python[23] links are not available. Approved by: portmgr (mat) Differential Revision: https://reviews.freebsd.org/D13571 Notes: svn path=/head/; revision=456908
* Add an option helper for BINARY_ALIASBaptiste Daroussin2017-12-201-1/+1
| | | | Notes: svn path=/head/; revision=456799
* Enhance USES=uniquefiles to be more generic.Mathieu Arnold2017-12-192-21/+55
| | | | | | | | | | | | | | | | | | | This allows to have more complex renaming schemes. Until now, it could only add a prefix or a suffix, but this was not working at all for man pages, because it would give man/man1/pyfoo.1.gz-2.7 or man/man1/pyfoo-1-2.7.gz. With this change, a man page will be correctly renamed to man/man1/pyfoo-2.7.1.gz. Unfix ports that were already handling man pages. PR: 220214 Submitted by: Fukang Chen (previous patch) Exp-run by: antoine Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D13444 Notes: svn path=/head/; revision=456737
* Update lang/ruby2[2,3,4] to latest versions.Steve Wills2017-12-191-6/+6
| | | | | | | | | | | | Fixes a security issue. PR: 224356 Submitted by: Yasuhiro KIMURA <yasu@utahime.org> MFH: 2017Q4 Security: dd644964-e10e-11e7-8097-0800271d4b9c Notes: svn path=/head/; revision=456700
* Revert r456619:Antoine Brodin2017-12-181-3/+0
| | | | | | | | | | | | - flang is only supported on amd64 - with default OPTIONS on amd64, R doesn't link against libflang - in the case R is build with FLANG option, flang is already added as a runtime dependency by USES=fortran:flang With hat: portmgr Notes: svn path=/head/; revision=456667