Date: Sat, 19 Jul 2014 22:00:17 +0000 (UTC) From: John Marino <marino@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r362284 - head/biology/mummer Message-ID: <201407192200.s6JM0H4S002282@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407192200.s6JM0H4S002282>