Commit graph

8 commits

Author SHA1 Message Date
Dmitry Marakasov
2d5679d47f Use dedicated macro FMT_80 instead of ${FMT} 75 79 magical constants
Suggested by:	mat
Approved by:	portmgr (mat)
Differential Revision:	D10342
2017-04-11 14:22:41 +00:00
Sunpoet Po-Chuan Hsieh
3dea99e482 Update default GEM_NAME
Change default GEM_NAME from ${PORTNAME}-${PORTVERSION} to ${DISTNAME} to avoid
unnecessary GEM_NAME setting in ports Makefile

Differential Revision:	https://reviews.FreeBSD.org/D9250
PR:		216267
Exp-run by:	antoine
2017-01-21 17:29:23 +00:00
Tijl Coosemans
02f27a83b4 The output of tools like awk, date, sort, tr,... depends on the current
locale set by the user.  Add LANG=C and LC_ALL=C at the beginning of
bsd.port.mk and export them so all commands are executed with the C locale.
LC_ALL=C overrides all other LC_* variables.  LANG is used by setlocale(3)
as default value for LC_* variables, so normally it isn't used when LC_ALL
is set, but there's code out there that looks at LANG directly so it's safer
to set it as well.  The only commands not captured by this are !=
assignments before any inclusion of bsd.port.*mk.

Introduce USE_LOCALE=<locale> that adds LANG=<locale> and LC_ALL=<locale> to
CONFIGURE_ENV and MAKE_ENV so upstream build systems can be executed with a
different locale (e.g. USE_LOCALE=en_US.UTF-8).

PR:		215882
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2017-01-18 13:20:31 +00:00
Mathieu Arnold
eabbfd75e3 ${RM} already has -f.
PR:		213570
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	Absolight
2016-10-21 12:51:40 +00:00
Mathieu Arnold
3c240de5dc Now that autoplist is not used, remove support for it, and fix header.
Sponsored by:	Absolight
2016-04-28 08:51:02 +00:00
Steve Wills
38fb960f49 Improve gem.mk
* Check for valid args to USES=gem
* Make autoplist default, allowing it to be specified (which is a no-op), or
  turned off
* Add sanity checks for USE_RUBYGEMS RUBYGEM_AUTOPLIST

Requested by:	mat
Discussed with:	mat
2016-04-27 20:19:16 +00:00
Mathieu Arnold
360cd76225 Don't abuse an existing target and create our own.
Sponsored by:	Absolight
2016-04-27 16:53:29 +00:00
Steve Wills
b3e8fe8d85 create USES=gem and update rubygem- ports to use it
Note that for now ports still have to have USE_RUBY=yes to use USES=gem

PR:		209041
Differential Revision:	https://reviews.freebsd.org/D6070
2016-04-27 16:36:41 +00:00