1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-16 03:24:07 +00:00
Commit Graph

6552 Commits

Author SHA1 Message Date
Mathieu Arnold
644b6c731d SC2091: Remove surrounding $() to avoid executing output.
ShellCheck has detected that you have a command that just consists of a
command substitution.

This is typically done in order to try to get the shell to execute a
command, because $(..) does indeed execute commands. However, it's also
replaced by the output of that command.

PR:		227109
Submitted by:	mat
Sponsored by:	Absolight
2018-06-01 16:20:42 +00:00
Mathieu Arnold
267d5b45d4 SC2163: Exporting an expansion rather than a variable.
export takes a variable name, but shellcheck has noticed that you give
it an expanded variable instead. The problematic code does not export
MYVAR but a variable called foo if any.

Add exception when using indirections where the variable to extract is
actually the value of the variable.

PR:		227109
Submitted by:	mat
Sponsored by:	Absolight
2018-06-01 16:20:39 +00:00
Mathieu Arnold
c9551e33bb SC2034: <some var> appears unused. Verify it or export it.
Variables not used for anything are often associated with bugs, so
ShellCheck warns about them.

PR:		227109
Submitted by:	mat
Sponsored by:	Absolight
2018-06-01 16:20:36 +00:00
Mathieu Arnold
6675b402ba SC2198: Arrays don't work as operands in [ ]. Use a loop (or concatenate with * instead of @).
Array expansions become a series of words in [ .. ]. Operators expect
single words only.

PR:		227109
Submitted by:	mat
Sponsored by:	Absolight
2018-06-01 16:20:33 +00:00
Mathieu Arnold
9035fb8956 SC2221 & SC2222: This pattern always overrides a later/previous one.
You have specified multiple patterns in a case statement, where one will
always override the other. The pattern being overridden is indicated
with a SC2222 warning.

PR:		227109
Submitted by:	mat
Sponsored by:	Absolight
2018-06-01 16:20:29 +00:00
Mathieu Arnold
c71660dad5 SC2068: Double quote array expansions to avoid re-splitting elements.
Double quotes around $@ prevents globbing and word splitting of
individual elements, while still expanding to multiple separate
arguments.

Add exceptions when splitting is the intended behavior.

PR:		227109
Submitted by:	mat
Sponsored by:	Absolight
2018-06-01 16:20:26 +00:00
Mathieu Arnold
d605296d6e SC2145: Argument mixes string and array. Use * or separate argument.
The behavior when concatenating a string and array is rarely intended.
The preceeding string is prefixed to the first array element, while the
succeeding string is appended to the last one. The middle array elements
are unaffected.

For example, with the parameters foo,bar,baz, "--flag=$@" is equivalent
to the three arguments "--flag=foo" "bar" "baz".

PR:		227109
Submitted by:	mat
Sponsored by:	Absolight
2018-06-01 16:20:22 +00:00
Joseph Mingrone
3ae34aead8 editors/emacs: Update to version 26.1
NEWS: https://www.gnu.org/software/emacs/news/NEWS.26.1

Port changes
- Incorporate latest canna patches submitted by
  TAKANO Yuji <takachan@running-dog.net>.
- Remove workarounds for Bug 227799.
  - Configure succeeds whether devel/liblockfile is installed or not.
- Customize COMMENT for canna and nox flavors (reported by tobik).
- Remove legacy lldb for gud patch.
  - The patch added very little over running lldb on the command line.
    Moreover, gud is deprecated.  Hopefully a lldb-mi will arrive soon.

Reviewed by:	ashish (maintainer)
Differential Revision:	https://reviews.freebsd.org/D15044
2018-05-31 01:17:52 +00:00
Mathieu Arnold
b9427974d6 Metaports do not have any files, they do not need a license.
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D15587
2018-05-27 07:54:42 +00:00
Tobias C. Berner
3499a0b700 kde.mk: fix and simplify the INSTALL_CONFLICTS for kde-applications
* kde:5 wrongly got a -4*, and did an unnecessary sub
* only use PORTNAME for the kde:4 ones
2018-05-26 08:14:28 +00:00
Jose Alonso Cardenas Marquez
23448313d6 - Add Uses/lazarus.mk
Approved by:	portmgr
2018-05-25 15:48:13 +00:00
Florian Smeets
5e339c9e0d Commit a file forgotten in 470799
Reported by:	antoine
2018-05-24 18:44:04 +00:00
Florian Smeets
ce5d6d0b91 - add net/corosync3 (2.99.2)
- add net/pacemaker2 (2.0.0-rc4)
- net/corosync -> net/corosync2 (update to 2.4.4)
- net/pacemaker -> net/pacemaker1 (update to 1.1.18)
- add USES=corosync to deal with multiple versions

PR:		228164, 228165
Submitted by:	David Shane Holden <dpejesh@yahoo.com>
2018-05-24 18:24:50 +00:00
Mathieu Arnold
fad77cc104 Add Perl 5.28.0-RC1.
Sponsored by:	Absolight
2018-05-21 13:50:39 +00:00
Tobias C. Berner
c6b7c3f708 New port: x11-themes/kf5-qqc2-desktop-style -- Qt QuickControl2 style for KDE 2018-05-19 11:08:09 +00:00
Tobias C. Berner
8298879770 Update KDE Frameworks to 5.46
Exp-run by:	antoine
PR:		228200
2018-05-18 16:57:06 +00:00
Raphael Kubo da Costa
70141f1a3a Update the Qt5 ports to 5.10.1.
The work was done by tcberner and myself, with thanks to antoine for the
exp-run.

Not a lot to report compared to other Qt5 updates:
* net/qt5-network is still broken with LibreSSL. I said this in a commit
  message ages ago but it bears repeating: upstream is open to adding support
  for LibreSSL, but someone needs to step up to maintain it upstream, otherwise
  things will continue to be broken all the time.
* www/qt5-webengine is a huge monster that is terrible to update, just like
  www/chromium itself is. We (kde@) have decided to keep using the 5.9 series
  for the time being, as it should be compatible with the rest of Qt anyway. It
  was updated to 5.9.5, the latest 5.9 release at the time of writing.

PR:		228213
2018-05-18 12:27:43 +00:00
Timur I. Bakeyev
ba8d037602 Add 'test' target to the WAF-enabled ports 2018-05-17 00:51:35 +00:00
Koop Mast
edd3a4650b Add gtksourceview4 4.0.1.
* This port is still gtk30 based.
* Add license lines
* Add WWW: prefix in the pkg-descr

Obtained from:	gnome devel repo
2018-05-14 20:43:50 +00:00
Tijl Coosemans
23e99b00ef Run "/usr/sbin/service ldconfig restart" for USE_LDCONFIG instead of
"ldconfig -m <path>" so the order of ldconfig search directories after
package installation is the same as after a reboot.  The original command
simply appends the path to the list of directories while the ldconfig rc.d
script uses "sort -u".

Bump lang/gcc* which are known to install libraries with exactly the same
name so the library loaded at runtime depends on the order of the search
directories.

