Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Jun 2014 14:14:01 +0000 (UTC)
From:      Martin Wilke <miwi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r359532 - head/biology/mummer
Message-ID:  <201406271414.s5REE11t005938@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: miwi
Date: Fri Jun 27 14:14:01 2014
New Revision: 359532
URL: http://svnweb.freebsd.org/changeset/ports/359532
QAT: https://qat.redports.org/buildarchive/r359532/

Log:
  Fix compilation on 10+ (clang)
  Fix format of WWW entry in pkg-descr
  
  PR:		190798

Modified:
  head/biology/mummer/Makefile
  head/biology/mummer/pkg-descr

Modified: head/biology/mummer/Makefile
==============================================================================
--- head/biology/mummer/Makefile	Fri Jun 27 14:12:23 2014	(r359531)
+++ head/biology/mummer/Makefile	Fri Jun 27 14:14:01 2014	(r359532)
@@ -3,6 +3,7 @@
 
 PORTNAME=	mummer
 PORTVERSION=	3.23
+PORTREVISION=	1
 CATEGORIES=	biology
 MASTER_SITES=	SF
 DISTNAME=	MUMmer${PORTVERSION}
@@ -10,7 +11,7 @@ DISTNAME=	MUMmer${PORTVERSION}
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Modular system for rapid whole genome alignment
 
-USES=		gmake
+USES=		gmake perl5
 
 PROGRAMS=	annotate combineMUMs delta-filter gaps \
 		mgaps mummer repeat-match show-aligns \
@@ -23,6 +24,13 @@ OPTIONS_DEFINE=	DOCS
 
 .include <bsd.port.options.mk>
 
+post-extract:
+	@${REINPLACE_CMD} -e 's,type perl,type ${LOCALBASE}/bin/perl,' ${WRKSRC}/scripts/Makefile
+.if (${OSVERSION} >= 1000024)
+	@${REINPLACE_CMD} -e 's,type gcc,type clang,' ${WRKSRC}/Makefile
+	@${REINPLACE_CMD} -e 's,type g++,type clang++,' ${WRKSRC}/Makefile
+.endif
+
 do-install:
 	${INSTALL_PROGRAM} ${PROGRAMS:S|^|${WRKSRC}/|} ${STAGEDIR}${PREFIX}/bin
 	${INSTALL_SCRIPT} ${SCRIPTS:S|^|${WRKSRC}/|} ${STAGEDIR}${PREFIX}/bin

Modified: head/biology/mummer/pkg-descr
==============================================================================
--- head/biology/mummer/pkg-descr	Fri Jun 27 14:12:23 2014	(r359531)
+++ head/biology/mummer/pkg-descr	Fri Jun 27 14:14:01 2014	(r359532)
@@ -3,4 +3,4 @@ or draft sequence. This package provides
 seed-and-extend alignment, SNP detection, repeat detection, and
 visualization tools.
 
-WWW:	http://mummer.sourceforge.net/
+WWW: http://mummer.sourceforge.net/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201406271414.s5REE11t005938>