Commit graph

622 commits

Author SHA1 Message Date
Baptiste Daroussin
421767bd88 Remove the now unneeded ${PORTSDIR} from dependency definition in
The infrastructure Makefiles

PR:		206569
Exp run by:	antoine
Differential Revision:	D5047
2016-03-27 01:23:25 +00:00
Jan Beich
f9e0eb4ec8 Add USES=7z support: common way to extract 7-Zip archives
By default, it tries to take advantage of libarchive and falls back to p7zip.
Extracting only selected few DISTFILES is also supported via :partial argument.

Approved by:	portmgr (bapt)
Differential Revision:	https://reviews.freebsd.org/D4190
2016-03-25 15:38:56 +00:00
Tijl Coosemans
77760fcb63 Make print/ghostscript9-agpl-base the default Ghostscript port. Upstream
changed the license to the AGPL 3 in version 9.07 so print/ghostscript9-base
is stuck at 9.06 which is almost 4 years old now.

Fix the logic in Uses/ghostscript.mk so "agpl" is treated as a real version
on its own instead of as a variant of other versions.

Fix print/ghostscript9-agpl-base to install eps2write.

Update math/asymptote to 2.37 to support newer Ghostscript.

PR:		208159
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2016-03-24 15:47:50 +00:00
Max Khon
2c5ceb0c7d Fix installed version check on FreeBSD 9.
PR:		200569
2016-03-17 12:09:39 +00:00
Jan Beich
cf3c9b550c Allow overriding WRKSRC for USES=dos2unix
Approved by:	portmgr (mat)
Differential Revision:	https://reviews.freebsd.org/D5607
2016-03-11 10:39:04 +00:00
Dmitry Marakasov
acebdf624e - Add support for USES=tar:tbz2
Approved by:	portmgr (mat)
Differential Revision:	D5564
2016-03-06 12:29:51 +00:00
Jan Beich
3f0536234a www/firefox{,-esr}: update to 45.0 (rc2) / 38.7.0
Prepare www/firefox a bit for ESR45:
- [e10s] Make layers.progressive-paint;true work at least on 11.0-CURRENT
- Chase bundled versions for system dependencies
- Drop unused/broken system opus and speex support

Changes:	https://www.mozilla.org/firefox/45.0/releasenotes/
Changes:	https://www.mozilla.org/firefox/38.7.0/releasenotes/
Security:	2225c5b4-1e5a-44fc-9920-b3201c384a15
MFH:		2016Q1 (release candidate)
2016-03-05 12:46:59 +00:00
Bryan Drewery
54e86d8d01 For PYTHON_NO_DEPENDS don't pass PYTHON_VERSION to dependencies.
The PYTHON_NO_DEPENDS only really makes sense in meta ports, where passing
the PYTHON_VERSION doesn't make sense.  The ports listed will pick up
USES+=python and the default version as needed.

This fixes depending on both lang/python2 and lang/python3 in a meta package.
2016-02-19 20:44:52 +00:00
Martin Wilke
a8f21afa94 - Update to 1.10.1
Changelog:
        http://pear.php.net/package/PEAR/download/1.10.0
        http://pear.php.net/package/PEAR/download/1.10.1
2016-02-14 14:58:17 +00:00
David Naylor
2632efe9e5 Mk/Uses/cran.mk: fix test target.
R no longer accepts the --no-rebuild-vignettes argument, instead requiring
the --no-build-vignettes (only used if pdflatex is not installed).

PR:		207154
Approved by:	wen (maintainer)
MFH:		2016Q1
2016-02-13 14:41:46 +00:00
Max Khon
049382fc14 Prefer installed version instead of insisting on using default version.
PR:		200569
2016-02-10 12:18:20 +00:00
Mathieu Arnold
ad704be0e3 Don't say makeinfo take args, it's a lie.
PR:		207028
With hat:	portmgr
Sponsored by:	Absolight
2016-02-09 15:17:01 +00:00
Koop Mast
f281bfd280 Reapply https://svnweb.freebsd.org/changeset/ports/406559 which
got lost in https://svnweb.freebsd.org/changeset/ports/408449.

Noticed by:	rakuco@
2016-02-07 21:04:42 +00:00
Koop Mast
71d5deb1f4 Move Mk/bsd.gnome.mk and Mk/bsd.mate.mk to Mk/Uses/.
To use the GNOME or MATE components activate it by adding gnome
or mate to USES. The usage of USE_GNOME/INSTALL_ICONS and for
example GLIB_SCHEMAS has stayed the same.

Like with USES, the use of USE_GNOME and so after bsd.port.pre.mk
is now forbidden. And adapt ports that where still doing that.

Exp-runs done by:	antoine@

