0438143249
For example (${OSVERSION} >= 900000 && ${OSVERSION} < 900021) is always true, as is (${OSVERSION} > 900002 || ${OSVERSION} < 900000 && ${OSVERSION} > 800107). Regarding patches, when an EXTRA_PATCHES is no longer needed, I remove it, when it is always needed, I renamed it, in one case, I merged two patches. Differential Revision: https://reviews.freebsd.org/D2209
24 lines
393 B
Makefile
24 lines
393 B
Makefile
# Figure out what to install
|
|
.if ${OPSYS} == FreeBSD
|
|
|
|
.if ${ARCH} == amd64
|
|
. if ${OSVERSION} >= 1000100
|
|
PLATFORM= freebsd100x86_64
|
|
. else
|
|
PLATFORM= freebsd70x86_64
|
|
. endif
|
|
|
|
.elif ${ARCH} == i386
|
|
. if ${OSVERSION} >= 1000100
|
|
PLATFORM= freebsd100x86
|
|
. else
|
|
PLATFORM= freebsd70x86
|
|
. endif
|
|
|
|
.else
|
|
IGNORE= unsupported OS release, sorry
|
|
.endif
|
|
|
|
.else
|
|
IGNORE= ${OPSYS} is unsupported, sorry
|
|
.endif
|