From owner-svn-ports-head@FreeBSD.ORG Sat Jul 19 22:00:18 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7AE62D9A; Sat, 19 Jul 2014 22:00:18 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 65EB72286; Sat, 19 Jul 2014 22:00:18 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s6JM0H7J002283; Sat, 19 Jul 2014 22:00:17 GMT (envelope-from marino@svn.freebsd.org) Received: (from marino@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s6JM0H4S002282; Sat, 19 Jul 2014 22:00:17 GMT (envelope-from marino@svn.freebsd.org) Message-Id: <201407192200.s6JM0H4S002282@svn.freebsd.org> From: John Marino Date: Sat, 19 Jul 2014 22:00:17 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r362284 - head/biology/mummer X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Jul 2014 22:00:18 -0000 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