PR:		205432
Reviewed by:	antoine@, mat@
Approved by:	portmgr (antoine@)
Differential Revision:	https://reviews.freebsd.org/D3653
2016-02-07 19:43:56 +00:00
Martin Matuska
817ca149ff Horde package update:
comms/pear-Horde_ActiveSync 2.30.2 -> 2.30.6
devel/pear-Horde_Alarm 2.2.5 -> 2.2.6
devel/pear-Horde_Argv 2.0.11 -> 2.0.12
security/pear-Horde_Auth 2.1.10 -> 2.1.11
devel/pear-Horde_Autoloader 2.1.1 -> 2.1.2
www/pear-Horde_Browser 2.0.10 -> 2.0.11
devel/pear-Horde_Cache 2.5.0 -> 2.5.2
archivers/pear-Horde_Compress 2.1.3 -> 2.1.4
archivers/pear-Horde_Compress_Fast 1.1.0 -> 1.1.1
devel/pear-Horde_Constraint 2.0.2 -> 2.0.3
devel/pear-Horde_Controller 2.0.3 -> 2.0.4
devel/pear-Horde_Core 2.22.3 -> 2.22.5
security/pear-Horde_Crypt 2.6.1 -> 2.7.0
security/pear-Horde_Crypt_Blowfish 1.1.0 -> 1.1.1
www/pear-Horde_Css_Parser 1.0.7 -> 1.0.8
devel/pear-Horde_Data 2.1.3 -> 2.1.4
devel/pear-Horde_Date 2.1.1 -> 2.2.0
devel/pear-Horde_Date_Parser 2.0.4 -> 2.0.5
databases/pear-Horde_Db 2.3.0 -> 2.3.1
devel/pear-Horde_Exception 2.0.6 -> 2.0.7
www/pear-Horde_Feed 2.0.3 -> 2.0.4
www/pear-Horde_Form 2.0.11 -> 2.0.12
security/pear-Horde_Group 2.0.5 -> 2.1.0
databases/pear-Horde_HashTable 1.2.3 -> 1.2.4
devel/pear-Horde_History 2.3.5 -> 2.3.6
www/pear-Horde_Http 2.1.5 -> 2.1.6
devel/pear-Horde_Icalendar 2.1.2 -> 2.1.3
dns/pear-Horde_Idna 1.0.3 -> 1.0.4
graphics/pear-Horde_Image 2.3.3 -> 2.3.4
mail/pear-Horde_Imap_Client 2.29.4 -> 2.29.5
devel/pear-Horde_Injector 2.0.4 -> 2.0.5
devel/pear-Horde_Itip 2.1.0 -> 2.1.1
mail/pear-Horde_ListHeaders 1.2.2 -> 1.2.3
devel/pear-Horde_Lock 2.1.1 -> 2.1.2
sysutils/pear-Horde_Log 2.1.2 -> 2.1.3
devel/pear-Horde_LoginTasks 2.0.5 -> 2.0.6
mail/pear-Horde_Mail 2.6.2 -> 2.6.3
mail/pear-Horde_Mapi 1.0.5 -> 1.0.6
mail/pear-Horde_Mime 2.9.2 -> 2.9.3
mail/pear-Horde_Mime_Viewer 2.1.1 -> 2.1.2
devel/pear-Horde_Notification 2.0.3 -> 2.0.4
archivers/pear-Horde_Pack 1.0.5 -> 1.0.6
textproc/pear-Horde_Pdf 2.0.6 -> 2.0.7
devel/pear-Horde_Prefs 2.7.4 -> 2.7.5
devel/pear-Horde_Rdo 2.0.4 -> 2.0.5
www/pear-Horde_Routes 2.0.4 -> 2.0.5
net/pear-Horde_Rpc 2.1.5 -> 2.1.6
security/pear-Horde_Secret 2.0.5 -> 2.0.6
devel/pear-Horde_Serialize 2.0.4 -> 2.0.5
www/pear-Horde_SessionHandler 2.2.5 -> 2.2.7
security/pear-Horde_Share 2.0.7 -> 2.0.8
mail/pear-Horde_Smtp 1.9.1 -> 1.9.2
net/pear-Horde_Socket_Client 2.0.0 -> 2.1.0
textproc/pear-Horde_SpellChecker 2.1.2 -> 2.1.3
devel/pear-Horde_Stream 1.6.2 -> 1.6.3
devel/pear-Horde_Stream_Filter 2.0.3 -> 2.0.4
devel/pear-Horde_Stream_Wrapper 2.1.2 -> 2.1.3
devel/pear-Horde_Support 2.1.4 -> 2.1.5
comms/pear-Horde_SyncMl 2.0.5 -> 2.0.6
www/pear-Horde_Template 2.0.2 -> 2.0.3
textproc/pear-Horde_Text_Diff 2.1.1 -> 2.1.2
textproc/pear-Horde_Text_Filter 2.3.2 -> 2.3.3
textproc/pear-Horde_Text_Flowed 2.0.2 -> 2.0.3
devel/pear-Horde_Timezone 1.0.9 -> 1.0.10
devel/pear-Horde_Token 2.0.7 -> 2.0.8
devel/pear-Horde_Translation 2.2.0 -> 2.2.1
net/pear-Horde_Url 2.2.4 -> 2.2.5
devel/pear-Horde_Util 2.5.6 -> 2.5.7
sysutils/pear-Horde_Vfs 2.3.0 -> 2.3.1
devel/pear-Horde_View 2.0.5 -> 2.0.6
textproc/pear-Horde_Xml_Element 2.0.3 -> 2.0.4
textproc/pear-Horde_Xml_Wbxml 2.0.2 -> 2.0.3
ftp/horde-gollem 3.0.6 -> 3.0.7
www/horde-base 5.2.8 -> 5.2.9
mail/horde-imp 6.2.11 -> 6.2.12
mail/horde-ingo 3.2.7 -> 3.2.8
deskutils/horde-kronolith 4.2.11 -> 4.2.12
deskutils/horde-mnemo 4.2.8 -> 4.2.9
deskutils/horde-nag 4.2.6 -> 4.2.7
devel/horde-timeobjects 2.1.0 -> 2.1.1
www/horde-trean 1.1.3 -> 1.1.4
mail/horde-turba 4.2.11 -> 4.2.12
mail/horde-webmail 5.2.11 -> 5.2.12
devel/horde-whups 3.0.5 -> 3.0.6
2016-02-02 22:56:26 +00:00
Ruslan Makhmatkhanov
a5fd273ab4 Update examples to exclude version 3.2
With hat:		python
2016-02-02 20:21:47 +00:00
Ruslan Makhmatkhanov
ed63d28c08 Remove expired lang/python32
Python 3.2 has reached it's EOL. Please update to Python 3.5

