summaryrefslogtreecommitdiff
path: root/biology
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2014-07-19 22:00:16 +0000
committerJohn Marino <marino@FreeBSD.org>2014-07-19 22:00:16 +0000
commit4fa40563881f8332a0b61d17cf3527ad91899aa1 (patch)
tree6d4ef8ca1f83e23cc834c9efcf7790056e7cc5f9 /biology
parentStage. (diff)
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.
Notes
Notes: svn path=/head/; revision=362284
Diffstat (limited to 'biology')
-rw-r--r--biology/mummer/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/biology/mummer/Makefile b/biology/mummer/Makefile
index 70005c36ee42..1df3fc503670 100644
--- a/biology/mummer/Makefile
+++ b/biology/mummer/Makefile
@@ -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