Mk/Uses/alias.mk: Fix typo, remove "8" option
The "8" refers to FreeBSD 8.x which is no longer supported by the ports tree. It's never been used (to my knowledge) so just remove the option altogether.
This commit is contained in:
parent
12e5cb6b96
commit
afe48a5ce9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=420670
@ -1,12 +1,12 @@
|
||||
# $FreeBSD$
|
||||
#
|
||||
# Add __FreeSBD__ definition to CFLAGS
|
||||
# Add __FreeBSD__ definition to CFLAGS
|
||||
# Used by DPorts when masquerading as FreeBSD allows port to build without
|
||||
# additional patches
|
||||
#
|
||||
# Feature: alias
|
||||
# Usage: USES=alias or USES=alias:ARGS
|
||||
# Valid ARGS: 8, 9 (default), 10, 11
|
||||
# Valid ARGS: 9 (default), 10, 11
|
||||
#
|
||||
# MAINTAINER: marino@FreeBSD.org
|
||||
|
||||
@ -18,8 +18,7 @@ _INCLUDE_USES_ALIAS_MK= yes
|
||||
.if empty(alias_ARGS)
|
||||
CFLAGS+= -D__FreeBSD__=9
|
||||
.else
|
||||
. if ${alias_ARGS} == 8 || ${alias_ARGS} == 10 \
|
||||
|| ${alias_ARGS} == 9 || ${alias_ARGS} == 11
|
||||
. if ${alias_ARGS} == 9 || ${alias_ARGS} == 10 || ${alias_ARGS} == 11
|
||||
CFLAGS+= -D__FreeBSD__=${alias_ARGS}
|
||||
. else
|
||||
IGNORE= invalid MAJOR RELEASE argument (${alias_ARGS}) for USES=alias
|
||||
|
Loading…
Reference in New Issue
Block a user