With hat:	python
2016-02-02 20:16:34 +00:00
Sunpoet Po-Chuan Hsieh
0c1880c20b - Fix typo 2016-02-01 19:47:26 +00:00
Jan Beich
19e90836a2 www/firefox{,-esr}: update to 44.0/38.6.0
- Raise required NSS version [1]

Changes:	https://www.mozilla.org/firefox/44.0/releasenotes/
PR:		206637
Reported by:	Toomas Aas <toomas.aas@suhtlus.ee> [1]
Submitted by:	Christoph Moench-Tegeder <cmt@burggraben.net>
Security:	4f00dac0-1e18-4481-95af-7aaad63fd303
MFH:		2016Q1
2016-02-01 11:29:16 +00:00
Jimmy Olgeni
c9d55fb214 Do not try to depend on Erlang libraries (if any) in
ELIXIR_LIB_ROOT, because they do not exist there.

This fixes r406955 for fmake compatibility (on 9.3).
2016-01-23 16:46:11 +00:00
Antoine Brodin
2c3e43278e Revert r406955, it break INDEX with fmake
With hat:	portmgr
Reported by:	beefy1, beefy2
2016-01-23 06:42:45 +00:00
Jimmy Olgeni
5c0857d7b1 Do not try to depend on Erlang libraries (if any) in
ELIXIR_LIB_ROOT, because they do not exist there.
2016-01-22 23:27:40 +00:00
Sunpoet Po-Chuan Hsieh
929b0596d0 - Remove _PYTHON_CMD
PR:		206380
Submitted by:	John Hein <z7dr6ut7gs@snkmail.com>
2016-01-22 11:33:58 +00:00
Palle Girgensohn
601d5d87cc pgbench has moved from contrib to base in 9.5
so we need something else to depend on for -contrib
2016-01-22 00:18:09 +00:00
Raphael Kubo da Costa
f5876c4a59 Uses/cmake.mk: Make it possible to override {BUILD,INSTALL}_WRKSRC with :outsource.
This is particularly useful if a port only needs to build a subdirectory of
the source tree (in which case they can set BUILD_WRKSRC to
"${CONFIGURE_WRKSRC}/foo/bar").
2016-01-18 18:27:47 +00:00
Antoine Brodin
e63e9d9f15 Extend r405599 to make COMPILER_VERSION and ALT_COMPILER_VERSION more
compatible with clang 3.8 trunk

PR:		206074
With hat:	portmgr
2016-01-14 18:54:29 +00:00
Baptiste Daroussin
4cfa5bd3c7 Fix USES=firebird comments (bad copy/paste) 2016-01-11 19:06:19 +00:00
John Marino
c7aba825f0 Remove OPTIONS_DEFINE out of Mk/Uses/drupal.mk (affects many drupal ports)
The USES= fragments are not supposed to modify OPTIONS_* because they are
loaded after bsd.options.mk.

In the particular case of drupal, this resulted in SELECTED_OPTIONS and
DESELECTED_OPTIONS being incorrect.  A second problem was that the "="
was used for assignment rather than "?=", meaning that any port with
USES=drupal got their options overwritten at some point (this included
the main www/drupal6 and www/drupal7 ports).

This commit adds OPTIONS_DEFINE=DOCS to almost every port that had set
USES=drupal to correct the mistake of setting options in Mk/Uses.

PR:	206060
2016-01-11 08:51:49 +00:00
Baptiste Daroussin
bf548998cb Introduce 2 new USES: sqlite and firebird
sqlite and firebird handling code has been extracted from bsd.databases.mk
add an entry in bsd.sanity.mk to mark USE_SQLITE and USE_FIREBIRD as deprecated
2016-01-10 16:15:29 +00:00
Martin Wilke
7cea40667a - Release maintainership 2016-01-09 08:07:02 +00:00
Bryan Drewery
bbeb4f68d0 Make COMPILER_VERSION more compatible with clang 3.8 trunk.
"clang version 3.8.0 (trunk 256945) (based on LLVM 3.8.0svn)" was giving
"38 38" was a result.  Now duplicates for fmake are trimmed and only the first
version found is used for bmake using its :tW.

With hat:	portmgr
In collaboration with:	dim
2016-01-08 23:41:25 +00:00
Palle Girgensohn
4330610436 The PostgreSQL Global Development Group announces the
release of PostgreSQL 9.5.

This release adds UPSERT capability, Row Level Security,
and multiple Big Data features, which will broaden the
user base for the world's most advanced database.
With these new capabilities, PostgreSQL will be
the best choice for even more applications for startups,
large corporations, and government agencies.

Release Notes:
http://www.postgresql.org/docs/current/static/release-9-5.html

What's New in 9.5:
https://wiki.postgresql.org/wiki/What%27s_new_in_PostgreSQL_9.5
2016-01-07 19:58:47 +00:00
Jason E. Hale
42b0bae34f Add USES=pathfix support for CMake. Some ports that use CMake to build
already had USES=pathfix, although it did nothing.  For those ports, I
either removed it as they were handling the pkgconfig files differently
or I removed patches and substitutions that accomplished the same thing
as pathfix.

Differential Revision:	https://reviews.freebsd.org/D850
Reviewed by:	antoine, bapt, tijl
Approved by:	portmgr (bapt)
2016-01-07 14:54:03 +00:00
Sunpoet Po-Chuan Hsieh
fc996dfe53 - Sort PYTHON_* knobs 2016-01-02 17:30:28 +00:00
Kubilay Kocak
30e7a4173b Mk/Uses/python.mk: Add support for optional 'test' argument
Some ports may need to use Python for their testing suite but otherwise
do not need it at all (ie, not for build or run). This patch adds
support for the test argument to be used in the USES clause, such as
python:3.2+,test. This enables the relevant Python environment and
modifies TEST_DEPENDS as necessary.

