Commit graph

55 commits

Author SHA1 Message Date
Sunpoet Po-Chuan Hsieh
3799fad5bf - Fix build with Clang 3.7.0+
PR:		206332
Submitted by:	dim
2016-01-19 14:23:24 +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
Sunpoet Po-Chuan Hsieh
202993b050 - Fix warnings generated by recent snapshot of Clang 3.7.0, including:
- Printing non-void pointers with %p.
  - Left-shifting negative numbers.

PR:		202530
Submitted by:	dim
2015-09-20 20:17:28 +00:00
Antoine Brodin
6e381a9d53 Switch default python_CMD used by shebangfix to ${PYTHON_CMD} for ports
using python

PR:		201077
Reviewed by:	mat
With hat:	portmgr
Differential Revision:	https://reviews.freebsd.org/D2955
2015-07-29 22:09:53 +00:00
Mark Felder
a332763fb7 lang/v8, lang/v8-devel: Backport CVE fix
This fix has been backported instead of upgrading to a newer release as
the upstream release process is a complicated fast-moving target and the
current ports are using custom snapshots created by the port maintainer.

This will also limit the amount of potential fallout as we know the
existing v8 port works well enough to keep mongodb up to date.

PR:		201450
MFH:		2015Q3
Security:	CVE-2015-5380
Security:	864e6f75-2372-11e5-86ff-14dae9d210b8
2015-07-29 17:00:29 +00:00
Sunpoet Po-Chuan Hsieh
039218878a - Fix build with Clang 3.6.0
- Use CXXFLAGS instead of CFLAGS
- Simplify CXXFLAGS: all supported Clang are 3.3+
2015-02-21 11:31:58 +00:00
Sunpoet Po-Chuan Hsieh
0bb9587da4 - Fix build with clang 3.5.0
PR:		ports/195666
Submitted by:	dim
2014-12-05 17:12:42 +00:00
Sunpoet Po-Chuan Hsieh
6f09fa335b - Remove lang/python from BUILD_DEPENDS
- Use USES=shebangfix
- Use REINPLACE_CMD instead of patch files
- Move ONLY_FOR_ARCHS upward
2014-12-05 16:53:54 +00:00
John Marino
e37d39a111 Add USES=alias to several ports
Alias is a new USES tool that allows DragonFly to masquerade as FreeBSD
by setting CFLAGS+= -D__FreeBSD__.  For some ports, this fixes the build
without the need for additional patches.

Approved by:	portmgr (bapt, blanket)
2014-10-20 09:34:03 +00:00
John Baldwin
1ebd0e3345 The MAP_NORESERVE flag to mmap() has never been implemented in FreeBSD and
is being removed.  No portrev bump needed since the kernel will continue to
accept this flag for old binaries even after support for it in new binaries
is removed.

PR:		193961
Approved by:	portmgr (antoine)
2014-10-18 12:20:42 +00:00
Sunpoet Po-Chuan Hsieh
e204458c4c - Add PORTSCOUT 2014-09-08 15:49:43 +00:00
Sunpoet Po-Chuan Hsieh
2ed1d04c00 - Use USES=python 2014-08-15 03:01:35 +00:00
Sunpoet Po-Chuan Hsieh
0b6d67fac2 - Add CPE information 2014-08-13 09:06:32 +00:00
Sunpoet Po-Chuan Hsieh
294548b397 - Reword COMMENT
- Use CONFLICTS_INSTALL instead of CONFLICTS
- Use USES=execinfo
- Cosmetic change
- Update pkg-descr
2014-08-12 18:15:53 +00:00
Sunpoet Po-Chuan Hsieh
1dcc158cc0 - Take maintainership 2014-08-07 16:53:10 +00:00
Vanilla I. Shu
885eefa5e8 reset maintainer to ports@. 2014-08-07 14:57:49 +00:00
Adam Weinberger
95786c7af1 Remove backslashes from single- and double-quotes in COMMENT and _DESC
strings, that were passed through rather than escaping anything.

Approved by:	portmgr (not really, but it touches unstaged ports)
2014-07-23 01:45:47 +00:00
Vanilla I. Shu
59f65c82ef Upgrade v8-devel to 3.27.7. 2014-06-03 12:45:27 +00:00
Vanilla I. Shu
613e9d821a 1: fix build with clang34.
2: convert to new style of LIB_DEPENDS.
3: switch to tar:xz

Submitted by:	lev@ [1]
2014-03-27 09:22:54 +00:00
Sunpoet Po-Chuan Hsieh
f35a01d203 - Add LICENSE
Submitted by:	sunpoet (myself)
Approved by:	vanilla (maintainer)
2014-02-08 10:05:06 +00:00
Vanilla I. Shu
b601fd950a 1: use compiler.mk
2: upgrade v8-devel to 3.24.30.

PR:		ports/186373 [1]
Submitted by:	mat@ [1]
2014-02-04 09:15:37 +00:00
Rene Ladan
50f8eaece1 Python cleanup:
- USE_PYTHON* = 2.X -> USE_PYTHON* = 2
- USE_PYTHON* = 2.X+ -> USE_PYTHON* = yes
Reviewed by:	python (mva, rm)
Approved by:	portmgr-lurkers (mat)
2014-01-13 21:00:02 +00:00
Vanilla I. Shu
a35adbcd94 repo copy lang/v8 to lang/v8-devel. 2013-12-28 04:28:43 +00:00
Sunpoet Po-Chuan Hsieh
d2435a2ea2 - Update USE_PYTHON
- Fix shebang for users with python3x as default python interpreter

