aboutsummaryrefslogtreecommitdiffstats
path: root/biology
diff options
context:
space:
mode:
authormarino <marino@FreeBSD.org>2014-07-20 06:00:16 +0800
committermarino <marino@FreeBSD.org>2014-07-20 06:00:16 +0800
commit9fa8b161d9a7a42c7b43c809003d57f27870b89c (patch)
tree6d4ef8ca1f83e23cc834c9efcf7790056e7cc5f9 /biology
parent110ea7690529ba041b419f2ed37c0cd39c092d32 (diff)
downloadfreebsd-ports-gnome-9fa8b161d9a7a42c7b43c809003d57f27870b89c.tar.gz
freebsd-ports-gnome-9fa8b161d9a7a42c7b43c809003d57f27870b89c.tar.zst
freebsd-ports-gnome-9fa8b161d9a7a42c7b43c809003d57f27870b89c.zip
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.
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