Slightly improve heuristics used to distinguish between pre and post kobj MFC

systems.
This commit is contained in:
Maxim Sobolev 2001-02-06 15:54:46 +00:00
parent 84c20fbee9
commit 64784f403f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=38040

View file

@ -33,7 +33,7 @@ VERSION_SOUND_C!= ${AWK} '/.*\$$FreeBSD/ { print $$4; exit; }' \
VERSION_SOUND_C=
.endif
VERSION_SOUND_C:= ${VERSION_SOUND_C:S/.//g}
VERSION_SOUND_C:= ${VERSION_SOUND_C:S/1.17.2.//}
.if ${OSVERSION} < 410000
BROKEN= "FreeBSD 3.*, 4.0 are not supported"
@ -47,7 +47,7 @@ PORTREVISION= 2
# FreeBSD 4.2
PORTVERSION= 1.3
.if ${VERSION_SOUND_C} < 11724
.if ${VERSION_SOUND_C} < 4
# FreeBSD 4.2 before kobj MFC
PORTREVISION= 1