Commit graph

53 commits

Author SHA1 Message Date
Mathieu Arnold
5d7b880ff0 Move lang/go/files/bsd.go.mk to USES=go.
Reviewed by:	bapt
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D6057
2016-04-22 12:40:04 +00:00
Julien Laffaye
5009e11706 - Update to 1.6.2 2016-04-21 07:06:24 +00:00
Julien Laffaye
0a9684c34e - Update to 1.6.1
Security:	CVE-2016-3958, CVE-2016-3959
2016-04-13 10:54:13 +00:00
Mathieu Arnold
a9dcad2fff Remove ${PORTSDIR}/ from dependencies, categories h, i, j, k, and l.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:08:37 +00:00
Julien Laffaye
ada5686a1f - Update to 1.6 2016-02-26 19:22:23 +00:00
Julien Laffaye
cbc8cb4ec4 - Update to 1.5.3 2016-01-13 22:11:05 +00:00
Steve Wills
da8e4525a8 lang/go: fix build on 11i386
Approved by:	jlaffaye (maintainer)
Obtained from:	26263354a3
2015-11-10 21:45:23 +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
John Marino
11b141ff1d lang/go: adjust PLIST_SUB and bsd.go.mk to support DragonFly
Change hardcoded "freebsd" to variable (OPSYS:tl) to allow DragonFly
to build without patches.

PR:		203006
Approved by:	maintainer
2015-09-10 22:57:47 +00:00
John Marino
23ba4e0f8f lang/go: Restrict if_data8 "extra" patch to FreeBSD
The use of OSVERSION to define EXTRA_PATCHES requires an OPSYS check.
The extra patch in question is not valid for DragonFly.

Approved by:	portmgr (bapt, after technical discussion)
2015-09-10 07:20:52 +00:00
Julien Laffaye
7eb1fa0bd9 - Update to 1.5.1 2015-09-09 18:17:25 +00:00
Julien Laffaye
8e614fd8ec Fix net package on CURRENT
PR:		202504
Submitted by:	Maciej Pasternacki <maciej@pasternacki.net>
2015-09-01 20:41:30 +00:00
Julien Laffaye
b92eb0deda Force GOBIN to the empty string.
If GOBIN is already defined in the environment,
it can break ports using bsd.go.mk

PR:		202675
2015-08-26 18:50:02 +00:00
Antoine Brodin
d2aa1dc74e Unbreak INDEX on mips/sparc64/ia64 etc. 2015-08-22 05:42:45 +00:00
Julien Laffaye
f85e996695 Update to 1.5 2015-08-20 20:32:03 +00:00
Julien Laffaye
2f6989e331 - Update to 1.4.2 2015-02-18 21:32:02 +00:00
Antoine Brodin
aa097967e6 Fix plist on i386 2014-12-13 22:43:46 +00:00
Julien Laffaye
fbf520bc22 - Update to 1.4 2014-12-13 21:28:16 +00:00
Baptiste Daroussin
79aafb2cb5 Fix typo 2014-12-07 09:47:43 +00:00
Baptiste Daroussin
f175aaca84 Fix build when compiler is clang 2014-12-07 09:25:00 +00:00
Baptiste Daroussin
77cba41a62 Cleanup plist 2014-10-27 15:23:30 +00:00
Julien Laffaye
6873226fb0 Update to 1.3.2 2014-09-27 19:07:28 +00:00
Julien Laffaye
1c72e050cc - Update to 1.3.1 2014-08-15 21:44:31 +00:00
Julien Laffaye
019ce681c8 Fix plist on i386
PR:		192317
Submitted by:	robak
2014-08-01 20:09:53 +00:00
Julien Laffaye
2834c753c7 - Update to 1.3 2014-06-19 19:04:06 +00:00
Baptiste Daroussin
4a4ec28d37 Convert all :U to :tu and :L to :tl
Since FreeBSD 8.4 and FreeBSD 9.1 make(1) do support :tu and :tl as a
replacement for :U and :L (which has been marked as deprecated)

bmake which is the default on FreeBSD 10+ only support by default
:tu/:tl a hack has been added at the time to support :U and :L to ease
migration. This hack is now not necessary anymore

Note that this makes the ports tree incompatible with make(1) from
FreeBSD 8.3 or earlier

With hat:	portmgr
2014-05-05 09:45:36 +00:00
Julien Laffaye
4694a6524f - Update to 1.2.1
- Specify BSD license
2014-03-09 17:13:15 +00:00
Julien Laffaye
257ee41338 - Change default location of Go packages to LOCALBASE/share/go
This fixes problems like ports failing to build if the port
  is already installed [1]
- Bump PORTREVISION of affected ports
- Support the install target in bsd.go.mk
- STAGE support for free!

PR:		ports/180003 [1]
2014-01-11 17:46:33 +00:00
Julien Laffaye
5d7fab8cad - Update to 1.2 [1]
- Remove obsolete pkg-message [2]

PR:		ports/184454 [1], ports/176473 [2]
Submitted by:	lwhsu
2013-12-08 13:33:35 +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
Julien Laffaye
5789e0b8ce - Update to 1.1.2 2013-08-13 20:25:15 +00:00
Baptiste Daroussin
659a6d4cf5 Add USE_GCC=any as build fails with clang.
Pass CC to build env to properly using the compiler desired
This fixes build on head without gcc
2013-08-04 00:42:14 +00:00
Julien Laffaye
9e2a5b4cd3 - Update to 1.1.1
- Remove bash and bison dependencies
- Specify the PATH in regression-test target

PR:             179529
Submitted by:   koobs
2013-06-16 10:25:11 +00:00
Julien Laffaye
851e76cacf - Do not hardcode GOOS, use OPSYS instead [1]
- Add -f flag to LN [1]
- Add a regression-test target

Submitted by:	sbz (irc) [1]
2013-06-02 15:40:29 +00:00
Julien Laffaye
60aa7dc67d - Update to 1.1 2013-05-19 19:59:31 +00:00
Julien Laffaye
7fff875266 Fix plist on i386
Submitted by:	skreuzer (private mail)
2013-02-13 19:26:48 +00:00
Julien Laffaye
b6a6e4384c Add i386 to supported arch. 2013-01-24 19:11:46 +00:00
Julien Laffaye
9c26ce0839 - Fix plist 2012-10-02 18:17:07 +00:00
Julien Laffaye
449f0c8cbe - Update to 1.0.3
- Switch to new Makefile header style
2012-09-25 19:11:57 +00:00
Julien Laffaye
d95ff34009 - Update to 1.0.2 2012-06-19 18:41:01 +00:00
Julien Laffaye
6d356025c0 - Update to 1.0.1
- Only for amd64 until i386 is fixed
2012-05-14 22:00:37 +00:00
Julien Laffaye
857da7c9b8 - Install sources to fix goinstall and godoc [1] [2]
- Unset GOBIN while installing [3]

PR:		ports/154179 [1], ports/162910 [2], ports/162954 [3]
Feature safe:	yes
2011-11-30 20:35:18 +00:00
Julien Laffaye
1b03a84787 - Update go to 20111017 (r60.3)
- Install the lib folder to fix goinstall [1]

Reported by:	Andy Kosela <akosela@andykosela.com> [1]
PR:		ports/162621
Feature safe:	yes
2011-11-26 22:56:45 +00:00
Julien Laffaye
43c8b924eb Update to 20111005 2011-10-07 09:16:38 +00:00
Julien Laffaye
e40c2ecc14 - Update to 20110920
- Cleanup
- Install into PREFIX/go
2011-09-22 16:42:55 +00:00
Julien Laffaye
29fc6f0a0c Take maintainership
Approved by:	maintainer (private mail)
2011-09-02 23:30:47 +00:00
Steven Kreuzer
ba2e22f535 Update to 20110515
PR:		ports/157348
Approved by:	Devon H. O'Dell (maintainer)
2011-05-26 20:49:30 +00:00
Steve Wills
e0a1d111b9 - Update to 20101225 snapshot
PR:		ports/153464
Submitted by:	wen
Approved by:	wxs@ and pgolluci@ (mentor implicit)
Feature safe:	yes
2011-01-15 00:23:22 +00:00
Wen Heping
f82af8989d - Add bsd.go.mk to help create go package port
Submitted by:	Wen Heping(myself)
Approved by:	maintainer(via email)
2010-11-25 06:16:19 +00:00
Wesley Shields
0c5bb18988 Use pkg-message.in.
Install Make.* into ${GOROOT}/src so go packages can be used.

Submitted by:	wen@
2010-11-24 14:45:50 +00:00