Submitted by:	sunpoet (myself)
Approved by:	vanilla (maintainer)
2013-12-11 11:31:07 +00:00
Marcus von Appen
ec724aee7e - Fix the usage of 'python' to get rid of the implicit lang/python
dependency
- lang/v8 requires python to build

Approved by:	portmgr (blanket)
2013-12-08 13:29:41 +00:00
Vanilla I. Shu
d616a34210 Add support STAGEDIR. 2013-09-24 22:07:10 +00:00
Vanilla I. Shu
41d28aef1b Switch to USES framework. 2013-09-22 01:47:15 +00:00
Baptiste Daroussin
888ab73a81 Add NO_STAGE all over the place in preparation for the staging support (cat: lang) 2013-09-20 19:53:09 +00:00
Vanilla I. Shu
c15bc0364a Fix build with -current
Submitted by:	bapt@
2013-05-27 13:36:43 +00:00
Vanilla I. Shu
2aa47e92f1 Fix build with clang < 3.3. 2013-05-05 13:51:08 +00:00
Vanilla I. Shu
199e87392f 1: Upgrade to 3.18.5.
2: Fix build with clang-3.3

Submitted by:	bapt@ [2]
2013-05-04 06:53:06 +00:00
Vanilla I. Shu
742a86409c 1: upgrade to 3.17.9.
2: add '-Wno-unused-private-field' to CFLAGS when use clang.
2013-03-09 11:45:26 +00:00
Vanilla I. Shu
cf6e02ff81 Fix build.
Submitted by:	Akihiko HAYASHI <hayashi at totalware.gifu.gifu.jp>
2012-12-14 13:41:04 +00:00
Vanilla I. Shu
0214b83f0b Upgrade to 3.15.10. 2012-12-12 02:02:55 +00:00
Vanilla I. Shu
d6799815c8 Upgrade to 3.14.5.
Feature safe: yes
2012-10-23 16:36:12 +00:00
Mark Linimon
a8693b8dee Force numerous ports that fail to build with clang over to instead always
rely on gcc.  The patch uses the new USE_GCC=any code in Mk/bsd.gcc.mk to
accomplish this.

The ports chosen were ports that blocked 2 or more ports from building with
clang.  (There are several hundred other ports that still fail to build with
clang, even with this patch.  This is merely one step along the way.)

Those interested in fixing these ports with clang, and have clang as their
default compiler, can simply set FORCE_BASE_CC_FOR_TESTING=yes.

For those who have gcc as their default compiler, this change is believed
to cause no change.

Hat:		portmgr
Tested with:	multiple runs on amd64-8-exp-bcm and 9-exp-clang, with various
		combinations of patch/no-patch and flag settings.
2012-10-09 22:12:13 +00:00
Vanilla I. Shu
f556acafc8 Upgrade to 3.13.7. 2012-09-14 12:23:32 +00:00
Vanilla I. Shu
951517b000 Upgrade to 3.12.9.
PR:		ports/168719
Required by:    Paul Dokas <paul@dokas.name>
2012-07-10 01:20:19 +00:00
Vanilla I. Shu
99f7bbb54f Upgrade to 3.11.8. 2012-06-05 03:41:08 +00:00
Vanilla I. Shu
ad8311e37c Upgrade to 3.11.2. 2012-05-18 07:34:26 +00:00
Vanilla I. Shu
bec37314cf Upgrade to 3.10.4. 2012-04-25 12:50:22 +00:00
Vanilla I. Shu
fee6eeef9f Upgrade to 3.9.5. 2012-02-12 12:51:59 +00:00
Vanilla I. Shu
8676d59fe3 Upgrade to 3.8.5. 2012-01-13 07:13:06 +00:00
Vanilla I. Shu
63bb7c8fb5 1: Upgrade to 3.8.2.
2: handle '-fno-strict-aliasing'.

PR:		ports/163606
Submitted by:	Panagiotis Christias <p.christias at noc.ntua.gr> [2]
2011-12-25 15:33:41 +00:00
Vanilla I. Shu
613870a936 Upgrade to 3.7.3. 2011-11-03 15:13:15 +00:00
Vanilla I. Shu
492bb0cb59 Fix build error with clang. 2011-09-25 02:17:44 +00:00
Vanilla I. Shu
b864d712bc Upgrade to 3.5.10. 2011-09-05 12:44:32 +00:00
Vanilla I. Shu
13d735490e Upgrade to 3.5.1. 2011-08-05 06:39:19 +00:00
Vanilla I. Shu
b3a42e2589 Upgrade to 3.4.8. 2011-07-01 01:36:51 +00:00
Vanilla I. Shu
80c75c68ce 1: Upgrade to 3.4.4
2: install shared library by default.
3: resolv undefined symbol.

PR:		ports/157875
Submitted by:	Brett Kiefer <brett at fogcreek.com>, L Campbell <lcampbell at ironclad.mobi> [3]
2011-06-20 07:16:31 +00:00