Slightly improve heuristics used to distinguish between pre and post kobj MFC
systems.
This commit is contained in:
parent
84c20fbee9
commit
64784f403f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=38040
1 changed files with 2 additions and 2 deletions
|
@ -33,7 +33,7 @@ VERSION_SOUND_C!= ${AWK} '/.*\$$FreeBSD/ { print $$4; exit; }' \
|
||||||
VERSION_SOUND_C=
|
VERSION_SOUND_C=
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
VERSION_SOUND_C:= ${VERSION_SOUND_C:S/.//g}
|
VERSION_SOUND_C:= ${VERSION_SOUND_C:S/1.17.2.//}
|
||||||
|
|
||||||
.if ${OSVERSION} < 410000
|
.if ${OSVERSION} < 410000
|
||||||
BROKEN= "FreeBSD 3.*, 4.0 are not supported"
|
BROKEN= "FreeBSD 3.*, 4.0 are not supported"
|
||||||
|
@ -47,7 +47,7 @@ PORTREVISION= 2
|
||||||
# FreeBSD 4.2
|
# FreeBSD 4.2
|
||||||
PORTVERSION= 1.3
|
PORTVERSION= 1.3
|
||||||
|
|
||||||
.if ${VERSION_SOUND_C} < 11724
|
.if ${VERSION_SOUND_C} < 4
|
||||||
# FreeBSD 4.2 before kobj MFC
|
# FreeBSD 4.2 before kobj MFC
|
||||||
PORTREVISION= 1
|
PORTREVISION= 1
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue