svn commit: r362284 - head/biology/mummer
John Marino
marino at FreeBSD.org
Sat Jul 19 22:00:18 UTC 2014
Author: marino
Date: Sat Jul 19 22:00:16 2014
New Revision: 362284
URL: http://svnweb.freebsd.org/changeset/ports/362284
QAT: https://qat.redports.org/buildarchive/r362284/
Log:
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.
Modified:
head/biology/mummer/Makefile
Modified: head/biology/mummer/Makefile
==============================================================================
--- head/biology/mummer/Makefile Sat Jul 19 21:46:08 2014 (r362283)
+++ head/biology/mummer/Makefile Sat Jul 19 22:00:16 2014 (r362284)
@@ -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
More information about the svn-ports-all
mailing list