mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-15 03:14:23 +00:00
math/R: Fix usage of ${OSVERSION} without ${OPSYS}
There are several OSVERSION checks but everything is specific to FreeBSD so the entire block is wrapped with a single OPSYS check to minimize changes to the makefile. Approved by: OSVERSION/OPSYS blanket
This commit is contained in:
parent
7ccc596e3a
commit
380a75a521
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=419530
@ -163,6 +163,7 @@ PLIST_SUB= R_SOVERSION="${R_SOVERSION}" \
|
||||
.include "compiler.mk"
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${OPSYS} == FreeBSD
|
||||
.if ${OSVERSION} > 1000052 && \
|
||||
(${ARCH} == amd64 || ${ARCH} == i386 || ${ARCH} == ia64 || ${ARCH} == pc98 || \
|
||||
${ARCH} == sparc64)
|
||||
@ -222,6 +223,7 @@ pre-configure:
|
||||
compiler and architecture: please enable the MISSING option."; \
|
||||
fi
|
||||
.endif
|
||||
.endif # ${OPSYS} == FreeBSD
|
||||
|
||||
post-install:
|
||||
.for L in R Rblas Rlapack
|
||||
|
Loading…
Reference in New Issue
Block a user