2012-05-23 10:17:49 +02:00
|
|
|
#-*- tab-width: 4; -*-
|
* Change bento to pointyhat names in comments. [1]
* Document DISABLE_VULNERABILITIES variable. [2]
* Add WWW: line for 'search' target. [3]
* Speedup check-vulnerable invokation, if portaudit is installed. [4]
* Run install-info for all .info files. [5]
* Run add-plist-docs more strictly and prevent some situations with
leftover files in the future. [6]
* Introduce two new variables: MASTER_PORT and SLAVE_PORT.
The results from these variables is only used as information for
users. [7]
* Honour OPTIONS if PACKAGE_BUILDING or BATCH are defined. [8]
* Move all USE_GCC entries to new file - bsd.gcc.mk. 'test-gcc'
target allows users to check gcc version if USE_GCC is used. Give
maintainers opportunity to add '+' character to USE_GCC version
for using specified and higher versions. [9]
* Install startup scripts with the help of USE_RC_SUBR variable. [10]
* Add three new targets: config-recursive, rmconfig-recursive and
config-conditional. You can set or delete OPTIONS for all
dependencies before every build. config-conditional target is
used to skip configuring ports which have already been
configured. [11]
* Fix using of WANT_PGSQL_VER variable if postgresql is already
installed. [12]
PR: ports/75768 [1], ports/75728 [2], ports/76187 [3],
ports/76191 [4], ports/76182 [5], ports/75379 [6],
ports/75286 [7], ports/75727 [8], ports/76489 [9],
ports/73691 ports/69217 [10], ports/76254 [11],
ports/76988 [12]
Submitted by: dinoex [1], edwin [2] [5] [6] [8] [9] [10],
Marcus Grando <marcus@corp.grupos.com.br> [3],
tobez and Valentin Nechayev <netch@netch.kiev.ua> [4],
linimon [7], Florent Thoumie <flz@xbsd.org> [10],
Chris Dillon <cdillon@wolves.k12.mo.us> [11],
girgen [12]
2005-02-07 12:17:50 +01:00
|
|
|
# ex:ts=4
|
|
|
|
#
|
|
|
|
# bsd.gcc.mk - Support for smarter USE_GCC usage.
|
|
|
|
#
|
|
|
|
# Created by: Edwin Groothuis <edwin@freebsd.org>
|
|
|
|
#
|
2012-12-22 22:35:35 +01:00
|
|
|
# To request the use of a current version of GCC, specify USE_GCC=yes in
|
|
|
|
# your port/system configuration. This is the preferred use of USE_GCC.
|
2014-03-16 01:45:55 +01:00
|
|
|
# It uses the canonical version of GCC defined in bsd.default-versions.mk.
|
2013-11-10 21:29:52 +01:00
|
|
|
#
|
|
|
|
# USE_GCC=any is similar, except that it also accepts the old GCC 4.2-
|
|
|
|
# based system compiler in older versions of FreeBSD.
|
2012-12-22 22:35:35 +01:00
|
|
|
#
|
2010-06-11 23:06:18 +02:00
|
|
|
# If your port needs a specific (minimum) version of GCC, you can easily
|
2012-12-22 22:35:35 +01:00
|
|
|
# specify that with a USE_GCC= statement. Unless absolutely necessary
|
2018-06-02 10:03:59 +02:00
|
|
|
# do so by specifying USE_GCC=X+ which requests at least GCC version X.
|
|
|
|
# To request a specific version omit the trailing + sign.
|
2013-11-10 21:29:52 +01:00
|
|
|
#
|
2010-06-06 19:17:04 +02:00
|
|
|
# Examples:
|
2012-12-22 22:35:35 +01:00
|
|
|
# USE_GCC= yes # port requires a current version of GCC
|
2014-03-16 01:45:55 +01:00
|
|
|
# # as defined in bsd.default-versions.mk.
|
2013-11-10 21:29:52 +01:00
|
|
|
# USE_GCC= any # port requires GCC 4.2 or later.
|
2018-06-02 10:03:59 +02:00
|
|
|
# USE_GCC= 7+ # port requires GCC 7 or later.
|
|
|
|
# USE_GCC= 5 # port requires GCC 5.
|
* Change bento to pointyhat names in comments. [1]
* Document DISABLE_VULNERABILITIES variable. [2]
* Add WWW: line for 'search' target. [3]
* Speedup check-vulnerable invokation, if portaudit is installed. [4]
* Run install-info for all .info files. [5]
* Run add-plist-docs more strictly and prevent some situations with
leftover files in the future. [6]
* Introduce two new variables: MASTER_PORT and SLAVE_PORT.
The results from these variables is only used as information for
users. [7]
* Honour OPTIONS if PACKAGE_BUILDING or BATCH are defined. [8]
* Move all USE_GCC entries to new file - bsd.gcc.mk. 'test-gcc'
target allows users to check gcc version if USE_GCC is used. Give
maintainers opportunity to add '+' character to USE_GCC version
for using specified and higher versions. [9]
* Install startup scripts with the help of USE_RC_SUBR variable. [10]
* Add three new targets: config-recursive, rmconfig-recursive and
config-conditional. You can set or delete OPTIONS for all
dependencies before every build. config-conditional target is
used to skip configuring ports which have already been
configured. [11]
* Fix using of WANT_PGSQL_VER variable if postgresql is already
installed. [12]
PR: ports/75768 [1], ports/75728 [2], ports/76187 [3],
ports/76191 [4], ports/76182 [5], ports/75379 [6],
ports/75286 [7], ports/75727 [8], ports/76489 [9],
ports/73691 ports/69217 [10], ports/76254 [11],
ports/76988 [12]
Submitted by: dinoex [1], edwin [2] [5] [6] [8] [9] [10],
Marcus Grando <marcus@corp.grupos.com.br> [3],
tobez and Valentin Nechayev <netch@netch.kiev.ua> [4],
linimon [7], Florent Thoumie <flz@xbsd.org> [10],
Chris Dillon <cdillon@wolves.k12.mo.us> [11],
girgen [12]
2005-02-07 12:17:50 +01:00
|
|
|
#
|
|
|
|
# If you are wondering what your port exactly does, use "make test-gcc"
|
|
|
|
# to see some debugging.
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
|
2007-01-29 10:27:04 +01:00
|
|
|
GCC_Include_MAINTAINER= gerald@FreeBSD.org
|
* Change bento to pointyhat names in comments. [1]
* Document DISABLE_VULNERABILITIES variable. [2]
* Add WWW: line for 'search' target. [3]
* Speedup check-vulnerable invokation, if portaudit is installed. [4]
* Run install-info for all .info files. [5]
* Run add-plist-docs more strictly and prevent some situations with
leftover files in the future. [6]
* Introduce two new variables: MASTER_PORT and SLAVE_PORT.
The results from these variables is only used as information for
users. [7]
* Honour OPTIONS if PACKAGE_BUILDING or BATCH are defined. [8]
* Move all USE_GCC entries to new file - bsd.gcc.mk. 'test-gcc'
target allows users to check gcc version if USE_GCC is used. Give
maintainers opportunity to add '+' character to USE_GCC version
for using specified and higher versions. [9]
* Install startup scripts with the help of USE_RC_SUBR variable. [10]
* Add three new targets: config-recursive, rmconfig-recursive and
config-conditional. You can set or delete OPTIONS for all
dependencies before every build. config-conditional target is
used to skip configuring ports which have already been
configured. [11]
* Fix using of WANT_PGSQL_VER variable if postgresql is already
installed. [12]
PR: ports/75768 [1], ports/75728 [2], ports/76187 [3],
ports/76191 [4], ports/76182 [5], ports/75379 [6],
ports/75286 [7], ports/75727 [8], ports/76489 [9],
ports/73691 ports/69217 [10], ports/76254 [11],
ports/76988 [12]
Submitted by: dinoex [1], edwin [2] [5] [6] [8] [9] [10],
Marcus Grando <marcus@corp.grupos.com.br> [3],
tobez and Valentin Nechayev <netch@netch.kiev.ua> [4],
linimon [7], Florent Thoumie <flz@xbsd.org> [10],
Chris Dillon <cdillon@wolves.k12.mo.us> [11],
girgen [12]
2005-02-07 12:17:50 +01:00
|
|
|
|
2009-10-10 13:45:30 +02:00
|
|
|
# All GCC versions supported by the ports framework. Keep them in
|
|
|
|
# ascending order and in sync with the table below.
|
2016-04-14 15:34:25 +02:00
|
|
|
# When adding a version, please keep the comment in
|
|
|
|
# Mk/bsd.default-versions.mk in sync.
|
2019-02-23 07:10:50 +01:00
|
|
|
GCCVERSIONS= 040200 040800 050000 060000 070000 080000
|
* Change bento to pointyhat names in comments. [1]
* Document DISABLE_VULNERABILITIES variable. [2]
* Add WWW: line for 'search' target. [3]
* Speedup check-vulnerable invokation, if portaudit is installed. [4]
* Run install-info for all .info files. [5]
* Run add-plist-docs more strictly and prevent some situations with
leftover files in the future. [6]
* Introduce two new variables: MASTER_PORT and SLAVE_PORT.
The results from these variables is only used as information for
users. [7]
* Honour OPTIONS if PACKAGE_BUILDING or BATCH are defined. [8]
* Move all USE_GCC entries to new file - bsd.gcc.mk. 'test-gcc'
target allows users to check gcc version if USE_GCC is used. Give
maintainers opportunity to add '+' character to USE_GCC version
for using specified and higher versions. [9]
* Install startup scripts with the help of USE_RC_SUBR variable. [10]
* Add three new targets: config-recursive, rmconfig-recursive and
config-conditional. You can set or delete OPTIONS for all
dependencies before every build. config-conditional target is
used to skip configuring ports which have already been
configured. [11]
* Fix using of WANT_PGSQL_VER variable if postgresql is already
installed. [12]
PR: ports/75768 [1], ports/75728 [2], ports/76187 [3],
ports/76191 [4], ports/76182 [5], ports/75379 [6],
ports/75286 [7], ports/75727 [8], ports/76489 [9],
ports/73691 ports/69217 [10], ports/76254 [11],
ports/76988 [12]
Submitted by: dinoex [1], edwin [2] [5] [6] [8] [9] [10],
Marcus Grando <marcus@corp.grupos.com.br> [3],
tobez and Valentin Nechayev <netch@netch.kiev.ua> [4],
linimon [7], Florent Thoumie <flz@xbsd.org> [10],
Chris Dillon <cdillon@wolves.k12.mo.us> [11],
girgen [12]
2005-02-07 12:17:50 +01:00
|
|
|
|
2015-04-22 23:29:21 +02:00
|
|
|
# The first field is the OSVERSION in which it disappeared from the base.
|
|
|
|
# The second field is the version as USE_GCC would use.
|
|
|
|
GCCVERSION_040200= 9999999 4.2
|
|
|
|
GCCVERSION_040800= 0 4.8
|
|
|
|
GCCVERSION_050000= 0 5
|
2016-06-10 11:11:25 +02:00
|
|
|
GCCVERSION_060000= 0 6
|
2017-08-15 14:44:16 +02:00
|
|
|
GCCVERSION_070000= 0 7
|
2018-07-15 07:59:51 +02:00
|
|
|
GCCVERSION_080000= 0 8
|
* Change bento to pointyhat names in comments. [1]
* Document DISABLE_VULNERABILITIES variable. [2]
* Add WWW: line for 'search' target. [3]
* Speedup check-vulnerable invokation, if portaudit is installed. [4]
* Run install-info for all .info files. [5]
* Run add-plist-docs more strictly and prevent some situations with
leftover files in the future. [6]
* Introduce two new variables: MASTER_PORT and SLAVE_PORT.
The results from these variables is only used as information for
users. [7]
* Honour OPTIONS if PACKAGE_BUILDING or BATCH are defined. [8]
* Move all USE_GCC entries to new file - bsd.gcc.mk. 'test-gcc'
target allows users to check gcc version if USE_GCC is used. Give
maintainers opportunity to add '+' character to USE_GCC version
for using specified and higher versions. [9]
* Install startup scripts with the help of USE_RC_SUBR variable. [10]
* Add three new targets: config-recursive, rmconfig-recursive and
config-conditional. You can set or delete OPTIONS for all
dependencies before every build. config-conditional target is
used to skip configuring ports which have already been
configured. [11]
* Fix using of WANT_PGSQL_VER variable if postgresql is already
installed. [12]
PR: ports/75768 [1], ports/75728 [2], ports/76187 [3],
ports/76191 [4], ports/76182 [5], ports/75379 [6],
ports/75286 [7], ports/75727 [8], ports/76489 [9],
ports/73691 ports/69217 [10], ports/76254 [11],
ports/76988 [12]
Submitted by: dinoex [1], edwin [2] [5] [6] [8] [9] [10],
Marcus Grando <marcus@corp.grupos.com.br> [3],
tobez and Valentin Nechayev <netch@netch.kiev.ua> [4],
linimon [7], Florent Thoumie <flz@xbsd.org> [10],
Chris Dillon <cdillon@wolves.k12.mo.us> [11],
girgen [12]
2005-02-07 12:17:50 +01:00
|
|
|
|
2011-10-30 16:51:09 +01:00
|
|
|
# No configurable parts below this. ####################################
|
* Change bento to pointyhat names in comments. [1]
* Document DISABLE_VULNERABILITIES variable. [2]
* Add WWW: line for 'search' target. [3]
* Speedup check-vulnerable invokation, if portaudit is installed. [4]
* Run install-info for all .info files. [5]
* Run add-plist-docs more strictly and prevent some situations with
leftover files in the future. [6]
* Introduce two new variables: MASTER_PORT and SLAVE_PORT.
The results from these variables is only used as information for
users. [7]
* Honour OPTIONS if PACKAGE_BUILDING or BATCH are defined. [8]
* Move all USE_GCC entries to new file - bsd.gcc.mk. 'test-gcc'
target allows users to check gcc version if USE_GCC is used. Give
maintainers opportunity to add '+' character to USE_GCC version
for using specified and higher versions. [9]
* Install startup scripts with the help of USE_RC_SUBR variable. [10]
* Add three new targets: config-recursive, rmconfig-recursive and
config-conditional. You can set or delete OPTIONS for all
dependencies before every build. config-conditional target is
used to skip configuring ports which have already been
configured. [11]
* Fix using of WANT_PGSQL_VER variable if postgresql is already
installed. [12]
PR: ports/75768 [1], ports/75728 [2], ports/76187 [3],
ports/76191 [4], ports/76182 [5], ports/75379 [6],
ports/75286 [7], ports/75727 [8], ports/76489 [9],
ports/73691 ports/69217 [10], ports/76254 [11],
ports/76988 [12]
Submitted by: dinoex [1], edwin [2] [5] [6] [8] [9] [10],
Marcus Grando <marcus@corp.grupos.com.br> [3],
tobez and Valentin Nechayev <netch@netch.kiev.ua> [4],
linimon [7], Florent Thoumie <flz@xbsd.org> [10],
Chris Dillon <cdillon@wolves.k12.mo.us> [11],
girgen [12]
2005-02-07 12:17:50 +01:00
|
|
|
#
|
|
|
|
|
2012-12-23 00:25:02 +01:00
|
|
|
.if defined(USE_GCC) && ${USE_GCC} == yes
|
2014-02-24 23:15:32 +01:00
|
|
|
USE_GCC= ${GCC_DEFAULT}+
|
2012-12-22 22:35:35 +01:00
|
|
|
.endif
|
|
|
|
|
2010-01-02 14:51:33 +01:00
|
|
|
# Extract the fields from GCCVERSION_...
|
|
|
|
.for v in ${GCCVERSIONS}
|
|
|
|
. for j in ${GCCVERSION_${v}}
|
2015-04-22 23:29:21 +02:00
|
|
|
. if !defined(_GCCVERSION_${v}_R)
|
2010-01-02 14:51:33 +01:00
|
|
|
_GCCVERSION_${v}_R= ${j}
|
|
|
|
. elif !defined(_GCCVERSION_${v}_V)
|
|
|
|
_GCCVERSION_${v}_V= ${j}
|
|
|
|
. endif
|
|
|
|
. endfor
|
|
|
|
.endfor
|
|
|
|
|
2012-10-07 21:33:19 +02:00
|
|
|
.if defined(USE_GCC) && !defined(FORCE_BASE_CC_FOR_TESTING)
|
|
|
|
|
|
|
|
. if ${USE_GCC} == any
|
|
|
|
|
2012-12-22 22:35:35 +01:00
|
|
|
# Enable the clang-is-cc workaround. Default to the last GCC imported
|
2012-10-07 21:33:19 +02:00
|
|
|
# into base.
|
|
|
|
_USE_GCC:= 4.2
|
|
|
|
_GCC_ORLATER:= true
|
|
|
|
|
|
|
|
. else # ${USE_GCC} == any
|
2008-06-28 18:52:40 +02:00
|
|
|
|
2011-11-12 23:03:55 +01:00
|
|
|
# See if we can use a later version or exclusively the one specified.
|
* Change bento to pointyhat names in comments. [1]
* Document DISABLE_VULNERABILITIES variable. [2]
* Add WWW: line for 'search' target. [3]
* Speedup check-vulnerable invokation, if portaudit is installed. [4]
* Run install-info for all .info files. [5]
* Run add-plist-docs more strictly and prevent some situations with
leftover files in the future. [6]
* Introduce two new variables: MASTER_PORT and SLAVE_PORT.
The results from these variables is only used as information for
users. [7]
* Honour OPTIONS if PACKAGE_BUILDING or BATCH are defined. [8]
* Move all USE_GCC entries to new file - bsd.gcc.mk. 'test-gcc'
target allows users to check gcc version if USE_GCC is used. Give
maintainers opportunity to add '+' character to USE_GCC version
for using specified and higher versions. [9]
* Install startup scripts with the help of USE_RC_SUBR variable. [10]
* Add three new targets: config-recursive, rmconfig-recursive and
config-conditional. You can set or delete OPTIONS for all
dependencies before every build. config-conditional target is
used to skip configuring ports which have already been
configured. [11]
* Fix using of WANT_PGSQL_VER variable if postgresql is already
installed. [12]
PR: ports/75768 [1], ports/75728 [2], ports/76187 [3],
ports/76191 [4], ports/76182 [5], ports/75379 [6],
ports/75286 [7], ports/75727 [8], ports/76489 [9],
ports/73691 ports/69217 [10], ports/76254 [11],
ports/76988 [12]
Submitted by: dinoex [1], edwin [2] [5] [6] [8] [9] [10],
Marcus Grando <marcus@corp.grupos.com.br> [3],
tobez and Valentin Nechayev <netch@netch.kiev.ua> [4],
linimon [7], Florent Thoumie <flz@xbsd.org> [10],
Chris Dillon <cdillon@wolves.k12.mo.us> [11],
girgen [12]
2005-02-07 12:17:50 +01:00
|
|
|
_USE_GCC:= ${USE_GCC:S/+//}
|
|
|
|
.if ${USE_GCC} != ${_USE_GCC}
|
|
|
|
_GCC_ORLATER:= true
|
|
|
|
.endif
|
|
|
|
|
2012-10-07 21:33:19 +02:00
|
|
|
. endif # ${USE_GCC} == any
|
|
|
|
|
2013-03-29 12:26:14 +01:00
|
|
|
# Initialize _GCC_FOUND${v}. In parallel, check if USE_GCC points to a
|
|
|
|
# valid version to begin with.
|
* Change bento to pointyhat names in comments. [1]
* Document DISABLE_VULNERABILITIES variable. [2]
* Add WWW: line for 'search' target. [3]
* Speedup check-vulnerable invokation, if portaudit is installed. [4]
* Run install-info for all .info files. [5]
* Run add-plist-docs more strictly and prevent some situations with
leftover files in the future. [6]
* Introduce two new variables: MASTER_PORT and SLAVE_PORT.
The results from these variables is only used as information for
users. [7]
* Honour OPTIONS if PACKAGE_BUILDING or BATCH are defined. [8]
* Move all USE_GCC entries to new file - bsd.gcc.mk. 'test-gcc'
target allows users to check gcc version if USE_GCC is used. Give
maintainers opportunity to add '+' character to USE_GCC version
for using specified and higher versions. [9]
* Install startup scripts with the help of USE_RC_SUBR variable. [10]
* Add three new targets: config-recursive, rmconfig-recursive and
config-conditional. You can set or delete OPTIONS for all
dependencies before every build. config-conditional target is
used to skip configuring ports which have already been
configured. [11]
* Fix using of WANT_PGSQL_VER variable if postgresql is already
installed. [12]
PR: ports/75768 [1], ports/75728 [2], ports/76187 [3],
ports/76191 [4], ports/76182 [5], ports/75379 [6],
ports/75286 [7], ports/75727 [8], ports/76489 [9],
ports/73691 ports/69217 [10], ports/76254 [11],
ports/76988 [12]
Submitted by: dinoex [1], edwin [2] [5] [6] [8] [9] [10],
Marcus Grando <marcus@corp.grupos.com.br> [3],
tobez and Valentin Nechayev <netch@netch.kiev.ua> [4],
linimon [7], Florent Thoumie <flz@xbsd.org> [10],
Chris Dillon <cdillon@wolves.k12.mo.us> [11],
girgen [12]
2005-02-07 12:17:50 +01:00
|
|
|
.for v in ${GCCVERSIONS}
|
|
|
|
. if exists(${LOCALBASE}/bin/gcc${_GCCVERSION_${v}_V:S/.//})
|
|
|
|
_GCC_FOUND${v}= port
|
2015-04-22 23:29:21 +02:00
|
|
|
. elif ${OSVERSION} < ${_GCCVERSION_${v}_R}
|
2013-03-03 04:21:29 +01:00
|
|
|
. if exists(/usr/bin/gcc)
|
2013-03-19 19:37:30 +01:00
|
|
|
_GCC_FOUND${v}= base
|
2013-03-03 04:21:29 +01:00
|
|
|
. endif
|
* Change bento to pointyhat names in comments. [1]
* Document DISABLE_VULNERABILITIES variable. [2]
* Add WWW: line for 'search' target. [3]
* Speedup check-vulnerable invokation, if portaudit is installed. [4]
* Run install-info for all .info files. [5]
* Run add-plist-docs more strictly and prevent some situations with
leftover files in the future. [6]
* Introduce two new variables: MASTER_PORT and SLAVE_PORT.
The results from these variables is only used as information for
users. [7]
* Honour OPTIONS if PACKAGE_BUILDING or BATCH are defined. [8]
* Move all USE_GCC entries to new file - bsd.gcc.mk. 'test-gcc'
target allows users to check gcc version if USE_GCC is used. Give
maintainers opportunity to add '+' character to USE_GCC version
for using specified and higher versions. [9]
* Install startup scripts with the help of USE_RC_SUBR variable. [10]
* Add three new targets: config-recursive, rmconfig-recursive and
config-conditional. You can set or delete OPTIONS for all
dependencies before every build. config-conditional target is
used to skip configuring ports which have already been
configured. [11]
* Fix using of WANT_PGSQL_VER variable if postgresql is already
installed. [12]
PR: ports/75768 [1], ports/75728 [2], ports/76187 [3],
ports/76191 [4], ports/76182 [5], ports/75379 [6],
ports/75286 [7], ports/75727 [8], ports/76489 [9],
ports/73691 ports/69217 [10], ports/76254 [11],
ports/76988 [12]
Submitted by: dinoex [1], edwin [2] [5] [6] [8] [9] [10],
Marcus Grando <marcus@corp.grupos.com.br> [3],
tobez and Valentin Nechayev <netch@netch.kiev.ua> [4],
linimon [7], Florent Thoumie <flz@xbsd.org> [10],
Chris Dillon <cdillon@wolves.k12.mo.us> [11],
girgen [12]
2005-02-07 12:17:50 +01:00
|
|
|
. endif
|
2013-03-29 12:26:14 +01:00
|
|
|
. if ${_USE_GCC}==${_GCCVERSION_${v}_V}
|
|
|
|
_GCCVERSION_OKAY= true
|
|
|
|
. endif
|
* Change bento to pointyhat names in comments. [1]
* Document DISABLE_VULNERABILITIES variable. [2]
* Add WWW: line for 'search' target. [3]
* Speedup check-vulnerable invokation, if portaudit is installed. [4]
* Run install-info for all .info files. [5]
* Run add-plist-docs more strictly and prevent some situations with
leftover files in the future. [6]
* Introduce two new variables: MASTER_PORT and SLAVE_PORT.
The results from these variables is only used as information for
users. [7]
* Honour OPTIONS if PACKAGE_BUILDING or BATCH are defined. [8]
* Move all USE_GCC entries to new file - bsd.gcc.mk. 'test-gcc'
target allows users to check gcc version if USE_GCC is used. Give
maintainers opportunity to add '+' character to USE_GCC version
for using specified and higher versions. [9]
* Install startup scripts with the help of USE_RC_SUBR variable. [10]
* Add three new targets: config-recursive, rmconfig-recursive and
config-conditional. You can set or delete OPTIONS for all
dependencies before every build. config-conditional target is
used to skip configuring ports which have already been
configured. [11]
* Fix using of WANT_PGSQL_VER variable if postgresql is already
installed. [12]
PR: ports/75768 [1], ports/75728 [2], ports/76187 [3],
ports/76191 [4], ports/76182 [5], ports/75379 [6],
ports/75286 [7], ports/75727 [8], ports/76489 [9],
ports/73691 ports/69217 [10], ports/76254 [11],
ports/76988 [12]
Submitted by: dinoex [1], edwin [2] [5] [6] [8] [9] [10],
Marcus Grando <marcus@corp.grupos.com.br> [3],
tobez and Valentin Nechayev <netch@netch.kiev.ua> [4],
linimon [7], Florent Thoumie <flz@xbsd.org> [10],
Chris Dillon <cdillon@wolves.k12.mo.us> [11],
girgen [12]
2005-02-07 12:17:50 +01:00
|
|
|
.endfor
|
|
|
|
|
2013-03-29 12:26:14 +01:00
|
|
|
.if !defined(_GCCVERSION_OKAY)
|
|
|
|
IGNORE= Unknown version of GCC specified (USE_GCC=${USE_GCC})
|
|
|
|
.endif
|
|
|
|
|
* Change bento to pointyhat names in comments. [1]
* Document DISABLE_VULNERABILITIES variable. [2]
* Add WWW: line for 'search' target. [3]
* Speedup check-vulnerable invokation, if portaudit is installed. [4]
* Run install-info for all .info files. [5]
* Run add-plist-docs more strictly and prevent some situations with
leftover files in the future. [6]
* Introduce two new variables: MASTER_PORT and SLAVE_PORT.
The results from these variables is only used as information for
users. [7]
* Honour OPTIONS if PACKAGE_BUILDING or BATCH are defined. [8]
* Move all USE_GCC entries to new file - bsd.gcc.mk. 'test-gcc'
target allows users to check gcc version if USE_GCC is used. Give
maintainers opportunity to add '+' character to USE_GCC version
for using specified and higher versions. [9]
* Install startup scripts with the help of USE_RC_SUBR variable. [10]
* Add three new targets: config-recursive, rmconfig-recursive and
config-conditional. You can set or delete OPTIONS for all
dependencies before every build. config-conditional target is
used to skip configuring ports which have already been
configured. [11]
* Fix using of WANT_PGSQL_VER variable if postgresql is already
installed. [12]
PR: ports/75768 [1], ports/75728 [2], ports/76187 [3],
ports/76191 [4], ports/76182 [5], ports/75379 [6],
ports/75286 [7], ports/75727 [8], ports/76489 [9],
ports/73691 ports/69217 [10], ports/76254 [11],
ports/76988 [12]
Submitted by: dinoex [1], edwin [2] [5] [6] [8] [9] [10],
Marcus Grando <marcus@corp.grupos.com.br> [3],
tobez and Valentin Nechayev <netch@netch.kiev.ua> [4],
linimon [7], Florent Thoumie <flz@xbsd.org> [10],
Chris Dillon <cdillon@wolves.k12.mo.us> [11],
girgen [12]
2005-02-07 12:17:50 +01:00
|
|
|
# If the GCC package defined in USE_GCC does not exist, but a later
|
2013-11-23 02:21:00 +01:00
|
|
|
# version is allowed (for example 4.7+), see if there is a later.
|
2005-06-03 03:42:54 +02:00
|
|
|
# First check if the base installed version is good enough, otherwise
|
|
|
|
# get the first available version.
|
* Change bento to pointyhat names in comments. [1]
* Document DISABLE_VULNERABILITIES variable. [2]
* Add WWW: line for 'search' target. [3]
* Speedup check-vulnerable invokation, if portaudit is installed. [4]
* Run install-info for all .info files. [5]
* Run add-plist-docs more strictly and prevent some situations with
leftover files in the future. [6]
* Introduce two new variables: MASTER_PORT and SLAVE_PORT.
The results from these variables is only used as information for
users. [7]
* Honour OPTIONS if PACKAGE_BUILDING or BATCH are defined. [8]
* Move all USE_GCC entries to new file - bsd.gcc.mk. 'test-gcc'
target allows users to check gcc version if USE_GCC is used. Give
maintainers opportunity to add '+' character to USE_GCC version
for using specified and higher versions. [9]
* Install startup scripts with the help of USE_RC_SUBR variable. [10]
* Add three new targets: config-recursive, rmconfig-recursive and
config-conditional. You can set or delete OPTIONS for all
dependencies before every build. config-conditional target is
used to skip configuring ports which have already been
configured. [11]
* Fix using of WANT_PGSQL_VER variable if postgresql is already
installed. [12]
PR: ports/75768 [1], ports/75728 [2], ports/76187 [3],
ports/76191 [4], ports/76182 [5], ports/75379 [6],
ports/75286 [7], ports/75727 [8], ports/76489 [9],
ports/73691 ports/69217 [10], ports/76254 [11],
ports/76988 [12]
Submitted by: dinoex [1], edwin [2] [5] [6] [8] [9] [10],
Marcus Grando <marcus@corp.grupos.com.br> [3],
tobez and Valentin Nechayev <netch@netch.kiev.ua> [4],
linimon [7], Florent Thoumie <flz@xbsd.org> [10],
Chris Dillon <cdillon@wolves.k12.mo.us> [11],
girgen [12]
2005-02-07 12:17:50 +01:00
|
|
|
#
|
|
|
|
.if defined(_GCC_ORLATER)
|
|
|
|
. for v in ${GCCVERSIONS}
|
|
|
|
. if ${_USE_GCC} == ${_GCCVERSION_${v}_V}
|
2005-06-03 03:42:54 +02:00
|
|
|
_GCC_MIN1:= true
|
* Change bento to pointyhat names in comments. [1]
* Document DISABLE_VULNERABILITIES variable. [2]
* Add WWW: line for 'search' target. [3]
* Speedup check-vulnerable invokation, if portaudit is installed. [4]
* Run install-info for all .info files. [5]
* Run add-plist-docs more strictly and prevent some situations with
leftover files in the future. [6]
* Introduce two new variables: MASTER_PORT and SLAVE_PORT.
The results from these variables is only used as information for
users. [7]
* Honour OPTIONS if PACKAGE_BUILDING or BATCH are defined. [8]
* Move all USE_GCC entries to new file - bsd.gcc.mk. 'test-gcc'
target allows users to check gcc version if USE_GCC is used. Give
maintainers opportunity to add '+' character to USE_GCC version
for using specified and higher versions. [9]
* Install startup scripts with the help of USE_RC_SUBR variable. [10]
* Add three new targets: config-recursive, rmconfig-recursive and
config-conditional. You can set or delete OPTIONS for all
dependencies before every build. config-conditional target is
used to skip configuring ports which have already been
configured. [11]
* Fix using of WANT_PGSQL_VER variable if postgresql is already
installed. [12]
PR: ports/75768 [1], ports/75728 [2], ports/76187 [3],
ports/76191 [4], ports/76182 [5], ports/75379 [6],
ports/75286 [7], ports/75727 [8], ports/76489 [9],
ports/73691 ports/69217 [10], ports/76254 [11],
ports/76988 [12]
Submitted by: dinoex [1], edwin [2] [5] [6] [8] [9] [10],
Marcus Grando <marcus@corp.grupos.com.br> [3],
tobez and Valentin Nechayev <netch@netch.kiev.ua> [4],
linimon [7], Florent Thoumie <flz@xbsd.org> [10],
Chris Dillon <cdillon@wolves.k12.mo.us> [11],
girgen [12]
2005-02-07 12:17:50 +01:00
|
|
|
. endif
|
2005-06-03 03:42:54 +02:00
|
|
|
. if defined(_GCC_MIN1) && defined(_GCC_FOUND${v}) && ${_GCC_FOUND${v}}=="base" && !defined(_GCC_FOUND)
|
|
|
|
_GCC_FOUND:= ${_GCCVERSION_${v}_V}
|
|
|
|
. endif
|
|
|
|
. endfor
|
|
|
|
. for v in ${GCCVERSIONS}
|
|
|
|
. if ${_USE_GCC} == ${_GCCVERSION_${v}_V}
|
|
|
|
_GCC_MIN2:= true
|
|
|
|
. endif
|
|
|
|
. if defined(_GCC_MIN2) && defined(_GCC_FOUND${v}) && !defined(_GCC_FOUND)
|
* Change bento to pointyhat names in comments. [1]
* Document DISABLE_VULNERABILITIES variable. [2]
* Add WWW: line for 'search' target. [3]
* Speedup check-vulnerable invokation, if portaudit is installed. [4]
* Run install-info for all .info files. [5]
* Run add-plist-docs more strictly and prevent some situations with
leftover files in the future. [6]
* Introduce two new variables: MASTER_PORT and SLAVE_PORT.
The results from these variables is only used as information for
users. [7]
* Honour OPTIONS if PACKAGE_BUILDING or BATCH are defined. [8]
* Move all USE_GCC entries to new file - bsd.gcc.mk. 'test-gcc'
target allows users to check gcc version if USE_GCC is used. Give
maintainers opportunity to add '+' character to USE_GCC version
for using specified and higher versions. [9]
* Install startup scripts with the help of USE_RC_SUBR variable. [10]
* Add three new targets: config-recursive, rmconfig-recursive and
config-conditional. You can set or delete OPTIONS for all
dependencies before every build. config-conditional target is
used to skip configuring ports which have already been
configured. [11]
* Fix using of WANT_PGSQL_VER variable if postgresql is already
installed. [12]
PR: ports/75768 [1], ports/75728 [2], ports/76187 [3],
ports/76191 [4], ports/76182 [5], ports/75379 [6],
ports/75286 [7], ports/75727 [8], ports/76489 [9],
ports/73691 ports/69217 [10], ports/76254 [11],
ports/76988 [12]
Submitted by: dinoex [1], edwin [2] [5] [6] [8] [9] [10],
Marcus Grando <marcus@corp.grupos.com.br> [3],
tobez and Valentin Nechayev <netch@netch.kiev.ua> [4],
linimon [7], Florent Thoumie <flz@xbsd.org> [10],
Chris Dillon <cdillon@wolves.k12.mo.us> [11],
girgen [12]
2005-02-07 12:17:50 +01:00
|
|
|
_GCC_FOUND:= ${_GCCVERSION_${v}_V}
|
|
|
|
. endif
|
|
|
|
. endfor
|
2011-10-30 21:58:22 +01:00
|
|
|
|
|
|
|
. if defined(_GCC_FOUND)
|
2011-10-30 02:34:38 +01:00
|
|
|
_USE_GCC:= ${_GCC_FOUND}
|
2014-02-24 23:15:32 +01:00
|
|
|
. elif ${_USE_GCC} < ${GCC_DEFAULT}
|
|
|
|
_USE_GCC:= ${GCC_DEFAULT}
|
2011-10-30 21:58:22 +01:00
|
|
|
. endif
|
|
|
|
.endif # defined(_GCC_ORLATER)
|
* Change bento to pointyhat names in comments. [1]
* Document DISABLE_VULNERABILITIES variable. [2]
* Add WWW: line for 'search' target. [3]
* Speedup check-vulnerable invokation, if portaudit is installed. [4]
* Run install-info for all .info files. [5]
* Run add-plist-docs more strictly and prevent some situations with
leftover files in the future. [6]
* Introduce two new variables: MASTER_PORT and SLAVE_PORT.
The results from these variables is only used as information for
users. [7]
* Honour OPTIONS if PACKAGE_BUILDING or BATCH are defined. [8]
* Move all USE_GCC entries to new file - bsd.gcc.mk. 'test-gcc'
target allows users to check gcc version if USE_GCC is used. Give
maintainers opportunity to add '+' character to USE_GCC version
for using specified and higher versions. [9]
* Install startup scripts with the help of USE_RC_SUBR variable. [10]
* Add three new targets: config-recursive, rmconfig-recursive and
config-conditional. You can set or delete OPTIONS for all
dependencies before every build. config-conditional target is
used to skip configuring ports which have already been
configured. [11]
* Fix using of WANT_PGSQL_VER variable if postgresql is already
installed. [12]
PR: ports/75768 [1], ports/75728 [2], ports/76187 [3],
ports/76191 [4], ports/76182 [5], ports/75379 [6],
ports/75286 [7], ports/75727 [8], ports/76489 [9],
ports/73691 ports/69217 [10], ports/76254 [11],
ports/76988 [12]
Submitted by: dinoex [1], edwin [2] [5] [6] [8] [9] [10],
Marcus Grando <marcus@corp.grupos.com.br> [3],
tobez and Valentin Nechayev <netch@netch.kiev.ua> [4],
linimon [7], Florent Thoumie <flz@xbsd.org> [10],
Chris Dillon <cdillon@wolves.k12.mo.us> [11],
girgen [12]
2005-02-07 12:17:50 +01:00
|
|
|
|
2010-01-02 14:51:33 +01:00
|
|
|
.endif # defined(USE_GCC)
|
|
|
|
|
|
|
|
|
|
|
|
.if defined(_USE_GCC)
|
|
|
|
# A concrete version has been selected. Determine if the installed OS
|
|
|
|
# features this version in the base, and if not then set proper ports
|
2010-09-28 04:48:29 +02:00
|
|
|
# dependencies, CC, CXX, CPP, and flags.
|
* Change bento to pointyhat names in comments. [1]
* Document DISABLE_VULNERABILITIES variable. [2]
* Add WWW: line for 'search' target. [3]
* Speedup check-vulnerable invokation, if portaudit is installed. [4]
* Run install-info for all .info files. [5]
* Run add-plist-docs more strictly and prevent some situations with
leftover files in the future. [6]
* Introduce two new variables: MASTER_PORT and SLAVE_PORT.
The results from these variables is only used as information for
users. [7]
* Honour OPTIONS if PACKAGE_BUILDING or BATCH are defined. [8]
* Move all USE_GCC entries to new file - bsd.gcc.mk. 'test-gcc'
target allows users to check gcc version if USE_GCC is used. Give
maintainers opportunity to add '+' character to USE_GCC version
for using specified and higher versions. [9]
* Install startup scripts with the help of USE_RC_SUBR variable. [10]
* Add three new targets: config-recursive, rmconfig-recursive and
config-conditional. You can set or delete OPTIONS for all
dependencies before every build. config-conditional target is
used to skip configuring ports which have already been
configured. [11]
* Fix using of WANT_PGSQL_VER variable if postgresql is already
installed. [12]
PR: ports/75768 [1], ports/75728 [2], ports/76187 [3],
ports/76191 [4], ports/76182 [5], ports/75379 [6],
ports/75286 [7], ports/75727 [8], ports/76489 [9],
ports/73691 ports/69217 [10], ports/76254 [11],
ports/76988 [12]
Submitted by: dinoex [1], edwin [2] [5] [6] [8] [9] [10],
Marcus Grando <marcus@corp.grupos.com.br> [3],
tobez and Valentin Nechayev <netch@netch.kiev.ua> [4],
linimon [7], Florent Thoumie <flz@xbsd.org> [10],
Chris Dillon <cdillon@wolves.k12.mo.us> [11],
girgen [12]
2005-02-07 12:17:50 +01:00
|
|
|
.for v in ${GCCVERSIONS}
|
|
|
|
. if ${_USE_GCC} == ${_GCCVERSION_${v}_V}
|
2015-04-22 23:29:21 +02:00
|
|
|
. if ${OSVERSION} > ${_GCCVERSION_${v}_R} || !exists(/usr/bin/gcc)
|
2006-09-30 21:25:46 +02:00
|
|
|
V:= ${_GCCVERSION_${v}_V:S/.//}
|
|
|
|
_GCC_PORT_DEPENDS:= gcc${V}
|
2012-08-03 04:28:37 +02:00
|
|
|
_GCC_PORT:= gcc${V}
|
* Change bento to pointyhat names in comments. [1]
* Document DISABLE_VULNERABILITIES variable. [2]
* Add WWW: line for 'search' target. [3]
* Speedup check-vulnerable invokation, if portaudit is installed. [4]
* Run install-info for all .info files. [5]
* Run add-plist-docs more strictly and prevent some situations with
leftover files in the future. [6]
* Introduce two new variables: MASTER_PORT and SLAVE_PORT.
The results from these variables is only used as information for
users. [7]
* Honour OPTIONS if PACKAGE_BUILDING or BATCH are defined. [8]
* Move all USE_GCC entries to new file - bsd.gcc.mk. 'test-gcc'
target allows users to check gcc version if USE_GCC is used. Give
maintainers opportunity to add '+' character to USE_GCC version
for using specified and higher versions. [9]
* Install startup scripts with the help of USE_RC_SUBR variable. [10]
* Add three new targets: config-recursive, rmconfig-recursive and
config-conditional. You can set or delete OPTIONS for all
dependencies before every build. config-conditional target is
used to skip configuring ports which have already been
configured. [11]
* Fix using of WANT_PGSQL_VER variable if postgresql is already
installed. [12]
PR: ports/75768 [1], ports/75728 [2], ports/76187 [3],
ports/76191 [4], ports/76182 [5], ports/75379 [6],
ports/75286 [7], ports/75727 [8], ports/76489 [9],
ports/73691 ports/69217 [10], ports/76254 [11],
ports/76988 [12]
Submitted by: dinoex [1], edwin [2] [5] [6] [8] [9] [10],
Marcus Grando <marcus@corp.grupos.com.br> [3],
tobez and Valentin Nechayev <netch@netch.kiev.ua> [4],
linimon [7], Florent Thoumie <flz@xbsd.org> [10],
Chris Dillon <cdillon@wolves.k12.mo.us> [11],
girgen [12]
2005-02-07 12:17:50 +01:00
|
|
|
CC:= gcc${V}
|
|
|
|
CXX:= g++${V}
|
2010-09-28 04:48:29 +02:00
|
|
|
CPP:= cpp${V}
|
2012-08-03 23:23:04 +02:00
|
|
|
_GCC_RUNTIME:= ${LOCALBASE}/lib/gcc${V}
|
2018-12-29 16:38:30 +01:00
|
|
|
. if ${PORTNAME} == gcc
|
|
|
|
# We don't want the rpath stuff while building GCC itself
|
|
|
|
# so we do not set the FLAGS as done in the else part.
|
|
|
|
# When building a GCC, we want the target libraries to be used and not the
|
|
|
|
# host GCC libraries.
|
|
|
|
. else
|
2012-08-03 23:23:04 +02:00
|
|
|
CFLAGS+= -Wl,-rpath=${_GCC_RUNTIME}
|
2012-11-06 01:23:43 +01:00
|
|
|
CXXFLAGS+= -Wl,-rpath=${_GCC_RUNTIME}
|
2013-12-07 23:36:21 +01:00
|
|
|
LDFLAGS+= -Wl,-rpath=${_GCC_RUNTIME} -L${_GCC_RUNTIME}
|
2018-12-29 16:38:30 +01:00
|
|
|
. endif
|
2013-03-03 04:21:29 +01:00
|
|
|
. else # Use GCC in base.
|
2012-10-07 21:33:19 +02:00
|
|
|
CC:= gcc
|
|
|
|
CXX:= g++
|
|
|
|
. if exists(/usr/bin/gcpp)
|
|
|
|
CPP:= gcpp
|
|
|
|
. else
|
|
|
|
CPP:= cpp
|
2010-01-02 14:51:33 +01:00
|
|
|
. endif
|
2013-03-03 04:21:29 +01:00
|
|
|
. endif # Use GCC in base.
|
2012-10-07 21:33:19 +02:00
|
|
|
. endif # ${_USE_GCC} == ${_GCCVERSION_${v}_V}
|
* Change bento to pointyhat names in comments. [1]
* Document DISABLE_VULNERABILITIES variable. [2]
* Add WWW: line for 'search' target. [3]
* Speedup check-vulnerable invokation, if portaudit is installed. [4]
* Run install-info for all .info files. [5]
* Run add-plist-docs more strictly and prevent some situations with
leftover files in the future. [6]
* Introduce two new variables: MASTER_PORT and SLAVE_PORT.
The results from these variables is only used as information for
users. [7]
* Honour OPTIONS if PACKAGE_BUILDING or BATCH are defined. [8]
* Move all USE_GCC entries to new file - bsd.gcc.mk. 'test-gcc'
target allows users to check gcc version if USE_GCC is used. Give
maintainers opportunity to add '+' character to USE_GCC version
for using specified and higher versions. [9]
* Install startup scripts with the help of USE_RC_SUBR variable. [10]
* Add three new targets: config-recursive, rmconfig-recursive and
config-conditional. You can set or delete OPTIONS for all
dependencies before every build. config-conditional target is
used to skip configuring ports which have already been
configured. [11]
* Fix using of WANT_PGSQL_VER variable if postgresql is already
installed. [12]
PR: ports/75768 [1], ports/75728 [2], ports/76187 [3],
ports/76191 [4], ports/76182 [5], ports/75379 [6],
ports/75286 [7], ports/75727 [8], ports/76489 [9],
ports/73691 ports/69217 [10], ports/76254 [11],
ports/76988 [12]
Submitted by: dinoex [1], edwin [2] [5] [6] [8] [9] [10],
Marcus Grando <marcus@corp.grupos.com.br> [3],
tobez and Valentin Nechayev <netch@netch.kiev.ua> [4],
linimon [7], Florent Thoumie <flz@xbsd.org> [10],
Chris Dillon <cdillon@wolves.k12.mo.us> [11],
girgen [12]
2005-02-07 12:17:50 +01:00
|
|
|
.endfor
|
|
|
|
.undef V
|
|
|
|
|
2018-08-05 15:30:30 +02:00
|
|
|
# Now filter unsupported flags for CC and CXX.
|
|
|
|
CFLAGS:= ${CFLAGS:N-mretpoline}
|
|
|
|
CXXFLAGS:= ${CXXFLAGS:N-mretpoline}
|
|
|
|
|
2012-08-03 04:28:37 +02:00
|
|
|
.if defined(_GCC_PORT_DEPENDS)
|
2016-03-27 03:23:25 +02:00
|
|
|
BUILD_DEPENDS+= ${_GCC_PORT_DEPENDS}:lang/${_GCC_PORT}
|
|
|
|
RUN_DEPENDS+= ${_GCC_PORT_DEPENDS}:lang/${_GCC_PORT}
|
2011-02-01 02:41:19 +01:00
|
|
|
# Later GCC ports already depend on binutils; make sure whatever we
|
|
|
|
# build leverages this as well.
|
|
|
|
USE_BINUTILS= yes
|
* Change bento to pointyhat names in comments. [1]
* Document DISABLE_VULNERABILITIES variable. [2]
* Add WWW: line for 'search' target. [3]
* Speedup check-vulnerable invokation, if portaudit is installed. [4]
* Run install-info for all .info files. [5]
* Run add-plist-docs more strictly and prevent some situations with
leftover files in the future. [6]
* Introduce two new variables: MASTER_PORT and SLAVE_PORT.
The results from these variables is only used as information for
users. [7]
* Honour OPTIONS if PACKAGE_BUILDING or BATCH are defined. [8]
* Move all USE_GCC entries to new file - bsd.gcc.mk. 'test-gcc'
target allows users to check gcc version if USE_GCC is used. Give
maintainers opportunity to add '+' character to USE_GCC version
for using specified and higher versions. [9]
* Install startup scripts with the help of USE_RC_SUBR variable. [10]
* Add three new targets: config-recursive, rmconfig-recursive and
config-conditional. You can set or delete OPTIONS for all
dependencies before every build. config-conditional target is
used to skip configuring ports which have already been
configured. [11]
* Fix using of WANT_PGSQL_VER variable if postgresql is already
installed. [12]
PR: ports/75768 [1], ports/75728 [2], ports/76187 [3],
ports/76191 [4], ports/76182 [5], ports/75379 [6],
ports/75286 [7], ports/75727 [8], ports/76489 [9],
ports/73691 ports/69217 [10], ports/76254 [11],
ports/76988 [12]
Submitted by: dinoex [1], edwin [2] [5] [6] [8] [9] [10],
Marcus Grando <marcus@corp.grupos.com.br> [3],
tobez and Valentin Nechayev <netch@netch.kiev.ua> [4],
linimon [7], Florent Thoumie <flz@xbsd.org> [10],
Chris Dillon <cdillon@wolves.k12.mo.us> [11],
girgen [12]
2005-02-07 12:17:50 +01:00
|
|
|
.endif
|
2012-10-07 21:33:19 +02:00
|
|
|
.endif # defined(_USE_GCC) && !defined(FORCE_BASE_CC_FOR_TESTING)
|
2008-06-28 18:52:40 +02:00
|
|
|
|
|
|
|
|
* Change bento to pointyhat names in comments. [1]
* Document DISABLE_VULNERABILITIES variable. [2]
* Add WWW: line for 'search' target. [3]
* Speedup check-vulnerable invokation, if portaudit is installed. [4]
* Run install-info for all .info files. [5]
* Run add-plist-docs more strictly and prevent some situations with
leftover files in the future. [6]
* Introduce two new variables: MASTER_PORT and SLAVE_PORT.
The results from these variables is only used as information for
users. [7]
* Honour OPTIONS if PACKAGE_BUILDING or BATCH are defined. [8]
* Move all USE_GCC entries to new file - bsd.gcc.mk. 'test-gcc'
target allows users to check gcc version if USE_GCC is used. Give
maintainers opportunity to add '+' character to USE_GCC version
for using specified and higher versions. [9]
* Install startup scripts with the help of USE_RC_SUBR variable. [10]
* Add three new targets: config-recursive, rmconfig-recursive and
config-conditional. You can set or delete OPTIONS for all
dependencies before every build. config-conditional target is
used to skip configuring ports which have already been
configured. [11]
* Fix using of WANT_PGSQL_VER variable if postgresql is already
installed. [12]
PR: ports/75768 [1], ports/75728 [2], ports/76187 [3],
ports/76191 [4], ports/76182 [5], ports/75379 [6],
ports/75286 [7], ports/75727 [8], ports/76489 [9],
ports/73691 ports/69217 [10], ports/76254 [11],
ports/76988 [12]
Submitted by: dinoex [1], edwin [2] [5] [6] [8] [9] [10],
Marcus Grando <marcus@corp.grupos.com.br> [3],
tobez and Valentin Nechayev <netch@netch.kiev.ua> [4],
linimon [7], Florent Thoumie <flz@xbsd.org> [10],
Chris Dillon <cdillon@wolves.k12.mo.us> [11],
girgen [12]
2005-02-07 12:17:50 +01:00
|
|
|
test-gcc:
|
|
|
|
@echo USE_GCC=${USE_GCC}
|
2013-03-16 14:01:12 +01:00
|
|
|
.if defined(IGNORE)
|
|
|
|
@echo "IGNORE: ${IGNORE}"
|
|
|
|
.else
|
2008-06-28 18:52:40 +02:00
|
|
|
.if defined(USE_GCC)
|
* Change bento to pointyhat names in comments. [1]
* Document DISABLE_VULNERABILITIES variable. [2]
* Add WWW: line for 'search' target. [3]
* Speedup check-vulnerable invokation, if portaudit is installed. [4]
* Run install-info for all .info files. [5]
* Run add-plist-docs more strictly and prevent some situations with
leftover files in the future. [6]
* Introduce two new variables: MASTER_PORT and SLAVE_PORT.
The results from these variables is only used as information for
users. [7]
* Honour OPTIONS if PACKAGE_BUILDING or BATCH are defined. [8]
* Move all USE_GCC entries to new file - bsd.gcc.mk. 'test-gcc'
target allows users to check gcc version if USE_GCC is used. Give
maintainers opportunity to add '+' character to USE_GCC version
for using specified and higher versions. [9]
* Install startup scripts with the help of USE_RC_SUBR variable. [10]
* Add three new targets: config-recursive, rmconfig-recursive and
config-conditional. You can set or delete OPTIONS for all
dependencies before every build. config-conditional target is
used to skip configuring ports which have already been
configured. [11]
* Fix using of WANT_PGSQL_VER variable if postgresql is already
installed. [12]
PR: ports/75768 [1], ports/75728 [2], ports/76187 [3],
ports/76191 [4], ports/76182 [5], ports/75379 [6],
ports/75286 [7], ports/75727 [8], ports/76489 [9],
ports/73691 ports/69217 [10], ports/76254 [11],
ports/76988 [12]
Submitted by: dinoex [1], edwin [2] [5] [6] [8] [9] [10],
Marcus Grando <marcus@corp.grupos.com.br> [3],
tobez and Valentin Nechayev <netch@netch.kiev.ua> [4],
linimon [7], Florent Thoumie <flz@xbsd.org> [10],
Chris Dillon <cdillon@wolves.k12.mo.us> [11],
girgen [12]
2005-02-07 12:17:50 +01:00
|
|
|
.if defined(_GCC_ORLATER)
|
|
|
|
@echo Port can use later versions.
|
|
|
|
.else
|
|
|
|
@echo Port cannot use later versions.
|
|
|
|
.endif
|
|
|
|
.for v in ${GCCVERSIONS}
|
|
|
|
@echo -n "GCC version: ${_GCCVERSION_${v}_V} "
|
|
|
|
.if defined(_GCC_FOUND${v})
|
|
|
|
@echo -n "(${_GCC_FOUND${v}}) "
|
|
|
|
.endif
|
2015-04-22 23:29:21 +02:00
|
|
|
@echo "- OSVERSION up to ${_GCCVERSION_${v}_R}"
|
|
|
|
# @echo ${v} - ${_GCC_FOUND${v}} - up to ${_GCCVERSION_${v}_R} - ${_GCCVERSION_${v}_V}
|
* Change bento to pointyhat names in comments. [1]
* Document DISABLE_VULNERABILITIES variable. [2]
* Add WWW: line for 'search' target. [3]
* Speedup check-vulnerable invokation, if portaudit is installed. [4]
* Run install-info for all .info files. [5]
* Run add-plist-docs more strictly and prevent some situations with
leftover files in the future. [6]
* Introduce two new variables: MASTER_PORT and SLAVE_PORT.
The results from these variables is only used as information for
users. [7]
* Honour OPTIONS if PACKAGE_BUILDING or BATCH are defined. [8]
* Move all USE_GCC entries to new file - bsd.gcc.mk. 'test-gcc'
target allows users to check gcc version if USE_GCC is used. Give
maintainers opportunity to add '+' character to USE_GCC version
for using specified and higher versions. [9]
* Install startup scripts with the help of USE_RC_SUBR variable. [10]
* Add three new targets: config-recursive, rmconfig-recursive and
config-conditional. You can set or delete OPTIONS for all
dependencies before every build. config-conditional target is
used to skip configuring ports which have already been
configured. [11]
* Fix using of WANT_PGSQL_VER variable if postgresql is already
installed. [12]
PR: ports/75768 [1], ports/75728 [2], ports/76187 [3],
ports/76191 [4], ports/76182 [5], ports/75379 [6],
ports/75286 [7], ports/75727 [8], ports/76489 [9],
ports/73691 ports/69217 [10], ports/76254 [11],
ports/76988 [12]
Submitted by: dinoex [1], edwin [2] [5] [6] [8] [9] [10],
Marcus Grando <marcus@corp.grupos.com.br> [3],
tobez and Valentin Nechayev <netch@netch.kiev.ua> [4],
linimon [7], Florent Thoumie <flz@xbsd.org> [10],
Chris Dillon <cdillon@wolves.k12.mo.us> [11],
girgen [12]
2005-02-07 12:17:50 +01:00
|
|
|
.endfor
|
2006-09-30 21:25:46 +02:00
|
|
|
@echo Using GCC version ${_USE_GCC}
|
2008-06-28 18:52:40 +02:00
|
|
|
.endif
|
2018-08-05 14:14:28 +02:00
|
|
|
@echo CC=${CC} - CXX=${CXX} - CPP=${CPP}
|
|
|
|
@echo CFLAGS=\"${CFLAGS}\"
|
|
|
|
@echo CXXFLAGS=\"${CXXFLAGS}\"
|
2009-09-23 23:13:07 +02:00
|
|
|
@echo LDFLAGS=\"${LDFLAGS}\"
|
2010-01-02 13:05:30 +01:00
|
|
|
@echo "BUILD_DEPENDS=${BUILD_DEPENDS}"
|
|
|
|
@echo "RUN_DEPENDS=${RUN_DEPENDS}"
|
2013-03-16 14:01:12 +01:00
|
|
|
.endif
|