For non-Python ports that use Python as their testing suite, add
python:<ver>,test as required to the USES clause.

PR:			205616
Submitted by:		Brendan Molloy <brendan+freebsd bbqsrc net>
Reviewed by:		mat, miwi, koobs, antoine
Approved by:		koobs (python)
Differential Revision:	https://reviews.freebsd.org/D4711
2016-01-02 15:24:37 +00:00
Rene Ladan
e603983d54 Remove lang/perl5.16 and the support bits in perl5.mk, it is no longer
supported and expired today.

Approved by:	portmgr (mat), perl (sunpoet)
Differential Revision:	https://reviews.freebsd.org/D4745
2015-12-31 21:06:14 +00:00
John Marino
6256117d69 lang/python27(3*), Mk/Uses/python.mk: remove make spawn
There are some inefficiencies in python.mk that significantly slow down
full tree scanning.  The use of bmake to obtain the current version of
a specific python is responsible for the majority of the slow done.

This commit splits out the PYTHON_PORTVERSION definition (which is the
same as the lang/python* PORTVERSION) into separate files.  With this
change, python.mk can simple include the makefile fragment instead of
spawning a new instance of make.

Different Revision:	https://reviews.freebsd.org/D4660
Approved by:		antoine (python), mva (python)
2015-12-29 12:03:09 +00:00
Raphael Kubo da Costa
8ceb79f0fe Make sure ${WRKSRC}/lib is passed before /usr/local/lib when linking.
This is another shot at fixing the linkage problems that have plagued our
users particularly when upgrading from Qt 5.x to 5.(x+1). Quick recap: in
Qt5, qmake will by default pass QMAKE_LIBDIR to the linker before other
directories such as ${WRKSRC}/lib, which is where the port's libraries are
built. When a user is upgrading Qt, we can end up with the following linker
line:
  c++ -o SomeBinary -lfoo1 -L/usr/local/lib -L${WRKSRC}/lib -lfoo2 -lfoo3
If libfoo2.so is being built by the port and an older version is currently
installed on the system, /usr/local/lib/libfoo2.so will be picked up instead
of the newly-built ${WRKSRC}/lib/libfoo2.so. At best things just work, at
worst SomeBinary needs some new symbol that is not present in the old
libfoo2.so and linking fails. Case in point: bug 198720.

The previous approach, adopted when fixing bug 194088, was to stop setting
QMAKE_{INC,LIB}DIR in the FreeBSD mkspecs and set the CPATH and LIBRARY_PATH
environment variables in Uses/qmake.mk. This way we just did not pass
-L/usr/local/lib to the linker at all and things mostly worked. However,
people using Qt to build their own software without the ports tree were out
of luck, as they would then need need to deal with passing
/usr/local/{include,lib} to the compiler/linker themselves (bug 195105). Not
only that, but if a dependency mentioned /usr/local/lib we would still have
problems anyway (in bug 198720, the GStreamer pkg-config files contain
-L/usr/local/lib, for example).

We now solve the issue by setting the QMAKE_LIBDIR_FLAGS variable in
.qmake.cache to ${WRKSRC}/lib instead. qmake appends the value of
QMAKE_LIBDIR to QMAKE_LIBDIR_FLAGS, so we are always sure -L${WRKSRC}/lib
will come before -L/usr/local/lib in the linker options. Moreover, qmake is
smart enough to automatically call sed(1) and remove references to
${WRKSRC}/lib from .prl and .pc files when installing them.

PR:		194088
PR:		195105
PR:		198720
MFH:		2015Q4
2015-12-28 18:51:41 +00:00
Antoine Brodin
d05e4290c0 Remove PYTHON_PORTVERSION guards since it's no longer exported
With hat:	portmgr
2015-12-27 16:44:32 +00:00
Antoine Brodin
c6ef4747ef Do not cache PYTHON_PORTVERSION, it is not invariant between ports 2015-12-25 21:55:34 +00:00
Jan Beich
1608102c47 www/firefox: update to 43.0.1
Changes:	https://www.mozilla.org/en-US/firefox/43.0/releasenotes/
PR:		205357
Submitted by:	Christoph Moench-Tegeder <cmt@burggraben.net>
Security:	2c2d1c39-1396-459a-91f5-ca03ee7c64c6
MFH:		2015Q4
2015-12-19 10:49:09 +00:00
Raphael Kubo da Costa
4c8f1901de Uses/pyqt.mk: Move dbussupport to _USE_PYQT_ALL.
It also has a PyQt5 version.

Submitted by:	Tobias Berner <tcberner@gmail.com>
2015-12-15 21:37:12 +00:00
Raphael Kubo da Costa
5b3f3dd953 At very long last land PyQt5 5.5.1 ports.
Add the required bits to Uses/pyqt.mk along with all the PyQt5 ports.
Thankfully this commit is mostly adding new ports, as the hard work was
already done in r403297 and r403662.

Huge kudos to Tobias Berner <tcberner@gmail.com> and, most importantly,
Guido Falsi (madpilot@) for their initial work on these ports (see D2910 in
Phabricator for an earlier version of the PyQt5 patch set).

PR:		204672
2015-12-13 21:56:50 +00:00
Raphael Kubo da Costa
b15d595457 Update PyQt4 to 4.11.4, SIP to 4.17 and QScintilla2 to 2.9.1.
Bring in some long overdue updates, some of which are required for us to
later land the PyQt5 ports.