PR:		228046
Approved by:	portmgr (antoine)
2018-05-14 19:15:36 +00:00
Baptiste Daroussin
f8fa2e1ba5 Remove LIBDIR from build env variable
This is leaking LIBDIR information (which is defined in base share/mk/*) to
the build environement with a value which is not really suitable for ports
(/usr/lib) which may have an impact on some build system forcing the maintainer
to override the value.

Revealed during the update of liblz4

PR:		228059
Submitted by:	bapt
Exp-run by:	antoine
2018-05-14 19:06:13 +00:00
Joseph Mingrone
d1d0edc2ab Mk/Uses/Emacs: Add noflavors argument to USES=emacs
Reported by:	des
Reviewed by:    des
Approved by:    ashish
Differential Revision:	https://reviews.freebsd.org/D15265
2018-05-14 18:28:35 +00:00
Tobias C. Berner
45779b5828 Fix desktuils/kdepim dependencies
* Add missing dependency on PIM applications.

Reported by:	starikarp@yandex.com
2018-05-14 05:36:47 +00:00
Tobias C. Berner
74fcc5aebb Update KDE Applications to 18.04.1 2018-05-11 06:09:39 +00:00
Bryan Drewery
9c31cc2ac7 stage-qa: Change stripped check to only look for .debug_info.
'strip -x', and splitting out debug symbols with objcopy, will leave
a .symtab section but will still remove the .debug_info section.  file(1)
shows this distinction as well after the use of 'strip -x':

    work/tcl8.7a1/unix/libtcl8.7.so:       ELF 64-bit LSB shared object, x86-64, version 1 (FreeBSD), dynamically linked, with debug_info, not stripped
    work/stage/usr/local/lib/libtcl8.7.so: ELF 64-bit LSB shared object, x86-64, version 1 (FreeBSD), dynamically linked, not stripped

This fixes false-positives when using install-strip and symbol splitting.

With hat:	portmgr
2018-05-10 23:00:15 +00:00
John Baldwin
3708c41ab9 Add 32-bit mips support to base/binutils and base/gcc.
- When cross-building packages, set ARCH to the target arch instead of
  the arch of the build host.  This fixes bsd.ssp.mk on MIPS which was
  trying to enable SSP on MIPS cross-built packages because the host
  ARCH was amd64.  A new HOST_ARCH variable is added to set the
  --build triple for configure scripts, but I believe most other uses of
  ARCH in ports are really about the target, not the build host so this
  is the more correct general direction.
- Some updates to base/binutils and base/gcc to use ARCH as the target
  architecture.
- Drop the extra arguments to GCC to set include and library paths and
  only set --sysroot.
- Move the --sysroot flags into CC, CXX, CPP (which is now set to XCPP)
  and LD instead of passing it in CFLAGS, etc.  The base/gcc build uses
  ends up using the CFLAGS when building native binaries for the build
  host which fails when tripping over the --sysroot.  I think this might
  have accidentally worked before because the powerpc64 headers in
  /usr/include/machine were "close enough" to the amd64 headers, but with
  32-bit MIPS this failed hard.
- Add the GCC MIPS patch from devel/powerpc64-gcc to base/gcc to add
  MIPS support to base/gcc.
- Add a MIPS plist for base/binutils.
- Set helper variables for the base/gcc plist to tag architecture-specific
  headers (e.g. for intrinsincs) and use these to tag powerpc and MIPS
  specific headers.
- Drop the include-fixed headers from base/gcc.
- Strip /usr/local/include from the default list of include paths for
  base/gcc.
- Use libc++'s include path for C++ for base/gcc.

Reviewed by:	bapt
Approved by:	portmgr (bapt)
Differential Revision:	https://reviews.freebsd.org/D15267
2018-05-09 15:18:27 +00:00
Rene Ladan
32e34e91cb Restore PHP _ALT variables removed in r469307
Pointy hat:	rene
Reported by:	mat
2018-05-08 20:12:44 +00:00
Jan Beich
67a9073255 Drop FreeBSD 10.3 support
Reviewed by:	yuri (SoPlex), sunpoet (nghttp2), cpm (chromium), brooks (llvm*)
Approved by:	portmgr (rene)
Differential Revision:	https://reviews.freebsd.org/D15238
2018-05-07 22:29:46 +00:00
Bernard Spil
11a52e7dd1 Mk/Uses/php.mk: Drop support for WANT_ and USE_ PHP vars
Approved by:	portmgr (rene)
Differential Revision:	https://reviews.freebsd.org/D15014
2018-05-07 18:18:17 +00:00
Antoine Brodin
0f5242ee52 Note that samba 4.8 is supported and samba 4.4 no longer exists 2018-05-05 08:57:37 +00:00
Tobias C. Berner
63b71c1ca6 Update KDE Plasma Desktop to 5.12.5
Submitted by:	lwhsu
2018-05-03 16:51:47 +00:00
Mathieu Arnold
421b46b698 Add a warning about setting DISTNAME and USE_GITHUB=yes
Sponsored by:	Absolight
2018-05-03 09:16:30 +00:00
Mathieu Arnold
c27599182b Note that 10.3 is not supported any more.
Sponsored by:	Absolight
2018-05-02 15:00:41 +00:00
Jan Beich
fda179862d www/firefox: update to 60.0
- Add U2F support, required by Web Authentication [1]
- Drop libv4l support to reduce maintenance

Changes:	https://www.mozilla.org/firefox/60.0/releasenotes/
PR:		226476
Tested by:	tobik, jrm, D. Ebdrup, lwhsu
Submitted by:	Greg V [1]
Security:	5aefc41e-d304-4ec8-8c82-824f84f08244
MFH:		2018Q2
Differential Revision:	https://reviews.freebsd.org/D15186
2018-05-01 00:51:37 +00:00
Tobias C. Berner
ddd37ce3fd Update the QScintilla2 ports to 2.10.4 2018-04-29 16:19:44 +00:00
Tobias C. Berner
e714368786 Update KDE Applications to 18.04.0
* Pin multimedia/kdelive at 17.12.3 until we import the mlt update from the dev-repo.
2018-04-28 18:11:49 +00:00
Jan Beich
5e1285aafa Update USES=compiler:c++14-lang to Clang 6.0 on FreeBSD 10
PR:		227679
Exp-run by:	antoine (only 10.4)
2018-04-27 23:14:32 +00:00
Jan Beich
dab52a12cd graphics/mesa-dri: switch to llvm60
PR:		227682
2018-04-27 23:09:59 +00:00
Tobias C. Berner
ef944cd353 Import the KDE Plasma5 ports
This is an import of the Plasma5 ports that we have had in the development
repository for quite some time now.

Please note:
 * Plasma5 cannot be installed at the same time as KDE SC4.
 * Qt5 assumes /etc/localtime to be a symlink to a tz file, not a regular file.
 * To start plasma5, it is recommended to use something like
       exec ck-launch-session startkde
 * Powermanagement and such is not working :-)

I would like to thank all the people that have helped test it in the past years.

Reviewed by:	adridg
Differential Revision:	https://reviews.freebsd.org/D15096
2018-04-27 20:29:36 +00:00
Tobias C. Berner
c3c66ef88c Update KDE Frameworks to 5.45.0
PR:		227512
Exp-run by:	antoine
2018-04-26 19:54:43 +00:00
Bernard Spil
b8a86baa34 Uses/Mk/pear.mk: Get rid of USE_PHPIZE remnants
Approved by:	tz (maintainer)
Differential Revision:	https://reviews.freebsd.org/D15012
2018-04-23 18:18:20 +00:00
Jan Beich
297facc037 devel/cmake: allow consumers to qualify boost_python version
PR:		227428
Exp-run by:	antoine
2018-04-18 13:58:15 +00:00
Jan Beich
cc95712fbe devel/boost-*: update to 1.67.0
Changes:	http://www.boost.org/users/history/version_1_67_0.html
PR:		227427
Exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D15030
2018-04-18 13:57:42 +00:00
Sunpoet Po-Chuan Hsieh
1f996e1339 Update MASTER_SITE_CHEESESHOP
https://pypi.python.org/ redirects to https://pypi.org/
2018-04-17 19:14:58 +00:00
Sunpoet Po-Chuan Hsieh
f1c1053792 Add shared JPEG2000 description 2018-04-16 18:33:25 +00:00
Thomas Zander
a913cf5620 Retire MASTER_SITE_MPLAYERHQ
Rationale:
- MPLAYERHQ was an alias for www[1-5].mplayerhq.hu
- www.mplayerhq.hu uses dns load balancing already
  for a while, essentially rendering the above
  alias futile
- At times, some of the www[1-9] instances do not
  participate in the balancing while others do.
  (At the time of this writing, for instance www3
   does not have a dns record but www8 does. The
   latter was not part of MASTER_SITE_MPLAYERHQ)
- The MPLAYERHQ alias was only used by two ports
  in the tree:
  multimedia/mplayer-skins
  multimedia/win32-codecs
2018-04-15 12:51:48 +00:00
Eric Turgeon
7d2d36aed6 Updating MATE ports to and patch for MATE 1.20
Reviewed by:	kwm
Approved by:	bapt (mentor)
2018-04-13 21:16:56 +00:00
Mathieu Arnold
ed149bc97f Try and prevent people from adding github archive urls.
If you use the archive URL directly, you end up having non unique
distfiles named 0.9.5.tar.gz or v2.2.2.tar.gz, and soon, another port
ends up having the same version, and boom.

Reviewed by:	bdrewery
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D15039
2018-04-12 11:11:25 +00:00
Timur I. Bakeyev
9b576d8b4e Add Samba 4.8 as possible default version, remove obsolete Samba 4.4
PR:		227453
Sponsored by:	iXsystems Inc.
2018-04-12 08:54:29 +00:00
Tobias C. Berner
b23d58fb62 New ports: KDE Applications deskutils/
* deskutils/akonadi-calendar-tools
* deskutils/akonadi-import-wizard
* deskutils/akonadiconsole
* deskutils/akregator
* deskutils/grantlee-editor
* deskutils/kaddressbook
* deskutils/kalarm
* deskutils/kcharselect
* deskutils/kdepim-addons
* deskutils/kdepim-runtime
* deskutils/keditbookmarks
* deskutils/kfind
* deskutils/kmail
* deskutils/kmail-account-wizard
* deskutils/knotes
* deskutils/kontact
* deskutils/korganizer
* deskutils/kruler
* deskutils/mbox-importer
* deskutils/pim-data-exporter
* deskutils/pim-sieve-editor

This is the current version of KDE Applications <foo>.
Note that users of KDE SC4 should stick with <foo>-kde4.

This adds a slew of KDE Pim related ports and some of their dependencies.
Note, that KDE Pim has a history of working poorly on FreeBSD.
2018-04-10 19:31:53 +00:00
Tobias C. Berner
39fa5f95a7 New ports: KDE Applications net/ and dependencies
* deskutils/grantleetheme
* deskutils/kdepim
* deskutils/kdepim-apps-libs
* deskutils/libkdepim
* net/akonadi-calendar
* net/akonadi-contacts
* net/akonadi-mime
* net/akonadi-notes
* net/akonadi-search
* net/calendarsupport
* net/eventviews
* net/incidenceeditor
* net/kalarmcal
* net/kblog
* net/kcalcore
* net/kcalutils
* net/kcontacts
* net/kdav
* net/kdenetwork-filesharing
* net/kget
* net/kidentitymanagement
* net/kimap
* net/kldap
* net/kmailtransport
* net/kmbox
* net/kmime
* net/kontactinterface
* net/kpimtextedit
* net/krdc
* net/krfb
* net/ksmtp
* net/ktnef
* net/libgravatar
* net/libkgapi
* net/libksieve
* net/mailcommon
* net/mailimporter
* net/messagelib
* net/pimcommon
* net/zeroconf-ioslave
* security/libkleo

This is the current version of KDE Applications <foo>.
Note that users of KDE SC4 should stick with <foo>-kde4.

This adds a slew of KDE Pim related ports and some of their dependencies.
Note, that KDE Pim has a history of working poorly on FreeBSD.
2018-04-10 19:09:05 +00:00
Tobias C. Berner
4e7e29a51e New ports: net-p2p/ktorrent, net-p2p/libktorrent, net/syndication
This is the current version of KDE Applications <foo>.
Note that users of KDE SC4 should stick with <foo>-kde4.

This one is a bit ugly: move libktorrent and ktorrent-kde4 out of the way and
readd the new ones in one go, to not have to touch the same MOVED lines in a
short time span.

Also this adds a very stripped down version of the desktuils/kdepim metaport,
which will get more and more dependencies added shortly.
2018-04-10 18:17:02 +00:00
Tobias C. Berner
bee4749fcd New ports: databases/akonadi
This is the current version of KDE Applications <foo>.
Note that users of KDE SC4 should stick with <foo>-kde4.
2018-04-09 19:02:33 +00:00
Tobias C. Berner
4e40cf2000 New ports: KDE Applicationsa games/
* games/kblackbox
* games/kmahjongg
* games/palapeli
* games/ktuberling
* games/klines
* games/kjumpingcube
* games/picmi
* games/ksquares
* games/kolf
* games/kmines
* games/kdiamond
* games/kpat
* games/lskat
* games/kubrick
* games/ksirk
* games/blinken
* games/kdegames
* games/kigo
* games/bovo
* games/kajongg
* games/kapman
* games/kreversi
* games/kshisen
* games/katomic
* games/kanagram
* games/kiriki
* games/killbots
* games/libkmahjongg
* games/ksudoku
* games/ksnakeduel
* games/knetwalk
* games/khangman
* games/kbounce
* games/kspaceduel
* games/kgoldrunner
* games/knavalbattle
* games/libkdegames
* games/kfourinline
* games/kollision
* games/granatier
* games/kbreakout
* games/konquest
* games/bomber
* games/kblocks
* games/klickety

This is the current version of KDE Applications <foo>.
Note that users of KDE SC4 should stick with <foo>-kde4.

Differential Revision:	https://reviews.freebsd.org/D14831
2018-04-08 18:09:23 +00:00
Tobias C. Berner
95ac09da88 New ports: astro/libkgeomap, astro/marble
This is the current version of KDE Applications <foo>.
Note that users of KDE SC4 should stick with <foo>-kde4.

Differential Revision:	https://reviews.freebsd.org/D14823
2018-04-08 17:21:34 +00:00
Tobias C. Berner
3cd2362261 New port: editors/kate
This is the current version of KDE Applications <foo>.
Note that users of KDE SC4 should stick with <foo>-kde4.

Differential Revision:	https://reviews.freebsd.org/D14832
2018-04-08 17:13:22 +00:00
Tobias C. Berner
01fe74759a New ports: KDE Applications graphics/
* graphics/gwenview
* graphics/kamera
* graphics/kcolorchooser
* graphics/kdegraphics-mobipocket
* graphics/kdegraphics-svgpart
* graphics/kdegraphics-thumbnailers
* graphics/kimagemapeditor
* graphics/kolourpaint
* graphics/libkdcraw
* graphics/libkexiv2
* graphics/libkipi
* graphics/libksane
* graphics/okular
* graphics/spectacle

This is the current version of KDE Applications <foo>.
Note that users of KDE SC4 should stick with <foo>-kde4.

Differential Revision:	https://reviews.freebsd.org/D14833
2018-04-08 17:01:54 +00:00
Tobias C. Berner
bab09b455d Extend kde.mk by plist handling
For ports that specify CATEGORIES=kde-applications, automatically add documentation to the plist.

Differential Revision:	https://reviews.freebsd.org/D14821
2018-04-06 19:17:44 +00:00
Jose Alonso Cardenas Marquez
5ab881a5d9 - Migrate Mk/bsd.fpc.mk to Mk/Uses/fpc.mk
- Convert all fpc-based ports to USES=fpc

PR:             227210
Reviewed by:    portmgr
Approved by:    portmgr
Exp-run by:     antoine
Differential Revision:  https://reviews.freebsd.org/D14617
2018-04-05 04:52:36 +00:00
Sunpoet Po-Chuan Hsieh
7580f88f56 Update to 2.4.4
Changes:	https://www.ruby-lang.org/en/news/2018/03/28/ruby-2-4-4-released/
PR:		227091
Exp-run by:	antoine
Security:	eb69bcf2-18ef-4aa2-bb0c-83b263364089
2018-04-03 09:46:20 +00:00
Mathieu Arnold
17390d808c Switch the default Perl to 5.26.
PR:		226817
Exp-run by:	antoine
Sponsored by:	Absolight
2018-03-30 12:15:43 +00:00
Sunpoet Po-Chuan Hsieh
72e5ec510e Update to 2.5.1
Changes:	https://www.ruby-lang.org/en/news/2018/03/28/ruby-2-5-1-released/
Security:	eb69bcf2-18ef-4aa2-bb0c-83b263364089
2018-03-29 20:01:41 +00:00
Sunpoet Po-Chuan Hsieh
8b1d25b2a7 Update to 2.3.7
Changes:	https://www.ruby-lang.org/en/news/2018/03/28/ruby-2-3-7-released/
Security:	eb69bcf2-18ef-4aa2-bb0c-83b263364089
2018-03-29 19:59:47 +00:00
Tobias C. Berner
dc579c4cc2 Fix permissions in installed Qt5 header files
For the qt5-* ports bsd.qt.mk sets EXTRACT_AFTER_ARGS, and
thereby does not get the normal default value of
      --no-same-owner --no-same-permissions
passed when extracting. This lead to for example header files
being installed (i.e. copied), with permissions group write
permissions.

Manually append that to the bsd.qt.mk shenanigans (also do the
same in www/qt5-webchannel, which opts out of the bsd.qt.mk value)

PR:		227027
Reported by:	grarpamp@gmail.com
2018-03-29 19:03:17 +00:00
Ed Maste
73ca9e7230 Use BINARY_ALIAS to make LLD_UNSAFE more widely applicable
Some ports do not honour $LD or -fuse-ld=bfd in $CFLAGS, but do invoke
ld via $PATH.   Automatically set BINARY_ALIAS+=ld=${LD} when LLD_UNSAFE
is active to use ld.bfd for these ports.

Approved by:	portmgr (antoine)
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D14876
2018-03-29 15:02:05 +00:00
Baptiste Daroussin
3147bb6c6b Make libgnome and libgnomeui not implying esound dependency
It has been a while both does not depend anymore on esound, before this change
esound dependency was wrongly added to plenty of packages which actually does
not depend on it.

While here:

- audio/glame: remove esound support
- games/monkeybubble: add an explicit dependency on esound
- sysutils/gnome-schedule: add en explicit dependency on pkg-config
- comms/kb: add missing dependency on pkgconfig
- x11-toolkits/libgnomeui:
  * update to 2.4.5
  * use USES=localbase
2018-03-26 12:38:56 +00:00
Tobias Kortkamp
4cd4110a9a Add WAYLAND_DESC 2018-03-25 15:36:32 +00:00
Sunpoet Po-Chuan Hsieh
06bfeeb0b0 Rename MASTER_SITE_SOURCEFORGE_JP to MASTER_SITE_OSDN
PR:		225609
Submitted by:	Yasuhiro KIMURA <yasu@utahime.org>
2018-03-24 21:12:13 +00:00
Tobias C. Berner
4ef12d95ff Fix space/tab error 2018-03-24 10:57:42 +00:00
Tobias C. Berner
399459723a Extend kde.mk by KDE_APPLICATIONS_SHLIB_VER plist sub 2018-03-24 10:55:48 +00:00
Tobias C. Berner
fc292011ac Sync kde.mk a bit with the development repo.
This should ease the import of the new ports for Applications and Plasma Desktop.
- add some more component handling
- bump KDE_APPLICATIONS_VERSION (no direct consumers exist in the ports tree atm)
- fix some space/tab errors

Differential Revision:	https://reviews.freebsd.org/D14814
2018-03-24 10:13:33 +00:00
Baptiste Daroussin
2276775a7e Remove last occurence of WANT_GNOME which was removed
monthes ago
2018-03-21 14:51:52 +00:00
Tobias C. Berner
d6c7ef51cf Move databases/akonadi to databases/akonadi-kde4 2018-03-20 18:03:48 +00:00
Bryan Drewery
0a333cd5e8 Fix some recursive targets using the wrong FLAVOR.
Reported by:	Andrzej Tobola <ato@iem.pw.edu.pl>, koobs
Approved by:	portmgr (implicit)
2018-03-19 21:39:40 +00:00
Tobias Kortkamp
aabc377800 Fix post-patch-SNDIO-on in preparation of updates to www/firefox 60.0
and to www/palemoon 27.8.1

Some patches no longer apply to them.  WebRTC has moved paths in
Firefox 60.0 and no longer needs to be patched.  Pale Moon removed
WebRTC completely in 27.8.0.

PR:		226476
Approved by:	gecko (jbeich)
2018-03-19 05:46:02 +00:00
Bryan Drewery
1fc7692af8 Don't add 'yes' onto the end of errored std output lookups. 2018-03-16 19:31:14 +00:00
Bryan Drewery
4fcbb452e8 Define CONFIG_SITE even without GNU_CONFIGURE as some ports still benefit from it.
Approved by:	portmgr (implicit)
2018-03-15 02:36:47 +00:00
Bryan Drewery
64b73075ab PORTS_ENV: Reorder CC hash and std hash so CC's comes first.
This is only a cosmetic change.

Approved by:	portmgr (implicit)
2018-03-14 23:21:12 +00:00
Bryan Drewery
e9cbf56e8f PORTS_ENV: Rename OUTPUT_* to CC_OUTPUT_* to be more clearly related to compiler.mk.
This is purely a cosmetic change.

Approved by:	portmgr (implicit)
2018-03-14 23:10:36 +00:00
Bryan Drewery
b8b9db2c61 Don't define FLAVORS if EMACS_NO_DEPENDS is set.
This fixes at least sysutils/lr exposing FLAVORS 'nox full' improperly.

Reviewed by:	jrm
Tested by:	jrm
2018-03-13 23:46:30 +00:00
Bryan Drewery
7b11b952b5 Add PORTS_ENV_VARS caching support to USES=objc.
Approved by:	portmgr (implicit)
2018-03-13 21:43:28 +00:00
Jan Beich
7854dad7b9 gecko: drop MOZ_EXTENSIONS, it's no longer unused 2018-03-13 13:48:06 +00:00
Bryan Drewery
9823f56764 FLAVORS: Reorder so the default is first.
It is documented that the first FLAVOR is the default.  Due to some use
of DEFAULT_VERSIONS and USES, the default FLAVOR may be determined
dynamically.  Poudriere in particular expects the default to be first
and does the wrong thing for emacs ports currently [1].  This resolves
that and avoids other tools making the same mistake.

PR:		225659 comment #14
Approved by:	portmgr (implicit)
2018-03-12 19:04:59 +00:00
Bryan Drewery
30bc9e3223 FLAVORS: Fix several 'make *recursive' targets not passing along FLAVOR properly.
PR:		225659 comment #15
Approved by:	portmgr (implicit)
2018-03-12 18:19:29 +00:00
Tobias C. Berner
cf2ff32ee7 Update py-sip to 4.19.8 and qscintilla2 to 2.10.3
PR:		226487
Exp-run by:	antoine
2018-03-12 18:06:51 +00:00
Tobias C. Berner
5eee07cb16 Update KDE Frameworks to 5.44
PR:		226498
Exp-run by:	antoine
2018-03-12 18:04:49 +00:00
Bernard Spil
a80b8e64ed Mk/Uses/apache.mk: Migrate Mk/bsd.apache.mk to Uses
- Chase required changes in framework (bsd.sanity.mk, bsd.port.mk)
 - Chase required changes in ports (version checks)
 - Chase required changes in PHP ports (include bsd.apache.mk)
 - exp-run by antoine, brnrd, joneum

PR:             223691 (exp-run)
Reviewed by:    joneum (hat apache), mat (portmgr), antoine (portmgr)
Approved by:    joneum (hat apache)
Approved by:	portmgr
With hat:       apache
2018-03-11 14:23:28 +00:00
Ben Woods
ddc0a187c8 Allow USES=go ports to override make targets & include <bsd.port.pre.mk>
Prior to this change, if a port had:
- USES=go.mk,
- .include <bsd.port.pre.mk>, and
- overrode a make target (e.g. post-extract:)

then the following warnings were produced when invoking make on the port:
  make: "/usr/local/poudriere/ports/default/CATEGORY/PORT/Makefile" line XX: warning: duplicate script for target "post-extract" ignored
  make: "/usr/local/poudriere/ports/default/Mk/Uses/go.mk" line 68: warning: using previous script for "post-extract" defined here

This change fixes this issue by wrapping the definition of make targets
in a separate once-only !defined wrapper which is blocked until post.mk.
This concept was copied from Mk/Uses/python.mk.

PR:		224948
Submitted by:	woodsb02
Approved by:	jlaffaye (maintainer)
2018-03-11 02:24:26 +00:00
Mathieu Arnold
a1993564e0 Introduce PHP flavors.
Ports using USES=php:phpize, php:ext, php:zend, and php:pecl are now
  flavored.  They will automatically get flavors (php56, php70, php71, php72)
  depending of the versions they support (set with IGNORE_WITH_PHP).  As a
  consequence, ports using USES=pear and USES=horde are also flavored.

PR:		226242
Submitted by:	mat
Exp-run by:	antoine
Approved by:	portmgr
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D14208
2018-03-08 19:48:41 +00:00
Antoine Brodin
3f03008be0 Remove Uses/lazarus.mk, it was not reviewed, is currently unused and
probably doesn't work (USE_GNOME after USES inclusion for instance)

With hat:	portmgr
2018-03-08 19:10:29 +00:00
Pietro Cerutti
606f21ec5c Fix pkgconfig path when used in CMAKE_INSTALL_DATAROOTDIR 2018-03-08 09:08:48 +00:00
Jose Alonso Cardenas Marquez
8c0b4facc2 - Fix typo
Reported by:	jkim
2018-03-07 20:31:32 +00:00
Jose Alonso Cardenas Marquez
158833fc20 - Fix typo
Reported by:	jkim
2018-03-07 20:24:57 +00:00
Jose Alonso Cardenas Marquez
484e5cc9be - Introduce the new "lazarus" USES. The goal is to use it for lazarus-based
app support
2018-03-07 19:59:09 +00:00
Jose Alonso Cardenas Marquez
beae7b5f77 - Add LAZARUS_DEFAULT
- Other minor change
2018-03-07 17:33:33 +00:00
Mathieu Arnold
3754818b76 Handle flavors in the proxydeps qa check.
Reviewed by:	bdrewery
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D14595
2018-03-07 09:17:33 +00:00
Joseph Mingrone
0958841c11 Mk/Uses/emacs.mk: Tweak description of DEFAULT_VERSIONS+=emacs=...
DEFAULT_VERSIONS+=emacs=<flavor>

in make.conf only applies to ports with USES=emacs in their Makefile, and
not to the Emacs ports, editors/emacs and editors/emacs-devel.

While here, align some comments.
2018-03-06 20:01:35 +00:00
Mathieu Arnold
eb10fef04c Add a hint about devel/boost-python-libs.
Sponsored by:	Absolight
2018-03-06 16:25:16 +00:00
Jan Beich
f17014bd7d www/firefox: update to 59.0
Changes:	https://www.mozilla.org/firefox/59.0/releasenotes/
Security:	c71cdc95-3c18-45b7-866a-af28b59aabb5
MFH:		2018Q1
2018-03-06 00:56:50 +00:00
Mathieu Arnold
77abf09376 Bring in the sub-submodule extraction problem fix from USE_GITHUB.
PR:		226221
Sponsored by:	Absolight
2018-03-05 10:35:36 +00:00
Jan Beich
76d629a116 www/waterfox: drop bindgen workaround 2018-03-05 09:37:57 +00:00
Mathieu Arnold
9bd482e3bb Fix a regression on 10.3 introduced in r463301.
PR:		226221
Reported by:	mmokhi
Sponsored by:	Absolight
2018-03-05 08:29:33 +00:00
Richard Gallamore
8035da77dd * Add USE_GITLAB for fetching from www.gitlab.com and GitLab deployed sites.
Reviewed by:	mat
Approved by:	portmgr (mat)
Relnotes:	yes
Differential Revision:	https://reviews.freebsd.org/D12162
2018-03-03 06:50:15 +00:00
Bryan Drewery
874f7991d2 Avoid double exporting PORTS_ENV.
Approved by:	portmgr (implicit)
2018-03-03 01:18:50 +00:00
Adriaan de Groot
60c54b6248 Disable Qt4 sql-ibase plugin on not-(i386|amd64)
ibase is Firebird, which only builds on i386 and amd64. This patch
squashes the ibase plugin for Qt4.

PR:		216943
Submitted by:	linimon
Reported by:	linimon
Approved by:	tcberner (mentor)
Differential Revision:	https://reviews.freebsd.org/D14326
2018-03-02 13:07:57 +00:00
Mathieu Arnold
60a2a2ca9d Fix a sub-submodule extraction problem with GH_SUBDIR.
The problem is that GH_SUBDIR are handled in a somewhat random manner.  (The
truth is that in the end of things, they end up being sorted by the group name
being used in the GH_TUPLE.)

So if you have a submodule in bar/foo, and a sub-submodule in bar/foo/baz, it
may happen that foo/bar/baz is handled before foo/bar and then things are
messed up.

This makes it so the GH_SUBDIR target handling is sorted first by the
number of / in the path.  (So, bar/foo is always handled before
bar/foo/baz.)

PR:		226221
Reported by:	ygy
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D14532
2018-03-01 12:58:53 +00:00
Bryan Drewery
dc15d9f81f Add compiler.mk to PORTS_ENV.
This only handles the default CC=cc but is enough to significantly improve
INDEX/Poudriere ports var gathering due to reducing around a dozen cc
fork+exec for every port that all have the same result.  These values
are reused during the port build as well which reduces more fork+exec
contention there.

Approved by:	portmgr (implicit)
2018-02-28 19:34:05 +00:00
Bryan Drewery
ecec71a78a ports_env: Store list of variables to export in PORTS_ENV_VARS in mk files.
This will avoid renamed/removed variables being orphaned, and allows for
exporting variables in ports_env that are not wanted to be exported in
sub-makes via _EXPORTED_VARS.

Approved by:	portmgr (implicit)
2018-02-28 18:38:17 +00:00
Bryan Drewery
ef270f29a9 Chase r459584: Remove _PYTHON_DEFAULT_VERSION.
Approved by:	portmgr (implicit)
2018-02-28 18:34:31 +00:00
Sunpoet Po-Chuan Hsieh
de4090a01c Remove PYNUMERIC
It's only used by 1 port (devel/py-fortran).
2018-02-28 15:12:57 +00:00
Mathieu Arnold
37677d32e3 Switch some MASTER_SITES from http/ftp to https.
Also some cleanup of dead entries.

PR:		226203
Submitted by:	Sam H
Sponsored by:	Absolight
2018-02-27 13:03:48 +00:00
Antoine Brodin
bee759de61 Remove support for deprecated USES=python:2 and USES=python:3
PR:		225752
With hat:	portmgr
2018-02-26 19:33:21 +00:00
Stephen Montgomery-Smith
ae8d715aa0 - Try to correct a bunch of error messages reported by pkg-fallout@ on
FreeBSD 10.3.
2018-02-25 22:23:45 +00:00
Jan Beich
c9e462a84f gecko: convert to CONFIGURE_OUTSOURCE
client.mk is on its way out upstream, switching to it was a mistake.

$ MACH=1 gmake -f client.mk build
client.mk:40: /.mozconfig-client-mk: No such file or directory
gmake: *** No rule to make target '/.mozconfig-client-mk'.  Stop.

MFH:		2018Q1 (required by Firefox 59)
2018-02-25 06:39:36 +00:00
Bryan Drewery
d8250b1a19 WITH_CCACHE_BUILD: Fix some ports not using proper CCACHE_DIR.
Some ports will truncate CCACHE_DIR from the env and due to HOME=${WRKDIR}
will incorrectly use ${WRKDIR}/.ccache.  Symlink to the proper place.

Approved by:	portmgr (implicit)
2018-02-25 03:32:18 +00:00
Stephen Montgomery-Smith
1779c4cd51 - Add -std=gnu++11 to CXXFLAGS to accomodate update of octave to 4.2.1
(r462865).
2018-02-24 21:55:43 +00:00
Tobias C. Berner
a4a7daf069 Give the KDE SC4 applications ports a -kde4 suffix
In order to make room for the up-to-date version of the KDE Desktop and its
applications move the KDE Application ports based on Qt4.

PR:		225992
Exp-run by:	antoine
Reviewed by:	rakuco, adridg
Differential Revision:	https://reviews.freebsd.org/D14413
2018-02-22 19:03:17 +00:00
Bryan Drewery
5960d1f56f Remove leftover debugging 2018-02-21 21:26:46 +00:00
Bryan Drewery
e5a42a8c3c Fix RANDOMIZE_MASTER_SITES.
- /usr/games/random moved to /usr/bin/random in 11.0+
- Need to explicitly add in the pipe '|'

Approved by:	portmgr (implicit)
2018-02-20 22:58:19 +00:00
Bryan Drewery
51fc1d5b8c Reduce fstat(2) calls for SCRIPTDIR/* scripts.
There's only about 10 ports that actually use this, so rather than
spamming a dozen fstat(2) calls for every port during INDEX reduce
it to 1 for now.

Also avoid the fstat(2) if the target already exists.

Approved by:	portmgr (implicit)
2018-02-20 22:45:24 +00:00
Bryan Drewery
16d99f37ae Remove debugging 2018-02-20 22:25:54 +00:00
Bryan Drewery
9077bfebe7 Rework r462455: soeliminate never made it to a release, was only in 11-CURRENT.
Reported by:	antoine
Approved by:	portmgr (implicit)
2018-02-20 22:25:28 +00:00
Bryan Drewery
1d74731d38 Avoid fstat(/usr/bin/soeliminate) for every port when building INDEX.
Approved by:	portmgr (implicit)
2018-02-20 22:10:02 +00:00
Sunpoet Po-Chuan Hsieh
d04f0a7f2e Update comment: add pgsql 10 2018-02-20 20:27:36 +00:00
Raphael Kubo da Costa
d9a7efbbbd Update kdelibs to 4.14.38.
According to upstream, which has stopped making new releases of Qt4-based
software, this is the last kdelibs release ever.

Thanks to antoine for the exp-run.

PR:		225991
Differential Revision:	https://reviews.freebsd.org/D14411
2018-02-18 17:40:47 +00:00
Raphael Kubo da Costa
6699fae7a2 Update QScintilla 2.10.2.
Upstream has renamed its libraries and we no longer need to patch
devel/qscintilla-qt5 to create a library whose name does not conflict with
devel/qscintilla's. However, the library names are different so we need to bump
PORTREVISION in several ports (the SOVERSION has changed too).

Thanks to antoine for the exp-run.

PR:		225928
2018-02-18 09:55:10 +00:00
Gerald Pfeifer
ff031de251 http://mirrors.ibiblio.org/pub/mirrors/mozdev.org/ redirects to
http://mirrors.ibiblio.org/mozdev.org/ which also is shorter, so
adjust MASTER_SITE_MOZDEV accordingly.
2018-02-17 02:08:40 +00:00
Steve Wills
aa5e3913d2 lang/ruby25: apply upstream patch to fix segfault
PR:		225470
Submitted by:	Charlie Li <ml+freebsd@vishwin.info>
Obtained from:	https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=61523
Differential Revision:	https://reviews.freebsd.org/D14073
2018-02-16 03:11:46 +00:00
Tobias C. Berner
c8a04c8cdc Update KDE Frameworks to 5.43.0
PR:		225869
Exp-run by:	antoine
Reviewed by:	rakuco
Differential Revision:	https://reviews.freebsd.org/D14287
2018-02-15 17:05:45 +00:00
Mathieu Arnold
f6e7f26602 devel/boost-python-libs got forgotten in the python flavorization, fix
this oversight.

Reviewed by:	antoine
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D14368
2018-02-15 12:34:49 +00:00
Rene Ladan
8ff6e2fd4a Remove Postgresql 9.2 from the list of supported versions.
Submitted by:	cmt
2018-02-10 22:19:13 +00:00
Tobias C. Berner
737c1cc56d Rename KDE4 meta ports
This is done for
 * consistency,
 * and to simplify the import of the newer KDE Plasma5 desktop and KDE applications

Bumps the dependencies.

Reviewed by:	adridg
Differential Revision:	https://reviews.freebsd.org/D12979
2018-02-10 10:29:51 +00:00
Wolfram Schneider
363a2027cd use HTTPS whenever possible
PR:	 	221722
Approved by: bapt, portmgr
Differential Revision: https://reviews.freebsd.org/D14194
2018-02-08 19:38:34 +00:00
Bryan Drewery
eef0418ce0 Fix editors/vim-tiny hanging on reading stdin during generate-plist.
test -f "" is true so we need to only test if $PLIST is not empty.

Approved by:	portmgr (implicit)
2018-02-08 05:52:06 +00:00
Bryan Drewery
3036a660bb Remove leading newline to FLAVORS.
Approved by:	portmgr (implicit)
2018-02-06 20:49:09 +00:00
Steve Wills
b52a2cbd82 Fix cross build of base/ ports
This is a follow up to r461057 and fixes base/binutils and base/gcc in my
testing.

PR:		224217
Submitted by:	nwhitehorn (partially, I made additional changes)
Reviewed by:	bapt
2018-02-06 14:32:52 +00:00
Steve Wills
592d8d2d7c Changes from BZ PR 224217 plus minor changes to fix base/gcc fetch 2018-02-06 14:26:41 +00:00
Baptiste Daroussin
2f6b619246 Replace llvm 3.4 by llvm 5.0, as a choice for people who enforce clang
by default everywhere

This code would actually needs to be probably cleaned up, but that would be
for later
2018-02-06 13:30:29 +00:00
Joseph Mingrone
d2a6ddc438 Flavorize and modernize Emacs ports
This is an addendum to r460621 to fix the histories of Mk/Uses/emacs.mk
(copied from Mk/bsd.emacs.mk) and japanese/migemo-emacs (copied from
japanese/migemo-emacs23).

- Convert USE_EMACS to USES=emacs
- Rename japanese/migemo-emacs23 to japanese/migemo-emacs

Differential Revision:	https://reviews.freebsd.org/D13506
2018-02-02 13:43:14 +00:00
Joseph Mingrone
252f69e330 Remove Mk/Uses/emacs.mk and japanese/migemo-emacs
The svn histories were not preserved in r460621, so remove then restore
from r460620.

Differential Revision:	https://reviews.freebsd.org/D13506
2018-02-02 13:32:05 +00:00
Joseph Mingrone
a3cc513bfc Flavorize and modernize Emacs ports
- Convert USE_EMACS to USES=emacs
- Remove editors/emacs-nox11 (refer to nox flavors of editors/emacs and
  editors/emacs-devel)
- Permit default Emacs flavor to be specified in make.conf
- Rename japanese/migemo-emacs23 to japanese/migemo-emacs
- Update and simplify audio/emms and fix build on FreeBSD 10 [1]
- Update databases/bbdd and fix build on FreeBSD 10 [1]
- Update editors/emacs-devel
- Ensure Makefile shell commands that change directory are executed in a
  subshell
- Silence some portlint warnings

[1] By not depending on base texinfo

PR:		225404
Reviewed by:	antoine
Approved by:	portmgr (mat) ashish (maintainer)
Differential Revision:	https://reviews.freebsd.org/D13506
2018-02-01 18:03:09 +00:00
Mathieu Arnold
f508975358 Don't run create-manifest as root.
PR:		224992
Submitted by:	tobik
Reported by:	yuri
Exp-run by:	antoine
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D13798
2018-02-01 08:31:05 +00:00
Jose Alonso Cardenas Marquez
f68185c820 - Update to 3.0.4
- Connect www/fpc-libmicrohttpd
2018-02-01 07:14:41 +00:00
Tijl Coosemans
80ac24ec80 Add Linux version of sysutils/lttng-ust, needed by upcoming linux-dotnet
ports.

Submitted by:	dbn
2018-01-31 21:03:35 +00:00
Tijl Coosemans
5b57babc2c Add Linux version of sysutils/liburcu, needed by upcoming linux-dotnet ports.
Submitted by:	dbn
2018-01-31 20:39:20 +00:00
Tijl Coosemans
45394bc538 Add Linux version of devel/libunwind, needed by upcoming linux-dotnet ports.
Submitted by:	dbn
2018-01-31 20:10:29 +00:00
Tijl Coosemans
118cbc08c5 Add Linux version of devel/icu, needed by upcoming linux-dotnet ports.
Submitted by:	dbn
2018-01-31 19:50:13 +00:00
Sunpoet Po-Chuan Hsieh
127ede9871 Update comment: remove ruby 2.2 2018-01-31 16:44:04 +00:00
Sunpoet Po-Chuan Hsieh
783d9dc1c5 Remove lang/ruby22 2018-01-31 16:41:57 +00:00
Antoine Brodin
a78ac4eb99 Revert recent fpc changes, they were obviously untested
With hat:	portmgr
2018-01-30 22:11:13 +00:00
David Naylor
1da3310ac1 lang/mono: update to version 5.2.0.215 (and enhance USES=mono)
Highlights:
 - New Roslyn compiler for C# available
 - Improved support for nuget packages in USES=mono

General:
 - fix pkg-plist: mono now produces '.pdb' debug files instead of '.mdb'
 - bump all dependant ports

USES=mono:
 - properly handle caching of nuget packages
 - add support for multiple feeds for nuget packages
 - add support for nuget dependencies in a separate file
 - add support for paket packages

lang/mono:
 - update to version 5.2.0.215
 - automate certificate initialisation [2]
 - increase test coverage
 - mark as conflicting with net/czmq (conflicting on makecert) [1]
 - patch mono to use $PREFIX/share/mono instead of /usr/share/.mono

devel/google-gdata:
 - use nunit.framework nuget package as the Mono shipped version is no longer suppport.
 - switch to using csc(1) for compiling (mcs(1) is depreciated).
 - use delayed signing (and then sign with sn(1)) as csc(1) does not support signing.
 - fix reference to system assemblies (the '.dll' suffix is required).
 - fix reference to HttpUtility: csc(1) is more strict about scoping

devel/monodevelop:
 - reroll distinfo (no changes to content)

lang/fsharp:
 - reroll distinfo (no changes to content)

security/gnome-keyring-sharp:
 - delay sign (then sign with sn(1)) as csc(1) does not support direct signing.

PR:	223188 [1]
PR:	209670 [2]
Differential Revision:	https://reviews.freebsd.org/D13752
2018-01-30 19:00:27 +00:00
Jose Alonso Cardenas Marquez
974c424370 - Update to 3.0.4
- Link www/fpc-libmicrohttpd
2018-01-30 18:05:29 +00:00
Tijl Coosemans
6d8851f7ea Update EPEL and EPEL7 URL.
PR:		225540
Reported by:	dbn
2018-01-29 19:45:22 +00:00
Raphael Kubo da Costa
b09145bf97 Update Qt5 to 5.9.4.
Announcement:
https://blog.qt.io/blog/2018/01/23/qt-5-9-4-released/

This is a minor update and a lot easier to land than the previous 5.7.1 ->
5.9.3 commit.

Thanks to antoine for the exp-run.

PR:		225436
2018-01-29 12:37:05 +00:00
Sunpoet Po-Chuan Hsieh
5fa4532a3e Add shared RTSP, TELNET and TFTP descriptions 2018-01-29 11:28:55 +00:00
Jason E. Hale
6402eb4600 Be more specific with python version to prevent deprecation warnings
Approved by:	portmgr (mat)
Differential Revision:	https://reviews.freebsd.org/D14068
2018-01-28 15:28:28 +00:00
Mathieu Arnold
1aecf7b366 Extract desktop-categories, check-desktop-entries, and install-desktop-entries into scripts.
PR:		225301
Exp-run by:	antoine
Reviewed by:	jilles, kevans
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D11304
2018-01-28 08:25:06 +00:00
Mathieu Arnold
8a81735222 Add a USES=python:patch for when Python is needed during the patch
phase.

Sponsored by:	Absolight
2018-01-25 12:36:54 +00:00
Mathieu Arnold
3bbc00468a Add support to passing directories to EXTRA_PATCHES.
Instead of:

  EXTRA_PATCHES=	${PATCHDIR}/feat-foo-patch-file.c \
			${PATCHDIR}/feat-foo-patch-file.h \
			${PATCHDIR}/feat-foo-patch-file2.c

Move those files to ${PATCHDIR}/feat-foo/, name them patch-*, and set:

  EXTRA_PATCHES=	${PATCHDIR}/feat-foo

Approved by:	bdrewery
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D10855
2018-01-25 09:12:21 +00:00
Bryan Drewery
6339d61d4f Allow passing -DDEPENDS_SHOW_FLAVOR to list flavors for dependency lists.
Submitted by:	se (based on D13535)
With hat:	portmgr
2018-01-24 18:54:57 +00:00
Alex Kozlov
7fa9c70193 - Update name of autoreconf WRKSRC variable in comment
- Fix a few ports with invalid USES autoreconf arguments
- Add check for invalid USES autoreconf arguments

Differential Revision:	https://reviews.freebsd.org/D14004
Approved by:	tijl (autotools maintainer), portmgr (mat)
2018-01-24 09:41:04 +00:00
Mathieu Arnold
7db6ff5279 Describe when allflavors should be used.
Sponsored by:	Absolight
2018-01-22 19:59:31 +00:00
Kyle Evans
ad1a66c1f3 make makepatch: Don't replace patches with only metadata changes
Rather than replacing patches that are effectively the same but with
different timestamps, drop the new version and let the old version remain in
place. This yields a `make makepatch` that doesn't try and produce unwanted
churn.

Approved by:	portmgr (mat)
Differential Revision:	https://reviews.freebsd.org/D13960
2018-01-22 16:42:44 +00:00
Torsten Zuehlsdorff
2816b55780 add new stage-qa target: gemfiledeps
This checks whether rubygem based ports have all of their dependencies
in Gemfile(s) satisfied by what's currently installed. Sample output:

====> Running Q/A tests (stage-qa)
Warning: Dependencies defined in /usr/ports/www/gitlab/work/stage/usr/local/www/gitlab/Gemfile are not satisfied

These ports could (!) be broken at runtime. Be aware: some projects
defines multiple Gemfiles and not all are used at runtime. For example
www/gitlab has two Gemfiles, but only one is used for testing and warnings
about it can be ignored.

Approved by: portmgr (mat), lifanov
Differential Revision: https://reviews.freebsd.org/D11865
2018-01-22 16:35:23 +00:00
Raphael Kubo da Costa
12dfe515de Use qt.io instead of qt-project.org in MASTER_SITE_QT.
The former has redirected to the latter for a long time now; while here, use
https for the main download URL.
2018-01-21 10:54:45 +00:00
Mathieu Arnold
8cd72097ee Remove PYTHON*_DEFAULT_VERSION. 2018-01-21 10:51:29 +00:00
Adriaan de Groot
4feaf2ea6a Fix Qt4 atomics on aarch64. Add a patch from Fedora (similar changes in
Arch and Debian) that implements the atomics; removes the use of generic
atomics on aarch64. This allows textproc/qt4-dbus to build.

PR:		223988
Reported by:	linimon
Approved by:	tcberner (mentor)
Obtained from:	Fedora (url is in patch)
Differential Revision:	https://reviews.freebsd.org/D13935
2018-01-19 22:35:14 +00:00
Mathieu Arnold
ed29b995f5 Remove confusing and obsolete comment, 10.2 support was axed in
ports r430441.
2018-01-18 15:42:15 +00:00
Tobias C. Berner
94ac845319 Update KDE Frameworks to 5.42.0
PR:		225155
Exp-run by:	antoine
Reviewed by:	rakuco
Differential Revision:	https://reviews.freebsd.org/D13816
2018-01-17 10:21:32 +00:00
Jan Beich
12a3c4c6ff www/firefox: update to 58.0
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)
2018-01-15 21:32:32 +00:00
Mathieu Arnold
aaa9450e5c USE_AUTOTOOLS has been removed, at last.
Sponsored by:	Absolight
2018-01-15 14:24:39 +00:00
Mathieu Arnold
949f43b8ef Sort.
Sponsored by:	Absolight
2018-01-15 13:32:54 +00:00
Mathieu Arnold
71b0938eb3 Fix a bug in USE_GITHUB code where a version with more than one / was
not sanitized properly.

Sponsored by:	Absolight
2018-01-15 11:34:53 +00:00
Tijl Coosemans
0821501cfa Retire USE_AUTOTOOLS and bsd.autotools.mk.
PR:		225170
Approved by:	portmgr (antoine)
2018-01-15 10:01:32 +00:00
Mathieu Arnold
f89aabecf9 Add another solution to the WRKSRC+USE_GITHUB warning.
Sponsored by:	Absolight
2018-01-12 12:59:00 +00:00
Tijl Coosemans
9ffee5aea6 Replace USE_AUTOTOOLS with a plain BUILD_DEPENDS. 2018-01-11 18:39:40 +00:00
Tijl Coosemans
4c5b38d680 CONFIGURE_ARGS already contains CC="${CC}". Also add LD="${CC}" so the
same compiler is used for both compiling and linking.
2018-01-11 16:22:02 +00:00
Sunpoet Po-Chuan Hsieh
ea09c16374 Add USE_PHP=mcrypt for PHP 7.2 2018-01-10 06:40:25 +00:00
Joseph Mingrone
7fb154ca8f New ports: www/py-qt5-webchannel and www/py-qt5-webengine
Reviewed by:    mat, tcberner
Approved by:	tcberner
Differential Revision:	https://reviews.freebsd.org/D12964
2018-01-09 20:06:34 +00:00
Mathieu Arnold
4611015541 For some reason, this was not caught by the exp-run.
Submitted by:	tobik
Reported by:	yuri
Sponsored by:	Absolight
2018-01-09 11:45:22 +00:00
Mathieu Arnold
bb5196a149 Remove support for variables that have been deprecated for a while.
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
2018-01-09 07:40:55 +00:00
Bryan Drewery
3b4e6dfcc3 Fix flavor helpers when only bsd.port.pre.mk is not used and FLAVOR is not set.
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
2018-01-08 00:24:48 +00:00
Raphael Kubo da Costa
9c3d7007b2 Correctly pass -platform to qtbase's configure script when CXX is an 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
2018-01-07 15:03:08 +00:00
Raphael Kubo da Costa
f6ceca6350 Update Qt5 ports to 5.9.3.
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
2018-01-06 21:30:31 +00:00
Bryan Drewery
dc0000f87f Disallow forced FLAVOR as make argument.
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
2018-01-04 20:17:40 +00:00
Bryan Drewery
1811387546 Follow-up r458048: Properly trim FLAVOR from .MAKEOVERRIDES.
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
2018-01-04 20:06:21 +00:00
Bryan Drewery
a45f79495a Fix typo in r458054.
Reported by:	antoine
Approved by:	portmgr (implicit)
MFH:		2018Q1
2018-01-04 20:01:46 +00:00
Bryan Drewery
37aedfab77 Fix some *-list targets not properly passing FLAVOR down the chain.
Approved by:	portmgr (implicit)
MFH:		2018Q1
2018-01-04 19:58:18 +00:00
Bryan Drewery
e5b07eeb28 Pass FLAVOR in enviroment to avoid forcing an empty value in some cases.
Approved by:	portmgr (implicit)
MFH:		2018Q1
2018-01-04 19:37:24 +00:00
Bryan Drewery
0f12fc7d32 Stop truncating .MAKEOVERRIDES after the FLAVORS work.
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
2018-01-04 19:18:48 +00:00
Bryan Drewery
2c91ba6c3c Fix package-depends-list for FLAVORS.
Reported by:	dinoex
Approved by:	portmgr (implicit)
MFH:		2018Q1
2018-01-04 19:07:42 +00:00
Raphael Kubo da Costa
335cc7fd4e Replace some spaces with tabs.
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.
2018-01-04 15:24:46 +00:00
Mathieu Arnold
d0cba2b797 Cleanup Mk/Uses/gnome.mk.
- 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
2018-01-03 13:22:31 +00:00
Raphael Kubo da Costa
a9709471be Update SIP to 4.19.6, PyQt4 to 4.12.1 and PyQt5 to 5.9.2.
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
2018-01-02 20:21:34 +00:00
Tobias C. Berner
51d04637cb New USES=eigen
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
2018-01-02 16:49:24 +00:00
Mark Linimon
060ec48cb4 Update MASTER_SITE_TEX_CTAN.
- ctan.unsw.edu.au now only accepts http
 - neither ftp.tex.ac.uk nor ftp.chg.ru have address records anymore
2018-01-02 15:02:09 +00:00
Mark Linimon
8d95a22b80 Revert commit that tagged along with bsd.sites.mk commit by mistake.
Pointy hat to:	linimon
2018-01-02 00:47:39 +00:00
Mark Linimon
bfbf6537e2 Repairs to MASTER_SITE_DEBIAN_NON_US:
- ftp.df.lth.se has gone away.
 - some of the "ftp\." sites now only accept http:// addresses.
2018-01-02 00:35:25 +00:00
Jan Beich
17c106b5b3 gecko, mesa-dri: shave unnecessary quoting for absolute path to LLD
Left side already unquoted and Mk/bsd.port.mk didn't quote.
2018-01-01 20:25:54 +00:00
Jan Beich
6191d576e5 bsd.port.mk: don't create a new variable just to check LLD
PR:		224760
Approved by:	portmgr (antoine)
2018-01-01 20:16:39 +00:00