forked from opnsense/ports
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Framework: partially sync with upstream
Taken from: HardenedBSD
- Loading branch information
Showing
3 changed files
with
9 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,7 +34,7 @@ GCC_Include_MAINTAINER= [email protected] | |
# All GCC versions supported by the ports framework. Keep them in | ||
# ascending order and in sync with the table below. | ||
# When updating this, keep Mk/bsd.default-versions.mk in sync. | ||
GCCVERSIONS= 4.8 7 8 9 | ||
GCCVERSIONS= 4.8 7 8 9 10 | ||
|
||
# No configurable parts below this. #################################### | ||
# | ||
|
@@ -89,7 +89,11 @@ _USE_GCC:= ${GCC_DEFAULT} | |
# A concrete version has been selected. Set proper ports dependencies, | ||
# CC, CXX, CPP, and flags. | ||
V:= ${_USE_GCC:S/.//} | ||
. if ${V} == 10 | ||
_GCC_PORT:= gcc${V}-devel | ||
. else | ||
_GCC_PORT:= gcc${V} | ||
. endif | ||
CC:= gcc${V} | ||
CXX:= g++${V} | ||
CPP:= cpp${V} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -803,7 +803,7 @@ FreeBSD_MAINTAINER= [email protected] | |
# MAKE_JOBS_NUMBER_LIMIT | ||
# - Set a limit for maximum number of make jobs allowed to be | ||
# used. | ||
## cacche | ||
## ccache | ||
# | ||
# WITH_CCACHE_BUILD | ||
# - Enable CCACHE support (devel/ccache). User settable. | ||
|
@@ -1541,9 +1541,9 @@ DEV_ERROR+= "FLAVORS contains flavors that are not all [a-z0-9_]: ${_BAD_FLAVOR | |
|
||
.if !empty(FLAVOR) | ||
. if empty(FLAVORS) | ||
IGNORE= FLAVOR is defined (to ${FLAVOR}) while this port does not have FLAVORS. | ||
IGNORE= FLAVOR is defined (to ${FLAVOR}) while this port does not have FLAVORS | ||
. elif ! ${FLAVORS:M${FLAVOR}} | ||
IGNORE= Unknown flavor '${FLAVOR}', possible flavors: ${FLAVORS}. | ||
IGNORE= Unknown flavor '${FLAVOR}', possible flavors: ${FLAVORS} | ||
. endif | ||
.endif | ||
|
||
|