One big change with this update is that the PyQt4 ports now install their
.sip files into share/py-sip/PyQt4 instead of share/py-sip. This way we do
not end up with directories like share/py-sip/QtCore, which are especially
confusing once PyQt5 lands and starts installing files with the same names.

Other noteworthy items:
- PORTREVISION has been bumped on ports depending on devel/qscintilla2
  because libqscintilla2.so's SOVERSION has changed.
- graphics/seexpr has been converted to USE_PYQT, as the file it used to
  define a build-time dependency on x11-toolkits/py-qt4-gui has moved.

Once again, big thanks to Tobias Berner <tcberner@gmail.com> and Guido Falsi
(madpilot@) for their initial work on these ports as part of the effort to
land PyQt5 into the tree (see D2910 in Phabricator for an earlier version of
the PyQt5 patch set).

PR:		205143
2015-12-13 12:45:25 +00:00
Raphael Kubo da Costa
31469ae565 PyQt: Replace bsd.pyqt.mk with Uses/pyqt.mk.
In preparation for landing PyQt5 ports, generalize devel/py-qt4's
bsd.pyqt.mk and make it a proper file in Uses/.

Ports wishing to depend on PyQt4 ports can now do the following:
  USES=		pyqt:4
  USE_PYQT=	foo bar_build baz_run

Other changes include the renaming of the PYQT4_DIST variable to PYQT_DIST
and the introduction of the PYQT_SIPDIR plist substitution variable. The
rest of the contents of Uses/pyqt.mk are pretty much identical to what we
had in bsd.pyqt.mk with additional processing of USE_PYQT.

Even though this patch touches files in many different ports, the goal is
for it to be a no-op from an end-user perspective (so that the basic
infrastructure is landed before the other, riskier changes): no dependencies
have been changed, PyQt/SIP/QScintilla have not been upgraded and the plists
should remain exactly the same, since PYQT_SIPDIR currently contains the
same value that used to be hardcoded in the plists.

Huge thanks to Guido Falsi (madpilot@) for spearheading most of the work: he
took the initiative to work on PyQt5 and sent D2910 to Phabricator with the
original version of this patch. Tobias Berner (tcberner@gmail.com) later
applied it to kde@'s experimental area51 repositories and did some more work
on it.
2015-12-08 16:49:43 +00:00
John Marino
4db8d1b0fb Mk/Uses/ada.mk: Support lang/gcc6-aux 2015-12-06 16:21:47 +00:00
Baptiste Daroussin
c51a425f4d Update ncurses to 6.0
from now ncurses will track the release and not the snapshots
ABI has changed, add a note for users on how to upgrade
2015-12-05 09:46:20 +00:00
Jan Beich
c68b369d27 www/seamonkey-i18n: unbreak after r401981
=======================<phase: configure      >============================
===>  seamonkey-i18n-2.39 cannot install: seamonkey versions mismatch:
seamonkey-39 is installed and wanted version is seamonkey-.
*** Error code 1

PR:		204692
Reported by:	pkg-fallout, martin.dieringer@gmx.de
MFH:		2015Q4
X-MFH-With:	r401981
2015-11-21 20:04:28 +00:00
Jan Beich
a356bf5bac gecko: catch up with 2015-11-03 release train
- Update NSPR to 4.10.10 [1]
- Update NSS to 3.20.1 [2]
- Update Firefox ESR and libxul to 38.4.0
- Update Firefox to 42.0 [2]
- Update SeaMonkey to 2.39

Changes:	http://mozilla.6506.n7.nabble.com/ANNOUNCE-NSPR-4-10-10-Release-td346822.html
Changes:	https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/NSS_3.20.1_release_notes
Changes:	https://www.mozilla.org/en-US/firefox/42.0/releasenotes/
Changes:	http://www.seamonkey-project.org/news#2015-11-08
PR:		204277 [1], 204332 [2], 203099
Submitted by:	swills, Christoph Moench-Tegeder
MFH:		2015Q4
Security:	9d04936c-75f1-4a2c-9ade-4c1708be5df9
2015-11-20 00:38:40 +00:00
Tijl Coosemans
9f9234cb20 Let USES=autoreconf define AUTORECONF and use it throughout the tree.
PR:		204534
Approved by:	portmgr (antoine)
2015-11-15 15:34:51 +00:00
Bryan Drewery
ab43229f76 Fix partial tree checkouts with 'all-depends-list', 'make clean', etc, after
inclusion of the ports_env feature into that handling around r399791.

With hat:	portmgr
Reported by:	ian, lev
2015-11-09 18:52:19 +00:00
Mathieu Arnold
ec218a1332 Change the meaning of NO_WRKSUBDIR to force a WRKDIR != WRKSRC.
Right now, NO_WRKSUBDIR means that the extraction does not produce a
subdirectory, and that everything goes straight into WRKDIR.  It is
problematic, because during the build of a port, quite a few files are
created in there, and then, a stage directory, where everything is
installed, and then a pkg directory where the package is created, and
those often conflict, or get in the way, of the building process.

With this, NO_WRKSUBDIR will extract the distfiles directly into WRKSRC
instead of WRKDIR.  In this case, WRKSRC is artificial and is based on
PKGNAME and not DISTNAME, mitigate conflicts with rc files.

PR:		204056
Submitted by:	mat
Reviewed by:	bapt
Exp-run:	antoine
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D2735
2015-11-05 12:35:26 +00:00
Dmitry Marakasov
e8e7e6da57 - Add shebangfix documentation bits
- Fix tcl_OLD_CMD tk_OLD_CMD

