mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
biology/mummer: Use OPSYS with OSVERSION
I don't think selecting clang as a function of OSVERSION is generally desired, but if it's going to happen, make sure FreeBSD-specific conditions are limited to FreeBSD by comparing OPSYS first.
This commit is contained in:
parent
868752b2d3
commit
4fa4056388
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=362284
@ -26,7 +26,7 @@ OPTIONS_DEFINE= DOCS
|
||||
|
||||
post-extract:
|
||||
@${REINPLACE_CMD} -e 's,type perl,type ${LOCALBASE}/bin/perl,' ${WRKSRC}/scripts/Makefile
|
||||
.if (${OSVERSION} >= 1000024)
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1000024
|
||||
@${REINPLACE_CMD} -e 's,type gcc,type clang,' ${WRKSRC}/Makefile
|
||||
@${REINPLACE_CMD} -e 's,type g++,type clang++,' ${WRKSRC}/Makefile
|
||||
.endif
|
||||
|
Loading…
Reference in New Issue
Block a user