Approved by:	portmgr (bapt)
Differential Revision:	D3939
2015-10-22 13:36:05 +00:00
Mathieu Arnold
c8d9fd9b16 PLIST_SUB entries need paths relative to PREFIX.
With hat:	portmgr
Sponsored by:	Absolight
2015-10-21 14:16:36 +00:00
Bryan Drewery
25992a0b05 Roll all of the commands into a loop and use the same patterns for every lang.
- /usr/bin/CMD
 - /bin/CMD
 - /usr/bin/env CMD

With hat:	portmgr
Reviewed by:	bapt, amdmi3
Differential Revision:	https://reviews.freebsd.org/D3942
2015-10-20 15:36:56 +00:00
Bryan Drewery
95e25b27ad Avoid redundantly looking up python command executions for dependency calculation.
This gets all-depends-list in x11/kde4 down to 30 seconds after the 52->41
second improvement in r399703.

With hat:	portmgr
2015-10-19 21:10:56 +00:00
Bryan Drewery
ef91c74363 Avoid redundantly looking up perl version when looking up dependencies or in sub-makes.
With hat:	portmgr
2015-10-19 20:53:15 +00:00
Dmitry Marakasov
67971bd0fb Improve shebangfix framework
- Support multiple values in *_OLD_CMD, i.e. we can now fix both "/usr/bin/python" and "/usr/bin/env python" at the same time
- Default *_OLD_CMD values are now always appended, so you don't need to specify them in individual ports
- Add lua support (depends on USES=lua)
- Add more default values, such as "/usr/bin/env foo" for python, perl, bash, ruby and lua
- Shebangfix now matches whole words, e.g. we will no longer (erroneously) replace "/usr/bin/perl5.005" with "${perl_CMD}5.005" (but "/usr/bin/perl -tt" is still (correctly) replaced with "${perl_CMD} -tt")

Note that *_OLD_CMD items containing spaces must now be quoted (e.g. perl_OLD_CMD=/bin/perl /usr/bin/perl "/usr/bin/env perl")

Update shebangfix usage according to new rules in many ports:

- Remove *_OLD_CMD for patterns now replaced by default
- Quote custom *_OLD_CMD which contain spaces

Fix shebangfix usage in many ports (irrelevant to infrastructure change):

- Remove redundant SHEBANG_LANG (no need to duplicate default langs)
- Remove redundant *_CMD (such as python_CMD=${LOCALBASE}/bin/python${PYTHON_VER} when USES=python is present)
- Never use *_OLD_CMD in REINPLACE_CMD matchers, these should always look for exact string

Approved by:	portmgr (bapt)
Differential Revision:	D3756
2015-10-19 14:50:52 +00:00
Mathieu Arnold
7f0f664d7e Drop 8 support.
With hat:	portmgr
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D3694
2015-10-15 14:55:14 +00:00
Baptiste Daroussin
8cea2b0147 Readd PORTSDIR for now we will only start removing them after 2016Q1 is branched
This gives more time for tools to get updated, available in packages etc before
bothering users
2015-10-15 07:36:38 +00:00
Baptiste Daroussin
9b1ed98e60 Temporary readd ${PORTSDIR} to perl5 deps as somewhow they are triggering
an issue with sanify check in poudriere that needs to be fixed first

Reported by:	adamw
2015-10-14 20:44:34 +00:00
Baptiste Daroussin
869e1f27d0 Drop the necessity to add ${PORTSDIR} to dependency line
Modify make describe to automatically prepend ${PORTSDIR} if the path for the
port is not absolute

Checked with poudriere, portmaster, portupgrade

PR:		203685
Exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D3866
2015-10-14 16:49:35 +00:00
Baptiste Daroussin
ed83abe320 Use USESDIR macro 2015-10-10 17:46:45 +00:00
Tijl Coosemans
3a55a118dd Remove iconv(), iconv_open() and iconv_close() symbols from libiconv.
These were FreeBSD specific aliases for libiconv(), libiconv_open() and
libiconv_close() that are now also provided by libc which complicates
writing configure tests that work correctly when both libc iconv and
libiconv are available.

Also, because the libiconv iconv.h header redefines iconv* to libiconv*
correct use of the header implies that the aliases aren't used.

The following ports needed fixes because there was something wrong with
the way they tried to detect or use iconv:

audio/deadbeef: Remove LIBICONV_PLUG from a source file.  It's a
compile-time option and should not be set in source code.
comms/hidapi: Use standard AM_ICONV configure macro to look for iconv.
deskutils/fbreader: Let ports framework deal with LIBICONV_PLUG.
deskutils/ljclive: Override configure test for iconv.
deskutils/owncloudclient: Add USES=iconv and patch test for iconv.
devel/aegis: Bump PORTREVISION because it no longer uses libiconv.
devel/libexplain: Add USES=iconv and override test for iconv.
devel/sdl20: Override configure test for iconv.
emulators/vmw: Replace OSVERSION checks with ICONV_LIB checks and include
<iconv.h> instead of <sys/iconv.h>.
irc/scrollz: Override configure test for iconv.
japanese/chasen-base: Override configure test for iconv and patch
configure so it no longer adds -liconv to linker flags just because it
happens to be installed.
japanses/eb: Patch configure test for iconv.
japanses/eblook: Override configure test for iconv.
java/jikes: Override configure test for iconv.
multimedia/transcode: Bump PORTREVISION because only one plugin links with
libiconv now.
net/c3270: Override configure test for iconv.
net/samba4*: Bump PORTREVISION because it no longer uses libiconv.  The
configure script will always add -liconv to the linker flags when it
happens to be installed which would be wrong but later on binaries are
linked with -Wl,--as-needed and the linker discards -liconv because it
finds iconv*() functions in libc now and no longer in libiconv.
net-mgmt/icinga-*: Remove dependency on iconv.
net-mgmt/netxms: Patch configure so it no longer adds -liconv to linker
flags just because it happens to be installed.
net/asterisk11: Patch configure so it no longer adds -liconv to linker
flags just because it happens to be installed.
net-p2p/transmission-*: Override configure test for iconv.
www/htmlcxx: Override configure test for iconv.
www/httrack: Override configure test for iconv.
www/xapian-omega: Override configure test for iconv.
x11/mrxvt(-devel): Add USES=iconv and override configure test for iconv.
x11/x3270: Override configure test for iconv.
x11-wm/jwm: Override configure test for iconv.

PR:		202838
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2015-10-10 14:03:00 +00:00
Dmitry Marakasov
0521b2fe8e Add a way to cleanly handle terminfo.db file used by devel/ncurses
This database contains compiled terminfo entries and is merged from
a large part which comes with ncurses themselves and compiled
.terminfo files installed by other ports (currently only rxvt-unicode
and jfbterm)

- Now the database is always kept up to date, regardless of port
  installation order (both ncurses installed before .terminfo files
  and the other way around work as expected)
- All affected ports now support clean deinstallation and do not
  produce stage-qa errors
- Affected ports are simplified, as they now only need to define
  USES=terminfo
- rxvt-unicode no longer pulls in ncurses: the dependency is not
  really needed for anything beside updating it's own database
- The patch contains Q/A test to check whether a port needs, or
  needs not USES=terminfo

Approved by:	portmgr (mat, bapt)
Differential Revision:	D3747
2015-10-08 14:12:53 +00:00
Dmitry Marakasov
70a6c7d89d - Fix compatibility with fmake
Approved by:	portmgr blanket
2015-10-07 18:45:28 +00:00
Dmitry Marakasov
9a33f6f65c Do not provide empty do-test target for perl5-using ports
perl5's do-test: target should only be enabled when USE_PERL5=configure
or USE_PERL5=modbuild* are used, otherwise it'll end up being empty
and will prevent other tests from running.

Remove NO_PERL5_TEST as it isn't really needed after this fix.

Approved by:	mat, sunpoet
Differential Revision:	D3830
2015-10-07 16:19:43 +00:00
Steve Wills
65087871fe www/firefox: update to 41.0
PR:		203384
Submitted by:	Christoph Moench-Tegeder <cmt@burggraben.net>
MFH:		2014Q4
Security:	2d56c7f4-b354-428f-8f48-38150c607a05
2015-10-06 20:01:59 +00:00
Sunpoet Po-Chuan Hsieh
d1781c2e30 - Add NO_PERL5_TEST: allow ports with USES=perl5 to run default do-test: defined in bsd.port.mk
- Fix comment
2015-10-03 17:06:52 +00:00
Dmitry Marakasov
824d6669e1 - Fix typo
Approved by:	portmgr blanket
2015-09-30 15:43:55 +00:00
Dmitry Marakasov
5c57225987 Implemented complete support for test target.
You can now `make test' on any port to run test sequence, no-op by default.
If a port defines TEST_TARGET, it'll run sub-make with specified target,
usually `check' or `test', useful if upstream supports that. The port may
instead define custom do-test target, as well as usual satellite targets:

  {pre,do,post}-test, {pre,do,post}-test-OPT, {pre,do,post}-test-OPT-off

`make test' builds and stages port first, so test may use both WRKDIR and
STAGEDIR, and both BUILD and RUN depends are available for test target.
Additionally, TEST_DEPENDS is now properly supported and may be used to
define additional depends specifically for testing.

Framework may define default tests for specific cases. For instance,
perl5.mk and cran.mk already provide default test target on their own.

This commit also converts my ports which have tests to this new framework.

Approved by:	portmgr (bapt)
Differential Revision:	D3680
2015-09-28 17:20:42 +00:00
Hiroki Sato
129e42e9dc Add description about background why arguments other than
:fcfontsdir are required.
2015-09-19 22:56:19 +00:00
David Chisnall
9156bf1b9e Make all GNUstep ports install into the System domain so that the Local domain is available for stuff built from source.
Some ports were already installing in the System domain, for these just remove the Makefile lines explicitly specifying the install domain.

The rest are installed in the Local domain, remove any overrides, update their pkg-plists and any explicit paths in the Makefiles and then bump port revision.

Approved by:	bapt (mentor)
Differential Revision:	https://reviews.freebsd.org/D2977
2015-09-19 10:33:34 +00:00
Mathieu Arnold
ab90db428d Fixup gssapi.mk, no need to support more releases than needed, and use
the correct way to insert targets in the pipe.

Sponsored by:	Absolight
2015-09-18 22:11:11 +00:00
Hiroki Sato
bf65c25262 Add a fixup for broken krb5-config script included in 9.X
and some 10.X releases.
2015-09-18 21:02:21 +00:00
Hiroki Sato
e8e089dc93 Add KRB5CONFIG. 2015-09-18 02:29:49 +00:00
Antoine Brodin
b7aac35e1b - Update jpeg-turbo to 1.4.1 and grab maintainership after several timeouts
- Change default jpeg implementation from jpeg to jpeg-turbo

Reviewed by:		bapt, mat
Differential Revision:	https://reviews.freebsd.org/D2884
2015-09-16 20:35:13 +00:00
Ruslan Makhmatkhanov
b654068d0e textproc/py-xml: remove port
This package has been included into python standard library since python 2.2 or
2.0, but some of our ports used apis not available in stock python xml package.
Now all the issue are fixed and we can finally remove this port.

It is dead upstream and because of it's invasive nature it may break innocent
ports while installed (there were known issues for Eric and Docutils), so it was
removed in most distributions years ago. There is comprehensive summary on
reasons why PyXML was removed at Fedora Project [1]. The same reasons are also
applicable to our tree.

[1] https://fedoraproject.org/wiki/Features/RemovePyXML
2015-09-16 14:40:24 +00:00
Raphael Kubo da Costa
39ced03cc1 Update the Qt4 ports to 4.8.7.
According to upstream, this is the last planned Qt4 release.
A list of changes since 4.8.6 can be found here:
<http://download.qt.io/official_releases/qt/4.8/4.8.7/changes-4.8.7>

Porting notes and changes:
- Remove several patches that have been upstreamed.
- Make Uses/qmake.mk pass the contents of LIBS to the qmake environment. [1]
- Repurpose devel/qt4/files/extrapatch-src-corelib-global-qglobal.h now the
  original patch is part of the release (curiously enough, the original
  patch was never actually used, as the ?= assignment in r362837 after
  r362770 was never possible).

  This works around the way compiler support for C++11 features is detected
  in Qt 4.8.7: while it originally only uses the compiler to determine if
  something is supported or not, the initializer lists feature also depends
  on the C++ standard library being used. It's a problem in FreeBSD 9.x,
  where USES=compiler:c++0x or USES=compiler:c++11-lang means we will use
  clang to build a port but use libstdc++ from base (GCC 4.2). The latter
  obviously does not support initializer lists, and the build fails because
  Qt tries to include headers that do not exist (<initializer_list>).

  Since detecting libstdc++'s version is not trivial (we need to include a
  non-lightweight header like cstdio and then check for __GLIBCXX__), we
  just enable Q_COMPILER_INITIALIZER_LISTS support only when libc++ is used
  (there should be no reason for someone to be using clang with GCC 4.8's
  libstdc++, for example).

  x11/kdelibs4's FindQt4.cmake had to include a backported change from the
  upstream FindQt4.cmake in CMake itself to use a C++ compiler to detect
  flags like Q_WS_X11, otherwise the inclusion of <ciso646> in qglobal.h
  makes the build fail.

This patch contains changes by me, makc@ and alonso@.

PR:             202552 [1]
PR:             202808 [exp-run]
Submitted by:	pawel@ [1]
2015-09-16 08:55:04 +00:00
Dmitry Marakasov
ecf8298ab7 - Use -isystem instead of -I to add ${LOCALBASE}/include to the list of header search paths
First, this prevents ports which use strict -Werror settings from
build failures in third party headers (real life example is
devel/pructl which uses -Werror -Weverything and fails in libedit
header on actually harmless padding warning).

Second, this prevents ports which install headers from picking up
their own headers from LOCALBASE instead of using ones from WRKDIR,
which leads to any kind of problems when upgrading via ports.

PR:		203101
Approved by:	bapt
Differential Revision:	D3618
2015-09-15 21:24:42 +00:00
Olivier Duchateau
ed5ad1749b Rewrite detection of GTK+3 support
Differential Revision:	https://reviews.freebsd.org/D3137
2015-09-14 13:00:58 +00:00
Antoine Brodin
0622d6683a Since PEP 0488 and python 3.5, pyo files are eliminated and bytecode files
for level 1 optimization have opt-1.pyc extension
Adjust USE_PYTHON=py3kplist to handle this

Tested by:	koobs
2015-09-14 12:26:28 +00:00
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
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
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
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
Mathieu Arnold
1118f8ad40 Bump perl5-devel's PERL_VERSION.
Pointy hat to:	mat
Sponsored by:	Absolight
2015-08-24 14:37:18 +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
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
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
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
Brad Davis
37d8b6d3fc Bump the version of clang to 3.6 when c++14-lang is specified
Discussed with:	brooks
Approved by:	bdrewery (mentor)
2015-08-08 21:38:18 +00:00
Xin LI
a4d81d719a Previously, ncurses.mk tests for header instead of the shared library
symlink itself, and this would cause problem for portsnap builder
(addressed differently by including the header file).

Make the test more consistent with port version of ncurses by checking
the shared library instead.  (the location is the same on all supported
versions of FreeBSD).

Approved by:	portmgr (bapt)
Differential Revision: https://reviews.freebsd.org/D3326
2015-08-07 16:18:11 +00:00
Jan Beich
4f22a2b289 - Update Firefox to 40.0
- Update Firefox ESR and libxul to 38.2.0

Changes:	https://www.mozilla.org/firefox/40.0/releasenotes/
Changes:	https://www.mozilla.org/firefox/38.2.0/releasenotes/
MFH:		2015Q3
2015-08-07 12:02:41 +00:00
Tijl Coosemans
a374acb969 By default libtool replaces -export-symbols <file> with -retain-symbols-file
<file> on ELF systems, but this doesn't really do what -export-symbols is
meant to do.  On GNU ELF systems it converts <file> to a simple version
script first and then uses -version-script instead of -retain-symbols-file.
Let USES=libtool patch libtool scripts to do this on all systems with GNU
ld(1).

Bump PORTREVISION on all ports where the build log contains -export-symbols.

audio/calf: This port builds a module that now exports only one function,
but it also builds a number of executables that link to this module and
expect to see other functions.  Because it's already a bit dodgy to link to
a module (libtool warns about this) let the module continue to export only
one function and instead build an ordinary library from the same source that
the executables can link to.  Fix a number of other issues in the same
Makefile.am and clean up the port Makefile.

japanese/scim-honoka: Tries to hide all symbols that start with an
underscore, but because this library is written in C++ all symbols start
with _Z so it ends up hiding everything.  Just don't hide anything at all
like the textproc/scim configure script does.

multimedia/schroedinger: Apply an upstream patch.

textproc/scim-input-pad: Same as japanese/scim-honoka.

PR:		201922
Approved by:	portmgr (antoine)
Exp-run by:	antoine
2015-08-02 15:03:19 +00:00